threedle / text2mesh

3D mesh stylization driven by a text input in PyTorch
https://threedle.github.io/text2mesh/
MIT License
931 stars 131 forks source link

clip and kaolin have not been imported in the conda env #28

Open mattmaxXXX opened 2 years ago

mattmaxXXX commented 2 years ago

Hello,

I have no errors when I run conda env create --file text2mesh.yml and conda activate text2mesh commands.

But when I execute the ./demo/run_candle.sh file, I get this error : Traceback (most recent call last): File "C:\Users\matth\text2mesh\main.py", line 3, in <module> import kaolin.ops.mesh ModuleNotFoundError: No module named 'kaolin'

I have also the same error with the clip module.

I am supposed to be in the env with everything perfectly installed.

Please help me

roibaron commented 2 years ago

Hello @mattmaxXXX, We didn't test the environment on Windows OS. My hunch is that you are using the wrong Python interpreter when executing the demo. Make sure you are using the environment's executable.

mattmaxXXX commented 2 years ago

Hello @mattmaxXXX, We didn't test the environment on Windows OS. When running is that you are using the wrong Python interpreter when executing the demo. Make sure you are using the environment's executable.

I have the same problem with python 3.7 and I verified I was in the conda env

roibaron commented 2 years ago

Did you check which pip executable is used when yoy are in the environment? Also, please list the pip packages in the environment.

Doggerlas commented 2 years ago

Is it because this link is invalid?I open it with a browser and it shows a 404:https://github.com/openai/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e4823fc8e1