BachiLi / diffvg

Differentiable Vector Graphics Rasterization
https://people.csail.mit.edu/tzumao/diffvg/
Apache License 2.0
933 stars 156 forks source link

error after using the command 'poetry install' and 'poetry run python setup.py install' to install all python dependencies. #53

Open bwtine opened 1 year ago

bwtine commented 1 year ago

This is such an amazing project,But I got an error after using the command 'poetry install' and 'poetry run python setup.py install' to install all python dependencies.

It is 'Current Python version (3.7.13) is not allowed by the project (=3.8). Please change python executable via the "env use" command.'

But READEDME.md required ' Install using poetry prerequisite install python 3.7, poetry and ffmpeg' Should I modify the current python version 3.7.13 to 3.8? Will this affect the project? Supplementary Note:I have successfully installed Poetry (version 1.2.0) and other prerequisite .My CUDA version is 11.1,python 3.7.13,ubantu 18.04. I hope to get your reply, thanks!!!

bwtine commented 1 year ago

I have tried changing the current python version 3.7.13 to 3.8. Then I got another error after using the command 'poetry install' and 'poetry run python setup.py install' to install all python dependencies.

Could not find platform independent libraries Could not find platform dependent libraries Consider setting $PYTHONHOME to [:] Fatal Python error: initfsencoding: Unable to get the locale encoding ModuleNotFoundError: No module named 'encodings'

Current thread 0x00007f16b7c61240 (most recent call first): 已放弃 (核心已转储) I hope to get your reply, thanks!!!