Hello Guys, How are you all? Hope You all Are Fine. Today I am trying to install numpy but I am facing following error Environment error :[error 13]: permission denied : ‘usr/local/bin/f2py’ in Python. So Here I am Explain to you all the possible solutions here.
Without wasting your time, Let’s start This Article to Solve This Error.
How Environment error :[error 13]: permission denied : ‘usr/local/bin/f2py’ Error Occurs ?
I am trying to install numpy but I am facing following error.
Environment error :[error 13]: permission denied : 'usr/local/bin/f2py
How To Solve Environment error :[error 13]: permission denied : ‘usr/local/bin/f2py’ Error ?
How To Solve Environment error :[error 13]: permission denied : ‘usr/local/bin/f2py’ Error ?
To Solve Environment error :[error 13]: permission denied : ‘usr/local/bin/f2py’ Error You just need to use –user flag just like this. For Python3 Use this command: pip3 install –user package-name # for Python3 Use This command for Python 2: pip install –user package-name # for Python2 Second Solution is To use numpy Just use this command: python -m pip install numpy And whenever you install new package just write: python -m pip install <package_name>. Now your error must be solved.
Environment error :[error 13]: permission denied : ‘usr/local/bin/f2py’
To Solve Environment error :[error 13]: permission denied : ‘usr/local/bin/f2py’ Error You just need to use –user flag just like this. For Python3 Use this command: pip3 install –user package-name # for Python3 Use This command for Python 2: pip install –user package-name # for Python2 Second Solution is To use numpy Just use this command: python -m pip install numpy And whenever you install new package just write: python -m pip install <package_name>. Now your error must be solved.
Solution 1: Use --user
flag
You just need to use –user flag just like this. For Python3 Use this command.
pip3 install --user package-name # for Python3
Use This command for Python 2.
pip install --user package-name # for Python2
Solution 2: Use this command
To use numpy Just use this command.
python -m pip install numpy
And whenever you install new package just write.
python -m pip install <package_name>
Now your error must be solved.
Solution 3: upgrade pip
First of all just upgrade pip and then try to install package.
python -m pip install --upgrade pip
Summary
It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?
Also, Read