aiohttp is installed in python3, but the import still fails when entering python3.
淡淡烟草味
淡淡烟草味 2017-06-28 09:22:08
0
2
939

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?

淡淡烟草味
淡淡烟草味

reply all (2)
女神的闺蜜爱上我

You are using pip3.5. Hey...try it

python3.6 -m pip install aiohttp

    phpcn_u1582

    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.

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!