Skip to content

Seobytes – blog

SEO and web site performance optimization

  • SEO
  • Development
  • Web Design
  • php
  • Javascript
  • Apache server
  • Linux OS
  • Laravel
  • Joomla
    • Virtuemart
  • WordPress optimization
    • Performances
    • Theme customization
    • WordPress security
    • WordPress optimization
  • Woocommerce
  • security
  • Social Media
  • Linux OS
  • Python
  • Magento
  • Test automation
    • QA automation

Recent Posts

  • Install a python library in python virtual environment venv: Could not install packages due to an OSError: [WinError 2] The system cannot find the file specified
  • Script cannot be loaded because running scripts is disabled on this system. For moreinformation, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
  • tensorflow error: internal: libdevice not found at ./libdevice.10.bc Ubuntu – Solved
  • Google Cloud Vision Set Up on Windows. google module not found in virutalenv
  • JBL bluetooth earpods not found on Ubuntu 20.04. Install bluetooth driver on Linux

Recent Comments

    Archives

    • September 2023
    • March 2023
    • February 2023
    • August 2022
    • July 2022
    • June 2022
    • January 2022
    • December 2021
    • November 2021
    • October 2021
    • September 2021
    • August 2021
    • July 2021
    • June 2021
    • May 2021
    • April 2021
    • March 2021
    • February 2021
    • January 2021
    • December 2020
    • November 2020
    • October 2020
    • September 2020
    • August 2020
    • July 2020
    • June 2020
    • May 2020
    • February 2020
    • January 2020
    • December 2019
    • November 2019
    • October 2019
    • September 2019
    • August 2019
    • July 2019
    • June 2019
    • May 2019
    • March 2019
    • February 2019
    • January 2019
    • December 2018
    • November 2018
    • October 2018

    Categories

    • Apache server
    • Development
    • Joomla
    • Laravel
    • Linux OS
    • Magento
    • Performances
    • php
    • Python
    • security
    • SEO
    • Social Media
    • Test automation
    • Theme customization
    • Virtuemart
    • Web Design
    • Woocommerce
    • Wordpress
    • Wordpress optimization
    • Wordpress security

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org

    Tag: python

    python library installation OSError: [Errno 13]

    When intalling python library you may run into the following error:

    Error: Could not install packages due to an OSError: [Errno 13] Permission denied

    Solution: add –user at then end of your command

    Posted on June 20, 2022June 27, 2022Categories Linux OS, PythonTags python

    Python: directory and file management

    Create a directory

    import os
    dir = "Your/Path/"
    if not os.path.exists(dir):
        os.mkdir(dir)

    Move file to a directory

    import shutil 
    source ='./source'
    destination ='./destination'
    dest =shutil.move(source, destination)


    Posted on September 4, 2021June 27, 2022Categories PythonTags python
    Proudly powered by WordPress