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

ImportError: No module named pip_downloader.cli #14

Open
yukselao opened this issue Dec 13, 2019 · 3 comments
Open

ImportError: No module named pip_downloader.cli #14

yukselao opened this issue Dec 13, 2019 · 3 comments

Comments

@yukselao
Copy link

Hello,

How can we solve it?

[root@li1501-192 ~]# python
Python 2.7.5 (default, Aug 7 2019, 00:51:29)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

[root@li1501-192 ~]# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)

[root@li1501-192 ~]# pip-downloader list flusk
Traceback (most recent call last):
File "/usr/bin/pip-downloader", line 11, in
load_entry_point('pip-downloader==0.2', 'console_scripts', 'pip-downloader')()
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 2852, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 2443, in load
return self.resolve()
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 2449, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
ImportError: No module named pip_downloader.cli

@feature-engineer
Copy link

I get the a similar thing on python 3.6.9, Ubuntu 18.04:

Traceback (most recent call last): File "/home/user/projects/envs/gen_env/bin/pip-downloader", line 5, in <module> from pip_downloader.cli import main ModuleNotFoundError: No module named 'pip_downloader.cli'

@it-is-wednesday
Copy link

My site-packages/pip-downloader directory seems empty - only __init__.py is there. I'm not a pip expert, so I'll just kindly suggest using pip-download instead. They seem to accomplish a similar goal.

@elenakrittik
Copy link

The same with Python 3.10

pip-downloader download disnake                           ✔  6s  
Traceback (most recent call last):
  File "/usr/bin/pip-downloader", line 5, in <module>
    from pip_downloader.cli import main
ModuleNotFoundError: No module named 'pip_downloader.cli'

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

4 participants