Debug error Could not install packages due to an EnvironmentError: [Errno 13]
Posted by: admin 3 years, 3 months ago
(Comments)
Debug error Could not install packages due to an EnvironmentError: [Errno 13]
Problem statement
In my MacOS BiGSUR terminal I wanted to install a python package with pip. At the end it says:
You are using pip version 10.0.1, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
So I wanted to update pip with the given command but I got an error:
Could not install packages due to an EnvironmentError: [Errno 13] Permission denied:
'/Library/Python/2.7/site-packages/pip-18.0-py2.7.egg/EGG-INFO/PKG-INFO'
Consider using the `--user` option or check the permissions.
I don't really understand what to do now. Also I realized it says Python 2.7 in the error message but I have and want to use only python 3.
If you want to use python3+ to install the packages you need to use pip3 install package_name
And to solve the errno 13 you have to add --user
at the end
pip3 install package_name --user
- Tags:
- debuging
2 weeks, 2 days ago
What does the Fed do in 2008
Recent newsToday, one of the popular topic related to financial policy is the question on
read more2 weeks, 2 days ago
What is Lifetime Value of customer
Recent newsHave you ever heard about LTV? well if you talk about Macroprudential policy, it will be loan to value. But if you talk about startups and the world of tech, it refers to the Lifetime value of a company.
read more1 month, 1 week ago
Mengenal lebih dalam kurikulum merdeka
Recent newsAkhirnya Indonesia menerapkan kurikulum merdeka, namun sebenarnya apa sih itu kurikulum merdeka?
read more1 month, 2 weeks ago
How to understand the impact of interactive variable from interaction model to depended variable
Recent newsI tried from my own research. And here it is
read more2 months ago
Thing you should do, to not clutter the social media
Recent newsThere 7 things that really move the needle when it comes to social media. They aren’t always easy, but they really do produce results.
read more2 months ago
Elektabilitas cawapres 2024, Erick Thohir paling atas
Recent newsJelang Pilpres 2024, sejumlah nama telah teridentifikasi dan mendapat dukungan publik. Tiga teratas capres sejauh ini adalah Anies Baswedan, Ganjar Pranowo, dan Prabowo Subianto. Ketiganya memang telah mengantongi dukungan dari beberapa partai politik. Namun, dukungan pada ketiganya tampak masih belum ajeg. Hal ini menunjukkan bahwa preferensi publik juga belum ajeg, masih rentan terhadap perkembangan situasi politik maupun kondisi lain.
read more7 months, 2 weeks ago
Collaboratively administrate empowered markets via plug-and-play networks. Dynamically procrastinate B2C users after installed base benefits. Dramatically visualize customer directed convergence without
Comments