The virtual machine environment is Ubuntu - 64-bit
pip is installed under python3. When using pip to install aiohttp, it shows that it has been installed in python3, but then entering python to import the aiohttp module still fails. What should I do?
女神的闺蜜爱上我2017-06-28 09:24:08
You are using pip3.5. Hey...try it
python3.6 -m pip install aiohttp
phpcn_u15822017-06-28 09:24:08
Try it
pip3 install aiohttp
Because it is common for Python2 and Python3 to coexist on Ubuntu, pip3 is installed to python 3, and pip is installed to Python 2 environment, which are different environments.