Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 14197  / 3 Years ago, mon, august 30, 2021, 12:41:11

A simple problem. When I install or upgrade packages with pip, I get a very weird error. Input:


pip3 install numpy

output:


Defaulting to user installation because normal site-packages is not writeable
WARNING: Ignoring invalid distribution -etuptools (/home/max/.local/lib/python3.8/site-packages)
WARNING: Ignoring invalid distribution -etuptools (/home/max/.local/lib/python3.8/site-packages)
Requirement already satisfied: numpy in /home/max/.local/lib/python3.8/site-packages (1.20.2)
WARNING: Ignoring invalid distribution -etuptools (/home/max/.local/lib/python3.8/site-packages)
WARNING: Ignoring invalid distribution -etuptools (/home/max/.local/lib/python3.8/site-packages)
WARNING: Ignoring invalid distribution -etuptools (/home/max/.local/lib/python3.8/site-packages)

Any ideas what happened?


OS: Ubuntu 20.04


Python: 3.8.5


setupools: 56.0.0


More From » python

 Answers
3

Go to your site-packages folder (in your case: /home/max/.local/lib/python3.8/site-packages) and delete folders with "~".


You will find there
~etuptools


Answer was found here.


Explanation what are those folders here.


[#1612] Tuesday, August 31, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
antoccasiona

Total Points: 430
Total Questions: 127
Total Answers: 131

Location: Netherlands
Member since Sat, Jun 26, 2021
3 Years ago
antoccasiona questions
Sat, Oct 23, 21, 22:34, 3 Years ago
Sat, Sep 24, 22, 09:39, 2 Years ago
Sun, Jan 15, 23, 11:08, 1 Year ago
;