a1600012888 / PhysDreamer

Code for PhysDreamer
501 stars 25 forks source link

environment erroe #7

Open liangzelong opened 6 months ago

liangzelong commented 6 months ago

Hi, thank you for this excellent work! However, I come up with environment error.

Firstly, I notice many repeat pkgs in requirements.txt, which confuses my environment.

ipython==8.12.3 ipython==8.18.1 Pillow==9.5.0 Pillow==10.3.0

Secondly, although I python setup.py install the project, module error appears "ModuleNotFoundError: No module named 'physdreamer'". I tested in python 3.10.0/3.8.19, Pip list says:

parso 0.8.4 pexpect 4.9.0 physdreamer 0.0.1 pillow 10.3.0 pip 24.0 platformdirs 4.2.1 plotly 5.22.0

But "ModuleNotFoundError: No module named 'physdreamer'". What else should I do?

a1600012888 commented 6 months ago

Seems that your python interepreter cannot find the folder of physdreamer. A workaround is to add the path to folder physdreamer into your PYTHONPATH

Like export PYTHONPATH="/path-to-physdreamer/:$PYTHOPATH"

You can run this command before you run python code, or but this line to ~/.bashrc

Thanks

liangzelong commented 6 months ago

Thank you very much. Succeed!