tatsy/torchmcubes

Can't find python module

RickyYXY opened this issue · 6 comments

Thanks for this package, but after I installed it by pip install git+https://github.com/tatsy/torchmcubes.git, I still got ModuleNotFoundError: No module named 'torchmcubes', why is that???

tatsy commented

Hi @RickyYXY,

It seems strange, but it's possible that my preparation for Pip is inappropriate. Can you show me your environment, i.e., OS, graphics card, Python, PyTorch, CUDA, CUDNN versions, please?

Thanks for your reply!
My machine's environment is:
OS: Linux Ubuntu
Graphic Card: Nvidia Titan RTX
CUDA Ver: 10.2
CuDDN: 7605
Pytorch: 1.8.0
Python: 3.8

It is strange that my pip printed out that I have successfully installed the lib, but when I import it in the same python environment, it says can't find out the lib

tatsy commented

Are you sure that you use the same environment for Python and pip? I wonder if both of them are of the system or Anaconda?

It would be helpful if you share the result of "which python" and "which pip".

Same issue

Same issue here

tatsy commented

I've updated setup.py and a bit more. I think the problem should be fixed now.