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

ModuleNotFoundError: No module named 'torch' #113

Closed
Limbicnation opened this issue Oct 30, 2023 · 1 comment
Closed

ModuleNotFoundError: No module named 'torch' #113

Limbicnation opened this issue Oct 30, 2023 · 1 comment

Comments

@Limbicnation
Copy link

I have run the following:

  • `conda create --name shap-e python=3.10
  • conda activate shap-e
  • conda install pytorch torchvision torchaudio pytorch-cuda=11.8 pytorch3d jupyter git -c pytorch -c nvidia -c pytorch3d
  • git clone [https://github.com/openai/shap-e.git]
  • cd shap-e
  • pip install cchardet chardet pyyaml
  • pip install -e . `

nvcc--version:

nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2022 NVIDIA Corporation Built on Wed_Sep_21_10:33:58_PDT_2022 Cuda compilation tools, release 11.8, V11.8.89 Build cuda_11.8.r11.8/compiler.31833905_0

ModuleNotFoundError: No module named 'torch'

@Limbicnation
Copy link
Author

Executing pip install pytorch3d and restarting the Kernel solved the problem.

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

No branches or pull requests

1 participant