AttributeError: module 'numpy.linalg._umath_linalg' has no attribute '_ilp64'
zhongwenkun886 opened this issue · comments
numpy version 1.26.0 works for me
But I can not change the numpy version in colab. Is there any idea about change it. I have reinstall the numpy and other command to upagrade, but the numpy version is still 1.23
But I can not change the numpy version in colab. Is there any idea about change it. I have reinstall the numpy and other command to upagrade, but the numpy version is still 1.23
You can restart runtime, then run:
!pip install numpy==1.26.0
line before installing any of the required packages then, install the packages.
It worked for me.
Restarting runtime and running everything again worked for me.
not able to run OWL_ViT_minimal_example notebook on T4 GPU. Any idea how to fix it? I've tried restarting, and also installing 1.26.0 numpy version, but it didn't work.
EDIT: had to restart the runtime after first installing the packages, and then just run remaining cells.
The first cell automatically uninstalls NumPy 1.25.2 and installs NumPy 1.26.4, so you don't need to install numpy again. When I run first two cells, it does throw the error - AttributeError: module 'numpy.linalg._umath_linalg' has no attribute '_ilp64'. After getting error, do Runtime > Restart session and run all. It should be working.
The first cell automatically uninstalls NumPy 1.25.2 and installs NumPy 1.26.4, so you don't need to install numpy again. When I run first two cells, it does throw the error - AttributeError: module 'numpy.linalg._umath_linalg' has no attribute '_ilp64'. After getting error, do Runtime > Restart session and run all. It should be working.
I tried this, it worked.