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 Called Requests #5

Closed
jbenzaquen42 opened this issue Jan 18, 2021 · 0 comments
Closed

No Module Called Requests #5

jbenzaquen42 opened this issue Jan 18, 2021 · 0 comments

Comments

@jbenzaquen42
Copy link

jbenzaquen42 commented Jan 18, 2021

I seem to be running into an issue pulling "requests" after downloading it from the requirements folder. I have tried it in and outside of a virtual environment in cmd, and have tried on a PC and MAC. Using Python 3 and pip3

(env) C:\Users\jacob\shotlooter>pip install tesseract
Collecting tesseract
  Using cached tesseract-0.1.3.tar.gz (45.6 MB)
Using legacy 'setup.py install' for tesseract, since package 'wheel' is not installed.
Installing collected packages: tesseract
    Running setup.py install for tesseract ... done
Successfully installed tesseract-0.1.3
WARNING: You are using pip version 20.2.3; however, version 20.3.3 is available.
You should consider upgrading via the 'c:\users\jacob\shotlooter\env\scripts\python.exe -m pip install --upgrade pip' command.

(env) C:\Users\jacob\shotlooter>pip3 install -r requirements.txt
Collecting requests
  Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
Collecting beautifulsoup4
  Using cached beautifulsoup4-4.9.3-py3-none-any.whl (115 kB)
Collecting Pillow
  Using cached Pillow-8.1.0-cp38-cp38-win_amd64.whl (2.2 MB)
Collecting pytesseract
  Using cached pytesseract-0.3.7.tar.gz (13 kB)
Collecting numpy
  Using cached numpy-1.19.5-cp38-cp38-win_amd64.whl (13.3 MB)
Collecting imutils
  Using cached imutils-0.5.4.tar.gz (17 kB)
Collecting opencv-python-headless
  Using cached opencv_python_headless-4.5.1.48-cp38-cp38-win_amd64.whl (34.8 MB)
Collecting colorama
  Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting termcolor
  Using cached termcolor-1.1.0.tar.gz (3.9 kB)
Collecting lxml
  Using cached lxml-4.6.2-cp38-cp38-win_amd64.whl (3.5 MB)
Collecting chardet<5,>=3.0.2
  Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
Collecting certifi>=2017.4.17
  Using cached certifi-2020.12.5-py2.py3-none-any.whl (147 kB)
Collecting urllib3<1.27,>=1.21.1
  Using cached urllib3-1.26.2-py2.py3-none-any.whl (136 kB)
Collecting idna<3,>=2.5
  Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting soupsieve>1.2; python_version >= "3.0"
  Using cached soupsieve-2.1-py3-none-any.whl (32 kB)
Using legacy 'setup.py install' for pytesseract, since package 'wheel' is not installed.
Using legacy 'setup.py install' for imutils, since package 'wheel' is not installed.
Using legacy 'setup.py install' for termcolor, since package 'wheel' is not installed.
Installing collected packages: chardet, certifi, urllib3, idna, requests, soupsieve, beautifulsoup4, Pillow, pytesseract, numpy, imutils, opencv-python-headless, colorama, termcolor, lxml
    Running setup.py install for pytesseract ... done
    Running setup.py install for imutils ... done
    Running setup.py install for termcolor ... done
Successfully installed Pillow-8.1.0 beautifulsoup4-4.9.3 certifi-2020.12.5 chardet-4.0.0 colorama-0.4.4 idna-2.10 imutils-0.5.4 lxml-4.6.2 numpy-1.19.5 opencv-python-headless-4.5.1.48 pytesseract-0.3.7 requests-2.25.1 soupsieve-2.1 termcolor-1.1.0 urllib3-1.26.2
WARNING: You are using pip version 20.2.3; however, version 20.3.3 is available.
You should consider upgrading via the 'c:\users\jacob\shotlooter\env\scripts\python.exe -m pip install --upgrade pip' command.

(env) C:\Users\jacob\shotlooter>python3 shotlooter.py --code sjgmm5 --imagedir IMAGE_FOLDER_PATH
Traceback (most recent call last):
  File "shotlooter.py", line 18, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'
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

1 participant