When using PIP for an installation operation, you run into this problem:
was later found to be caused by a change in the function in the library that updated PIP to 10.0.0.
solution:
sudo gedit /usr/bin/pip
Will the original:
from pip import main
if __name__ == '__main__':
sys.exit(main())
To:
from pip import __main__
if __name__ == '__main__':
sys.exit(__main__._main())
With respect to OK
Read More:
- Import error, failed to import the debug version of PYD
- sqoop-import ERROR tool.ImportTool: Import failed: No primary key could be found for table user_info
- import Error:Missing optional dependency ‘openpyxl‘. Use pip or conda to install openpyxl
- Solution of OpenCV library import error in Python 3
- Android studio auto import auto import
- Error report and solution of import panda in Windows 10
- Solution: ‘import’ and ‘export’ may appear only with ‘sourcetype: module’
- Imresize import error: cannot import name ‘imresize’
- “Could not import PIL.Image . The use of array_ to_ The solution of img requires PIL. “
- An import error is reported in the python. The solution to setting. Pylintrc is invalid
- Golang MySQL error SQL: unknown driver “MySQL” (Forgotten import?) solution
- Import any QT binding error during installation of evo
- Import sys module
- On the problem of from PIL import image
- From in Python__ future__ The role of import *
- Tensorflow import error: DLL load failed: the specified module could not be found
- ImportError: cannot import name ‘cross_validation’ from ‘sklearn’
- How to import Python from relative path
- ImportError: cannot import name ‘to_categorical‘ from ‘keras.utils‘
- ImportError: numpy.core.multiarray failed to import