已解决onnxruntime 1.13.1 requires numpy>=1.21.6, but you have numpy 1.19.5 which is incompatible.

已解决ERROR: pip’s dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
onnxruntime 1.13.1 requires numpy>=1.21.6, but you have numpy 1.19.5 which is incompatible.









Error report



A small friend in the fan group wanted to use pip to install a third-party module, but an error occurred (at that time, his heart was cold for a moment, and he came to me for help, and then successfully helped him solve it. By the way, I hope it can help more Many friends who encounter this bug will not solve it)


The screenshot of the error message is as follows :

insert image description here





error message



The translation of the error message is as follows :

Error: pip's dependency resolver does not currently consider all packages installed. This behavior is the source of the following dependency conflicts.
Onnx runtime 1.13.1 requires numpy >= 1.12.6, but your numpy 1.19.5 is not compatible.




Error reason



Reason for error :

The installed third-party modules depend on the numpy module, but numpy1 is not compatible.Friends, install the following code to install the specified version! ! !




Solution



Execute the following pip command to install numpy==1.12.6:

pip install numpy==1.12.6

The above is the solution to the cause of the error report of this problem. Welcome to leave a message in the comment area to discuss whether it can be solved. The blogger will give a reply and the solution to the error report problem you encountered after seeing it! ! !

help out

This article has been included in: "Farewell Bug Column" , welcome to subscribe for free! ! !

This column is used to record various difficult programming bugs encountered in study and work, as well as various questions raised by friends in the fan group. The format of the article: error code + error translation + error reason + solution, including program installation, For the problems encountered in the process of running the program, the blogger's wish: let the world have no difficult programming, and say goodbye to bugs! ! !

After subscribing to the column + following the blogger, scan the QR code below to enter the full-stack learning and mutual assistance exchange group to help solve problems, and you can receive 300 IT e-books, learning materials, resume templates, interview question banks for free, and communicate and learn with your friends , Hold together to keep warm, and make progress together! ! !

Data Acquisition | Technical Exchange | Group Learning | Consultation and Sharing Please click on the business card below and scan the QR code

insert image description here

おすすめ

転載: blog.csdn.net/yuan2019035055/article/details/128733329