PERMISSION DENIDED ERRNO 13 - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: PERMISSION DENIDED ERRNO 13 (/thread-15442.html) |
PERMISSION DENIDED ERRNO 13 - ambush - Jan-17-2019 HI I am trying to install flake8 on virtualenv but i was unable to do so due to following error Exception: I need to know what are Probable solutions for the problem.Please let me know
RE: PERMISSION DENIDED ERRNO 13 - metulburr - Jan-18-2019 sudo the command if it is the previous command sudo !! RE: PERMISSION DENIDED ERRNO 13 - snippsat - Jan-18-2019 Should not need to use sudo as virtual environment should be user based.(Jan-17-2019, 05:56 PM)ambush Wrote: I am trying to install flake8 on virtualenvHow are you creating the virtual environment,is calculator your environment folder do you see see (calculator) ?Now also virtual environment is build into python trough venv. Example: tom@tom:~$ python -m venv my_env tom@tom:~$ cd my_env tom@tom:~/my_env$ source bin/activate # Active see (my_env) (my_env) tom@tom:~/my_env$ pip install flake8 Collecting flake8 Installing collected packages: pyflakes, mccabe, pycodestyle, flake8 Successfully installed flake8-3.6.0 mccabe-0.6.1 pycodestyle-2.4.0 pyflakes-2.0.0 (my_env) tom@tom:~/my_env$ python Python 3.7.2 (default, Jan 16 2019, 23:14:35) [GCC 7.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import flake8 >>> flake8.__version__ '3.6.0' >>> exit() |