Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'requests' #4

Open
xeroxstar opened this issue Oct 17, 2017 · 1 comment
Open

No module named 'requests' #4

xeroxstar opened this issue Oct 17, 2017 · 1 comment

Comments

@xeroxstar
Copy link

xeroxstar commented Oct 17, 2017

I am not sure if i am doing everything correct, i am not a python guy. I installed python on windows and tried to run it but i get this error

C:\Users\user\Desktop\py>api.py post -i vars.txt
Traceback (most recent call last):
  File "C:\Users\user\Desktop\py\api.py", line 29, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'
@alumbs
Copy link

alumbs commented Feb 12, 2018

This should help: https://stackoverflow.com/questions/17309288/importerror-no-module-named-requests

I personally downloaded the .tar.gz file from https://pypi.python.org/pypi/requests#downloads and installed it using the windows commandline command: python setup.py install

I had to unzip the .gz file using winzip and create a folder in it called "requests". I then copied the "version.py" file into the new requests folder and reran the "python setup.py install" command. It installed correctly and the application ran

The app does not work btw. It throws an api exception.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants