shap-e icon indicating copy to clipboard operation
shap-e copied to clipboard

Problem with PIP installation

Open Python-Sargent opened this issue 2 years ago • 6 comments

I'm having a problem with the pip installation suggested, this is the error:

`Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [6 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "/home/samuel/shap-e/setup.py", line 1, in from setuptools import setup ImportError: cannot import name 'setup' from 'setuptools' (unknown location) [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details. `

I believe this may be a problem with my setup, but am not sure.

Python-Sargent avatar May 09 '23 17:05 Python-Sargent

Do you have the setuptools package installed? If not, try pip install setuptools.

Kabanosk avatar May 09 '23 17:05 Kabanosk

Ok, thanks

On Tue, May 9, 2023 at 12:34 PM Wojciech Fiołka @.***> wrote:

Do you have the setuptools package installed? If not, try pip install setuptools.

— Reply to this email directly, view it on GitHub https://github.com/openai/shap-e/issues/46#issuecomment-1540588992, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVPQZHVDIG2Y2ZR5MOGFUK3XFJ52RANCNFSM6AAAAAAX3TOXP4 . You are receiving this because you authored the thread.Message ID: @.***>

Python-Sargent avatar May 09 '23 17:05 Python-Sargent

I installed using Pacman, and then tried using PIP to install:

Defaulting to user installation because normal site-packages is not writeable Requirement already satisfied: setuptools in /home/samuel/.local/lib/python3.10/site-packages (65.7.0) ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/home/samuel/.local/lib/python3.10/site-packages/setuptools-65.7.0.dist-info/METADATA'

Python-Sargent avatar May 09 '23 17:05 Python-Sargent

Maybe try python -m pip install setuptools or python3 -m pip install setuptools instead of pip install setuptools

Kabanosk avatar May 09 '23 18:05 Kabanosk

I'm having a problem with the pip installation suggested, this is the error:

error: subprocess-exited-with-error

× git clone --filter=blob:none --quiet https://github.com/openai/CLIP.git 'C:\Users\lulus\AppData\Local\Temp\pip-install-b9tu2zt8\clip_4957fd2496f34a3186e3579b03210aa7' did not run successfully. │ exit code: 128 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× git clone --filter=blob:none --quiet https://github.com/openai/CLIP.git 'C:\Users\lulus\AppData\Local\Temp\pip-install-b9tu2zt8\clip_4957fd2496f34a3186e3579b03210aa7' did not run successfully. │ exit code: 128 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

yeblu avatar May 10 '23 02:05 yeblu

pip install -U setuptools pip install -e . Try this once

jayanthd26 avatar May 11 '23 07:05 jayanthd26