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

报错,请问该工具是运行在python几版本下的 #8

Open
uuuuuuzeus opened this issue Nov 21, 2020 · 3 comments
Open

报错,请问该工具是运行在python几版本下的 #8

uuuuuuzeus opened this issue Nov 21, 2020 · 3 comments

Comments

@uuuuuuzeus
Copy link

Building wheel for fake-useragent (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-crLfxT/fake-useragent/setup.py'"'"'; file='"'"'/tmp/pip-install-crLfxT/fake-useragent/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-pmvAoj
cwd: /tmp/pip-install-crLfxT/fake-useragent/
Complete output (6 lines):
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help

error: invalid command 'bdist_wheel'

ERROR: Failed building wheel for fake-useragent
Running setup.py clean for fake-useragent
Failed to build fake-useragent
Installing collected packages: fake-useragent, urllib3, certifi, idna, requests
Running setup.py install for fake-useragent ... done
Successfully installed certifi-2020.11.8 fake-useragent-0.1.11 idna-2.10 requests-2.23.0 urllib3-1.25.11
root@kali:/home/kali/myTools/weblogic_scan/WeblogicScan_tools_1# python2.7 WeblogicScan.py -u 124.95.133.164 -p 7001
Traceback (most recent call last):
File "WeblogicScan.py", line 12, in
from config.config_banners import banner
ImportError: No module named config.config_banners

@rabbitmask
Copy link
Owner

是py3哦py2官方已经抛弃啦

@ziya1666
Copy link

ziya1666 commented Sep 7, 2021

Traceback (most recent call last):
File "/Users/yangzichao3/Documents/Toolkits/WeblogicScan/WeblogicScan.py", line 12, in
from config.config_banners import banner
ModuleNotFoundError: No module named 'config.config_banners'

python版本3.9.6 报错不可用

@Polaris-L
Copy link

Traceback (most recent call last): File "/Users/yangzichao3/Documents/Toolkits/WeblogicScan/WeblogicScan.py", line 12, in from config.config_banners import banner ModuleNotFoundError: No module named 'config.config_banners'

python版本3.9.6 报错不可用
你这个是同时装了python2和3,忘记用python3运行了吧,我之前手残也忘了,报错一模一样

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