Skip to content
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

_C.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN3c104impl23ExcludeDispatchKeyGuardC1ENS_11DispatchKeyE #476

Closed
sunbin1357 opened this issue Dec 6, 2020 · 2 comments
Assignees
Labels
installation Installation questions or issues

Comments

@sunbin1357
Copy link

sunbin1357 commented Dec 6, 2020

1、python3 -m pip install pytorch3d
image
2、 python3 smal_fitter/optimize_to_joints.py
image
/opt/conda/lib/python3.6/site-packages/pytorch3d/_C.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN3c104impl23ExcludeDispatchKeyGuardC1ENS_11DispatchKeyE

How to solve this problem?

my python is 3.6.

image

from the image we can see that "import pytorch3d" is ok.

@gkioxari gkioxari added the installation Installation questions or issues label Dec 6, 2020
@bottler
Copy link
Contributor

bottler commented Dec 6, 2020

The prebuilt wheels on PyPI for pytorch3d are only for a particular version of pytorch, specifically pytorch 1.6.0 at the moment. I suspect you have a different version of pytorch - maybe the latest, 1.7.0. Getting this wrong is likely to produce and error like the one you see. Additionally, if you want pytorch3d to work with your GPU, you also have to have the right cuda version. The details are given here. If you can use conda to install everything then there is full flexibility on these versions and it is automatic to get everything right. Alternatively building pytorch3d from source also gives you full flexibility.

If you want more advice on what is wrong here, please paste the output of pip list.

@nikhilaravi
Copy link
Contributor

@sunbin1357 were you able to resolve this issue using the suggestions from @bottler? If you don't have any further questions please close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation Installation questions or issues
Projects
None yet
Development

No branches or pull requests

4 participants