Closed neylsoncrepalde closed 3 years ago
Hello. Try to update your numpy package before install sysidentpy.
pip install -U numpy
Hi @renard162 . Tried but numpy 1.19.4 is not working in windows. After I updated I could not install sysidentpy and also could not import numpy. After updating I run
import numpy
and I get
** On entry to DGEBAL parameter number 3 had an illegal value
** On entry to DGEHRD parameter number 2 had an illegal value
** On entry to DORGHR DORGQR parameter number 2 had an illegal value
** On entry to DHSEQR parameter number 4 had an illegal value
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\Neylson - A3Data\testepython\novoenv\lib\site-packages\numpy\__init__.py", line 305, in <module>
_win_os_check()
File "C:\Users\Neylson - A3Data\testepython\novoenv\lib\site-packages\numpy\__init__.py", line 302, in _win_os_check
raise RuntimeError(msg.format(__file__)) from None
RuntimeError: The current Numpy installation ('C:\\Users\\Neylson - A3Data\\testepython\\novoenv\\lib\\site-packages\\numpy\\__init__.py') fails to pass a sanity check due to a bug in the windows runtime. See this issue for more information: https://tinyurl.com/y3dm3h86
If I run
pip install sysidentpy
I get the exact same error described in my previous comment.
Thanks in advance.
Hi @neylsoncrepalde ! There are some issues with numpy 1.19.4 when using python 3.9. The error you got is a numpy issue. Could you check what is your python version again just to make sure? I don't know if numpy 1.19.4 is having issues with python 3.8.
Besides, matplotlib do not have wheels for python 3.9 yet, so you will have a problem when you try to install sysidentpy in python 3.9 env because the two packages we are depending on are having issues with python 3.9.
I suggest you to install python 3.8 and numpy 1.19.3 for now (everything is working using those versions).
Let me know if this workaround solves your problem.
Hi @neylsoncrepalde. I checked here with numpy 1.19.3 and python 3.8 and everything is ok, As I said, numpy 1.19.4 is causing the issue you described. Refer to the link below for more details:
https://github.com/numpy/numpy/issues/17726
I'm closing this issue for now, but if the suggested steps do not work for you, just let us know.
Hello. I am not able to install the package right now.
Steps/code to reproduce: On the terminal, I am running
and I get
I am using Python 3.8 in a Windows 10 OS.