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
Some minor installation errors #5
Comments
Hi, Where should I add |
You probably need to uninstall torch first and try again
Add it as an argument passed to each of the extension modules. For example, the mc_cubes extension has it already so copy it to the rest of the extensions in the same way |
Thanks. It worked after uninstalling and installing again |
I encountered the same problem and solved by running this; So you don't need to reinstall pytorch. |
Thanks for sharing your code, the paper is really interesting. I hope to use it for future work and cite it!
I'm mostly posting this for visibility due to some issues that had occurred during setup and how I fixed them in my case:
On Ubuntu 20.04 with Anaconda 4.10.1,
during
python setup.py build_ext --inplace
we get the following ouput:For some reason pytorch doesn't install correctly so this can be solved with
pip install torch==1.0.0
.And in setup.py
include_dirs=[numpy_include_dir]
needs to be added to each extension that requires numpy as it doesn't seem to find it otherwise.The text was updated successfully, but these errors were encountered: