python package has been installed wrapt it prompts error ModuleNotFoundError: No module named 'wrapt'

When you run the model in data_structures.py tensorflow being given that import wrapt in failure

At the command line does not import row

Use pip list to view the currently installed package, it had installed wrapt

I first commented try the import directly ..... third_party import wrapt with except in from

报错ValueError: attempted relative import beyond top-level package

 

Helpless unloading heavy equipment

Uninstall

installation

The original version of other packages is wrong

ERROR prompt upgrade to the required version of the package

pip install lazy-object-proxy==1.4.0 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

Successful operation

 

 

 

 

 

 

 

Published 19 original articles · won praise 2 · Views 5765

Guess you like

Origin blog.csdn.net/dongmie1999/article/details/104116422