-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to build from source - cannot import name 'packaging' from 'pkg_resources'
#1834
Comments
Can you update setuptools in the environment? |
I have the exact same issue...I have upgraded and downgraded setup tools, package manager, cuda, etc etc....
|
@Fanie-Visagie I reduced your sample to the main output. I think we can't help - this looks like a general question of versions of python, setuptools and pytorch. It looks like you are on Windows, which may distinguish it from OP. |
Hello I have the same problem trying to build a docker image to run https://github.com/NVlabs/BundleSDF.git. The docker image is this one: dockerfile.
|
@misrolox BTW, you will need to have fvcore and iopath installed before the pip install will work, but that isn't the actual problem here. I don't know how to solve your error. Can you try with newer versions of python and pytorch? |
Thank you for your answer. My problem was fixed by adding the line |
If you do not know the root cause of the problem / bug, and wish someone to help you, please
post according to this template:
🐛 Bugs / Unexpected behaviors
I am on Linux, and I am unable to build the pytorch3d code from source.
Instructions To Reproduce the Issue:
Please include the following (depending on what the issue is):
Any changes you made (
git diff
) or code you wroteI did not modify the code.
The exact command(s) you ran:
The problem seems to happen when I use that older version of pytorch.
When I install pytorch with
conda install pytorch::pytorch torchvision torchaudio -c pytorch
, then pytorch3d builds fine. But, I am using this old PyTorch because I am trying to setup https://github.com/LIU-Yuxin/SyncMVD, which uses this old PyTorch.The text was updated successfully, but these errors were encountered: