Solve the problem that the pip installation of the opendr package is stuck after the download is complete

 

Using the source of Douban (it has been confirmed that there is an opendr package in this source), and pip installs opendr, the result is stuck at the location where the download is completed, and there is no prompt. (As shown below)

 

Since the installation package has been downloaded and cannot be installed, there should be something wrong with the installation code, but the error message is not printed.

So go to the official website to download the code of the pip installation package

Unzip it and see this in the installation package.

Execute the setup.py file directly, and finally find an error message:

It turned out that an undownloadable package was automatically downloaded during the execution of the installation package, resulting in an error.

So download OSMesa.Linux.x86_64.zip manually, and put it in the contexts folder according to the meaning in setup.py.

Re-execute, the original error is gone, but there is a new error, prompting to enter command options

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325219911&siteId=291194637