The possible cause is a python version problem. Previously, python 2 and 3 were installed at the same time, and the error print x was reported Error of
You can switch the default version to python2
Similar Posts:
- Error reporting using Yum: Yum except keyboardinterrupt, e
- [Solved] Error: jedi-vim failed to initialize Python: jedi-vim requires Vim with support for Python 2 or 3
- Error: No valid exports main found for ‘/Users/work/company_fc/a/node_modules/colorette’”
- PIP Python package succeeds, but an error is reported when importing
- jupyter notebook error: No module named ‘tensorflow’
- [Solved] ImportError: cannot import name pywrap_tensorflow
- How to Solve MySQL-python Install Error:Python version 2.7 required, which was not found in the registry
- Open Python idle “subprocess startup error” on win7
- [Solved] yum Execute Error: -bash: /usr/bin/yum: /usr/bin/python3.7: bad interpreter: No such file or directory
- ImportError: Couldn’t import Django [How to Solve]