admin管理员组文章数量:1414937
I'm trying to install the Darts package in python, but it fails because I get:
ModuleNotFoundError: No module named 'numpy'
I have numpy installed however.
I've also tried uninstalling and reinstalling (in both pip and package manager) but with no luck.
I'm using python 3.13.1 in pycharm
I'm trying to install the Darts package in python, but it fails because I get:
ModuleNotFoundError: No module named 'numpy'
I have numpy installed however.
I've also tried uninstalling and reinstalling (in both pip and package manager) but with no luck.
I'm using python 3.13.1 in pycharm
Share Improve this question edited Mar 10 at 15:09 desertnaut 60.5k32 gold badges155 silver badges182 bronze badges asked Feb 14 at 16:41 PolarProPolarPro 13 bronze badges 4 |2 Answers
Reset to default 0It is because you don't have good package management system in your repo.
I suggest using poetry in your repository. It will be easier to use then creating multiple python virtual env yourself and you will be able to manage packages, their dependencies.
So don't delete any code, just implement poetry into your repository and define needed packages in pyproject.yml
I installed anaconda, then in pycharm selected anaconda as my interpreter. After doing that, I was able to install Darts with no issue.
本文标签: pythonNo module named 39numpy39 while isntalling DartsStack Overflow
版权声明:本文标题:python - No module named 'numpy' while isntalling Darts - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745193124a2647009.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
pip show numpy
, and the output of this codeimport sys; print(sys.path)
– John Gordon Commented Feb 14 at 16:44