Getting error during installation - Numpy is not available
Discussed in https://github.com/stitionai/devika/discussions/622
Originally posted by LeonMatch July 6, 2024 Hello, I am following all the instructions closely, however, when I run: python devika.py I get an error: RuntimeError: Numpy is not available I verified that numpy is installed and even re-installed it, but I'm still getting this error.
What can be wrong?
i get this error as well
this solution worked for me with a uv pip install --force-reinstall -v "numpy==1.25.2"
this solution worked for me with a uv pip install --force-reinstall -v "numpy==1.25.2"
i tried your way but nothing happened
same problem
even if i reinstall numpy using:
uv pip install --force-reinstall -v "numpy==1.25.2"
and i already tried:
pip install setuptools
pip install --upgrade setuptools
i still have another problem :
ModuleNotFoundError: No module named 'distutils'
Just do
pip install numpy<2
this will downgrade the numpy version to the version that is needed for Devika, though remember to upgrade for further use!
pip show numpy pip install numpy
uv pip install --force-reinstall -v "numpy==1.25.2" works, thanks!
same problem even if i reinstall numpy using:
uv pip install --force-reinstall -v "numpy==1.25.2"and i already tried:pip install setuptoolspip install --upgrade setuptoolsi still have another problem : ModuleNotFoundError: No module named 'distutils'
uv pip install --force-reinstall -v "numpy==1.26" fixes it, try it