Skip to content

Getting a missing module error for 'requests' when executing CLI or normal executable #80

@BobvanSchendel

Description

@BobvanSchendel

Describe the bug
I created a new conda env to install pyinstaller, with this I installed this repo, which seemed to work without a hitch.
When trying to execute the CLI or the normal executable via cmder or just via doubleclicking in windows leads to the following error message:
Traceback (most recent call last):
File "src\app.py", line 8, in
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "src\bulk_downloader.py", line 2, in
ModuleNotFoundError: No module named 'requests'

I have tried installing the requests library in my conda env with conda and with pip and verified that it's installed, so that shouldn't be the problem.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

System Information:
Windows 11

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions