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

Unable to run from source #15

Open
sagivoulu opened this issue Feb 13, 2022 · 0 comments
Open

Unable to run from source #15

sagivoulu opened this issue Feb 13, 2022 · 0 comments

Comments

@sagivoulu
Copy link

I am trying to run the code from source, by running:

python setup install
python -m pip-downloader

but I get the following error:

Traceback (most recent call last):
  File "C:\Users\username\AppData\Local\Programs\Python\Python39\Scripts\pip-downloader-script.py", line 33, in <module>
    sys.exit(load_entry_point('pip-downloader', 'console_scripts', 'pip-downloader')())
  File "C:\Users\username\AppData\Local\Programs\Python\Python39\Scripts\pip-downloader-script.py", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "C:\Users\username\AppData\Local\Programs\Python\Python39\lib\importlib\metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "C:\Users\username\AppData\Local\Programs\Python\Python39\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 790, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "c:\users\username\projects\pip-downloader\pip_downloader\cli.py", line 6, in <module>
    from pip_downloader.engine import resolve_packages, fetch_all_links, download_link
  File "c:\users\username\projects\pip-downloader\pip_downloader\engine.py", line 6, in <module>
    from pip_downloader.compat.pip import (
  File "c:\users\username\projects\pip-downloader\pip_downloader\compat\pip.py", line 44, in <module>
    Wheel = from_pip_import('wheel.Wheel')
  File "c:\users\username\projects\pip-downloader\pip_downloader\compat\pip.py", line 31, in from_pip_import
    raise ImportError('Unable to find module in pip: {}'.format(module_path))
ImportError: Unable to find module in pip: ['wheel.Wheel']
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