Why does numpy module fail in genpy?

65 Views Asked by At

I did all the downloads, I checked, but I couldn't figure out why geany gave an error. Works in Pycharm, no module errorDownloads GenpyPycharm

I installed numpy as a package from settings in pycharm. It was installed to python310 folder with pip install numpy but it didn't work in geany

1

There are 1 best solutions below

0
Meko On

Ok i found why it is giving error.hpauljAs he said, it is related to path.First run this: import sys print(sys.executable). I had this result: C:\Users\mertk\AppData\Local\Programs\Python\Python311\python.exe But when I say pip install numpy, it directs to C:\Users\mertk\AppData\Local\Programs\Python\Python310\lib/site-packages( 1.24.3)

so I install numpy to python311 with directly and I got new error when compile code again on geanyPython311NewError Previously it was giving module not found error, now it gives this error. After adding numpy to the Python 311 folder