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 parse.cmdline #1

Open
littleheary opened this issue Mar 6, 2020 · 2 comments

Comments

@littleheary
Copy link

Traceback (most recent call last):
File "D:\worktools\python2713\Scripts\pocs-script.py", line 11, in
load_entry_point('pocs==1.5', 'console_scripts', 'pocs')()
File "D:\worktools\python2713\lib\site-packages\pkg_resources_init_.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "D:\worktools\python2713\lib\site-packages\pkg_resources_init_.py", line 2852, in load_entry_point
return ep.load()
File "D:\worktools\python2713\lib\site-packages\pkg_resources_init_.py", line 2443, in load
return self.resolve()
File "D:\worktools\python2713\lib\site-packages\pkg_resources_init_.py", line 2449, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "D:\worktools\python2713\lib\site-packages\pocs-1.5-py2.7.egg\pocs_init_.py", line 9, in
from pocs import main
File "D:\worktools\python2713\lib\site-packages\pocs-1.5-py2.7.egg\pocs\pocs.py", line 7, in
from lib.cli import main
File "D:\worktools\python2713\lib\site-packages\pocs-1.5-py2.7.egg\pocs\lib\cli.py", line 8, in
from lib.parse.cmdline import cmdLineParser
ImportError: No module named parse.cmdline

@jiangsir404
Copy link
Owner

请问是按照那种方式安装的? 我本地测试pip install pocs和python setup.py install都没有问题,请pip uninstall pocs后再重新install试一试。或者git clone下载下来项目后python setup.py install安装。

@x7peeps
Copy link

x7peeps commented Apr 26, 2020

请问是按照那种方式安装的? 我本地测试pip install pocs和python setup.py install都没有问题,请pip uninstall pocs后再重新install试一试。或者git clone下载下来项目后python setup.py install安装。

同样的报错:
λ poc-s
Traceback (most recent call last):
File "D:\Program Files\Python27\Scripts\poc-s-script.py", line 11, in
load_entry_point('pocs==1.5', 'console_scripts', 'poc-s')()
File "D:\Program Files\Python27\lib\site-packages\pkg_resources_init_.py", line 572, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "D:\Program Files\Python27\lib\site-packages\pkg_resources_init_.py", line 2755, in load_entry_point
return ep.load()
File "D:\Program Files\Python27\lib\site-packages\pkg_resources_init_.py", line 2408, in load
return self.resolve()
File "D:\Program Files\Python27\lib\site-packages\pkg_resources_init_.py", line 2414, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "D:\Program Files\Python27\lib\site-packages\pocs-1.5-py2.7.egg\pocs_init_.py", line 9, in
from pocs import main
File "D:\Program Files\Python27\lib\site-packages\pocs-1.5-py2.7.egg\pocs\pocs.py", line 7, in
from lib.cli import main
File "D:\Program Files\Python27\lib\site-packages\pocs-1.5-py2.7.egg\pocs\lib\cli.py", line 8, in
from lib.parse.cmdline import cmdLineParser
ImportError: No module named parse.cmdline

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

3 participants