ImportError: No module named 'Queue'

后端 未结 7 1695
再見小時候
再見小時候 2020-12-02 16:35

I am trying to import requests module, but I got this error my python version is 3.4 running on ubuntu 14.04

>>> import requests
Traceb         


        
7条回答
  •  甜味超标
    2020-12-02 16:57

    You need install Queuelib either via the Python Package Index (PyPI) or from source.

    To install using pip:-

    $ pip install queuelib
    

    To install using easy_install:-

    $ easy_install queuelib
    

    If you have downloaded a source tarball you can install it by running the following (as root):-

    python setup.py install
    

提交回复
热议问题