All Questions
14 questions
4
votes
2
answers
7k
views
Trying to get Python, Pip and Requests all up and running and failing to do so
I am running a Linux server (Linux 4.1.12-124.19.1.el7uek.x86_64 #2 SMP Wed Sep 5 13:41:16 PDT 2018 x86_64 x86_64 x86_64 GNU/Linux) with python 2.7.5 on it (DBAs want it to be 2.7.5 for their script) ...
0
votes
1
answer
442
views
importing requests module does not work how to make it work?
i run the command bellow on widows command line
pip install requests
the error that apeared is :
Exception:
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\pip\...
0
votes
4
answers
4k
views
Unable to install Requests module in python2.7 (Kali linux) as it keeps appearing in python3 library
I am using kali linux and is trying to import a module called requests to run an exploit. (https://www.exploit-db.com/exploits/47138) if you want to know more about the exploit.
when i try to run the ...
0
votes
0
answers
2k
views
PIP upgrade package not working correctly
I have a server with python 2.7.3 and PIP 1.1. I can't upgrade them right now.
I was trying them to upgrade Requests package from 2.0.0 to 2.4.0. So I simply ran the following command, inside the ...
2
votes
0
answers
164
views
Python: handling multiple installations of same version
When I run a specific python program, I faced with an issue. While debugging I found out that the program is using libraries from different python installations.
For example, When I execute pip ...
0
votes
0
answers
20
views
Python requests module unable to find function while running on non-root account [duplicate]
I'm trying to use python requests module. It works correctly on root account, however when i switch to non-root account i get following error message:
AttributeError: 'module' object has no attribute ...
15
votes
7
answers
78k
views
ModuleNotFoundError: No module named 'requests'
I have installed the pip3 as well as the requests package on my pc. Even then, on running the command import requests on my shell, I am getting the following error:
Traceback (most recent call last):
...
0
votes
1
answer
2k
views
Runtime error when trying to use pip
I have managed to royally screw myself over by doing something which seemed innocuous.
i was getting the following error from my python script (brand['feed'] = the URL i'm making the request to):
**...
37
votes
1
answer
39k
views
pip install requests[security] vs pip install requests: Difference
I am using Ubuntu 14.04 (Trusty Tahr) with Python version 2.7.6. Today, when I created a new virtualenv and tried doing pip install requests, I got the error InsecurePlatformWarning.
I resolved ...
0
votes
1
answer
106
views
Pip/Easy_install do not install desired package
I am new to Python (2.7) but I am trying to run a program that requires the "requests" module. I have installed pip using the get-pip.py script and registered the Python27 and Python27/Scripts paths ...
2
votes
1
answer
4k
views
Python: pip installing requests for older version: 2.7
I'm trying to interface with an API using a python program that only works in 2.7 and not in 3.4 which is also installed on my machine. However, one of my program's dependencies is the requests ...
4
votes
2
answers
22k
views
Python & requests | ImportError: No module named util
I just installed the package requests on a new computer. I'm getting this error when I try to import that module. Any ideas what's causing the issue w/ the util module?
Python 2.7.6 (v2.7.6:...
1
vote
0
answers
2k
views
Trying to import requests package but getting pip error?
I installed the requests package by downloading the code from GitHub and installing via command prompt in the usual way. However, attempting to import the module results in IDLE giving me this error
...
3
votes
3
answers
9k
views
Python can't get requests installed on Ubuntu for Python 2.7
All I want to do is run a Python script that requires Python 2.7 & Requests on my Ubuntu 10.04 EC2 box.
I installed Python 2.7, no problem. "python" by itself still points to python 2.6, which is ...