shap-e icon indicating copy to clipboard operation
shap-e copied to clipboard

Unable to find debugger and packages from conda environment (internal generated filenames are not absolute)

Open warry-byte opened this issue 2 years ago • 4 comments

Here are the steps I followed:

  • Create new conda environment with latest Python version: conda create -n python
  • Clone repo in shap-e folder
  • Activate environment
  • From the shap-e folder, execute pip install -e .
  • Launch an example prompt shape Python script from PyCharm (same as sample_text_to_3d.ipynb)

Result: ModuleNotFoundError: No module named 'yaml'

warry-byte avatar May 08 '23 09:05 warry-byte

@warry-byte you could probably try just running pip install yaml, then replace yaml with any other modules it complains about.

bolshoytoster avatar May 08 '23 09:05 bolshoytoster

I had this problem when using one of the jupyter notebooks and restarting the kernel fixed it. Restarting your computer could also help

michaelstrefeler avatar May 08 '23 12:05 michaelstrefeler

this may help: pip install pyyaml

scentof avatar May 09 '23 00:05 scentof

Indeed, that's what I ended up doing. Thanks for the tip, I didn't know how to install it through pip. Still unsure about why I should install yaml both at the pip level and at the Conda level though.

warry-byte avatar May 09 '23 13:05 warry-byte