How did “people you might know” find you on social software>>>
Build a python 2.7 virtual environment under Linux, activate the environment and install tensorflow with pip to report an error
AttributeError: ‘module’ object has no attribute ‘main’
Solution: run
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py; python get-pip.py
Reference: https://blog.csdn.net/Jiaach/article/details/80188262
Similar Posts:
- [Solved] pip and setuptools upgrade Error: Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-fH0Feg/pip/
- Attributeerror: module ‘sys’ has no attribute’ setdefaultencoding ‘solution?
- [Solved] python Install pip Error: zipimport.ZipImportError: can’t decompress data; zlib not available
- Dill: solve the problem of Python’s “attributeerror: can’t pickle local object” and unable to pickle lambda function
- AttributeError: module ‘tensorflow’ has no attribute ‘Session’
- Python PIP upgrade error tips [How to Solve Possible Error]
- Python3.x Error:AttributeError: ‘str’ object has no attribute ‘decode’
- [PIP command error] after upgrading the PIP in Ubuntu 16.04, execute the PIP command to report an error sys.stderr.write (F “error: {exc}”)
- How to Solve ModuleNotFoundError: No module named ‘pip._internal’
- [Solved] AttributeError: ‘module’ object has no attribute ‘gfile’