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.
pip show numpy
, and the output of this codeimport sys; print(sys.path)
– John Gordon Commented Feb 14 at 16:44