PyInstaLive icon indicating copy to clipboard operation
PyInstaLive copied to clipboard

ModuleNotFoundError: No module named 'requests'

Open rules169 opened this issue 2 years ago • 0 comments

ModuleNotFoundError: No module named 'requests'

  • [ x] I am using the latest version of PyInstaLive: 3.3.0.
  • [x ] I have installed 3.6+: 3.6.0
  • [x ] I have read the README.
  • [x ] I have read the FAQ.
  • [ x] I have checked all existing issues, none of which could solve my issue.

I am using:

  • [ ] Windows 10
  • [ ] Windows 8.1
  • [ ] Windows 8
  • [ ] Windows 7
  • [ ] Linux (distribution: )
  • [ ] macOS (version: )
  • [x ] Other (device & OS name: windows 11)

ffmpeg version: ffmpeg version 2023-03-30-git-4d216654ca-full_build-www.gyan.dev

To report a bug, fill in the information below.

Required files

Please attach the log file of the user you were trying to download (if applicable) and the pyinstalive.default.log log file.
If your issue is related to assembling segment files please also include the JSON file and a zipped segment files directory.
If any of these files exceed the Github upload size limit in size please use WeTransfer or a similar service to upload these files.

PyInstaLive information

Run pyinstalive --info and paste its output below. Don't forget to omit your username and password.

Example:

$ pyinstalive --info

i get an error running this. so i cant provide this info
Command used

Paste the command here that you are running. Don't forget to omit your username and password.

C:\Users\Kenneth S\Downloads>py -m pyinstalive -d "<Test>"

Behaviour

Traceback (most recent call last): File "C:\Users\Kenneth S\AppData\Local\Programs\Python\Python36\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "C:\Users\Kenneth S\AppData\Local\Programs\Python\Python36\lib\runpy.py", line 85, in run_code exec(code, run_globals) File "C:\Users\Kenneth S\AppData\Local\Programs\Python\Python36\lib\site-packages\pyinstalive_main.py", line 1, in from .startup import run File "C:\Users\Kenneth S\AppData\Local\Programs\Python\Python36\lib\site-packages\pyinstalive\startup.py", line 8, in from . import logger File "C:\Users\Kenneth S\AppData\Local\Programs\Python\Python36\lib\site-packages\pyinstalive\logger.py", line 5, in from . import helpers File "C:\Users\Kenneth S\AppData\Local\Programs\Python\Python36\lib\site-packages\pyinstalive\helpers.py", line 8, in import requests ModuleNotFoundError: No module named 'requests'.

Steps to reproduce issue

Specify the exact steps taken to reproduce the problem. If you can't reproduce the issue try to describe the steps you've taken that eventually resulted in the issue you have experienced.

To ask a question, fill in the information below.

Question

Why do i get the following issue when i run pyinstalive for the first time? I already tried re-installing python, pip from scratch, still the same problem. Thanks for replying in advance.

Traceback (most recent call last): File "C:\Users\Kenneth S\AppData\Local\Programs\Python\Python36\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "C:\Users\Kenneth S\AppData\Local\Programs\Python\Python36\lib\runpy.py", line 85, in run_code exec(code, run_globals) File "C:\Users\Kenneth S\AppData\Local\Programs\Python\Python36\lib\site-packages\pyinstalive_main.py", line 1, in from .startup import run File "C:\Users\Kenneth S\AppData\Local\Programs\Python\Python36\lib\site-packages\pyinstalive\startup.py", line 8, in from . import logger File "C:\Users\Kenneth S\AppData\Local\Programs\Python\Python36\lib\site-packages\pyinstalive\logger.py", line 5, in from . import helpers File "C:\Users\Kenneth S\AppData\Local\Programs\Python\Python36\lib\site-packages\pyinstalive\helpers.py", line 8, in import requests ModuleNotFoundError: No module named 'requests'

rules169 avatar Dec 10 '23 17:12 rules169