Closed seanthegeek closed 1 year ago
Hi @seanthegeek , can you run the following and provide the output?
sudo python3 -m pip -V
pip 22.0.4 from /usr/local/lib/python3.8/dist-packages/pip (python 3.8)
I noticed that setuptools.sls
specifies setuptools<66.0.0
, but my system was running 68.0.0. When I tried running sudo pip install setuptools<66.0.0
, I got some helpful output.
Collecting setuptools<66.0.0
Using cached setuptools-65.7.0-py3-none-any.whl (1.2 MB)
WARNING: Error parsing requirements for setuptools: [Errno 2] No such file or directory: '/usr/local/lib/python3.8/dist-packages/setuptools-68.0.0.dist-info/METADATA'
Installing collected packages: setuptools
Attempting uninstall: setuptools
WARNING: No metadata found in /usr/local/lib/python3.8/dist-packages
Found existing installation: setuptools 68.0.0
WARNING: No metadata found in /usr/local/lib/python3.8/dist-packages
WARNING: No metadata found in /usr/local/lib/python3.8/dist-packages
WARNING: No metadata found in /usr/local/lib/python3.8/dist-packages
WARNING: No metadata found in /usr/local/lib/python3.8/dist-packages
WARNING: No metadata found in /usr/local/lib/python3.8/dist-packages
ERROR: Cannot uninstall setuptools 68.0.0, RECORD file not found. You might be able to recover from this via: 'pip install --force-reinstall --no-deps setuptools==68.0.0'.
Running sudo pip install --upgrade --force-reinstall --no-deps setuptools<66.0.0
solved the problem. I'll submit a PR to use that fix.
Never mind. All I had to do was upgrade to the latest version of pip.
Hi @seanthegeek , sorry for the delay in getting back to you on this. I was out of town for the last few days, and have had terrible internet connectivity since I've returned. It seems you've already come to the same conclusion I have, but I haven't had the opportunity to test it properly (due to the aforementioned internet issues). I'll take a closer look at this and see if this needs to be "forcefully" fixed to ensure there are no issues between previous and existing issues.
Thanks for this, and sorry again for the delay!
@digitalsleuth I think the only thing that needs changed is rasing the minimum version of pip. the setuptools package is fine as-is with the latest version of pip.
Sounds reasonable. To avoid potential issues introduced with future versions of pip, I'll pin it to the current latest version, then test regularly and update over reasonable intervals. Cheers!
thug fails to install when attempting to upgrade from REMnux v2023.20.1 to v2023.26.1.