How to install requests module in Python 3.4, instead of 2.7

前端 未结 5 680
耶瑟儿~
耶瑟儿~ 2020-12-23 13:53

I have both Python 2.7 and 3.4 installed on my Ubuntu 14.04 machine. I want to install the \'requests\' module so it is accessible from Py3.4.

When I issued p

5条回答
  •  礼貌的吻别
    2020-12-23 14:21

    i was facing same issue in beautiful soup , I solved this issue by this command , your issue will also get rectified . You are unable to install requests in python 3.4 because your python libraries are not updated . use this command apt-get install python3-requests Just run it will ask you to add 222 MB space in your hard disk , just press Y and wait for completing process, after ending up whole process . check your problem will be resolved.

提交回复
热议问题