-
Notifications
You must be signed in to change notification settings - Fork 320
[Errno 13] Permission denied How i solve this problem #236
Comments
You are trying to install the package to a system folder which you don't have permissions to write to.
2-Install the package to the user folder: 3-use sudo to install to the system folder (not recommended) |
@moham96 Thank you so much |
@boomza19193 You're welcome :) |
@moham96 thnku also worked in my case. |
@moham96 Thanks a lot! |
I am using Ubuntu The code i tried is: I am getting this error: |
Which version of Python are you using? |
Python 3.6.3 I don't know why it was showing the error then, but I tried once again now and used only- And it worked, |
commenting to save the probable solution |
While installing tensorflow with native pip in ubuntu 16.04 it shows me an error: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/lib/python3.5/dist-packages/gast' Anyone can help me solve this problem! |
try this: pip install --user tensorflow |
I am using python 2.7 version I tried using python2 -m install pandas. But I am getting error telling "command is not recognized as internal or external command" please help me on this |
use |
Thank you moham96 It also helped to solve my problem. |
perfect you save my day |
Obrigado Mohamed, só você resolveu meu problema! Mas agora o meu terminal está assim: (env) klann@klann-PC:~/Documents$ como retirar esse "env" ? |
Im trying to execute the DirichletForest topic modeling code in bash/Linux which has been published on GitHub http://pages.cs.wisc.edu/~andrzeje/research/df_lda.html While I'm executing the code in py2.7 Linux, I get this error : omar@DESKTOP-0CAAKGI:/mnt/c/Users/omar3/Desktop/sentiment-analysis/coding/arXivLDA/code/LDAlike/DF-LDA-0.1.1$ python setup.py install Any help!! |
That error is usually because of user permission stuff.Just use "pip install --user numpy". That should work. In case it doesn't then Try using "sudo" before the command. @omarjnb |
On Windows server. Open the command prompt by "Run as Administrator" and try again. |
I am trying to install face_recognition in jupyter terminal in Anaconda Navigator, using python 2.7
But when I run :
Then I checked the Face Recognition Installation Documentation: From there I got the command sts:~$ pip2 install face_recognition How to overcome this error? |
Thanks it works |
Could not install packages due to an EnvironmentError: [Errno 28] No space left on device: '/home/priyanka/.local/lib' answer this error? |
@PatelTixa15 you need to look at your storage size. There seems to be too many files, and there's no room left for what you're trying to install. |
okay |
There's probably some files on your system that you can move over, like in your home directory. You can use a terminal or a file explorer app. If you have further questions, please make a new issue. |
Thanks alot it worked for me as well @boomza19193 |
Thank You So Much |
Hello everyone need some help I have installed python 3.5 and want to install h5py package and I am getting an error :( Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/lib/python3.5/dist-packages/h5py' |
3rd option worked for me thanks your not recommended one... |
Thanks! it worked |
it works.. successfully.. thanks |
I am running python3.7 on a CENTOS VM. In order to install request library the below command worked for me |
That worked |
try using activate.fish at the end |
i am also getting the same error with python 3.8 |
Could be a path error as well |
Why is sudo option not recommended? |
moham96 - thank you savior |
Hi i need some help here. Doing machine learning but I am facing OSError. OSError: Unable to create file (unable to open file: name = 'cnnh5', errno = 13, error message = 'Permission denied', flags = 13, o_flags = 302) |
Go to the super user/root then install packages. |
i have a doubt that when i convert my .py to .exe file in virtual environment then where should we place our pytho file inside the virtual environment |
Who's a legend... you are! |
I know it has been 2 years, but is it possible for me to use the first option if I already have the venv activated? |
Hi i need some help here.Installing librosa package and getting this error. |
Number 1 worked for me. Thanks. |
thank you it works a lot |
ERROR: Can not perform a '--user' install. User site-packages are not visible in this virtualenv. |
it worked for me |
Error: [Errno 13] Permission denied: 'C:\UMS-API\myenv\Scripts\python.exe' generate this error how to resolve |
I try to install google assistant on raspberry PI 3 by this code
python -m pip install google-assistant-sdk[samples]
and then it is show
thank you.
The text was updated successfully, but these errors were encountered: