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
Thanks
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
Thanks
Share Improve this question edited Feb 14 at 22:15 Charles Duffy 296k43 gold badges433 silver badges486 bronze badges asked Feb 14 at 16:41 PolarProPolarPro 12 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 and was then 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