开始啥依赖都没加,然后直接oneforall报错
然后根据官方文档装环境
cd OneForAll/
python3 -m pip install -U pip setuptools wheel -i https://mirrors.aliyun.com/pypi/simple/
pip3 install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/
python3 oneforall.py --help
弄好之后还是报错
File "oneforall.py", line 15, in <module>
import export
File "/Users/j**/sec_tools/web/OneForAll-master/export.py", line 13, in <module>
from common import utils
ImportError: cannot import name 'utils' from 'common' (/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/common/__init__.py)
后来看了别人文章是需要把export和common删除
pip uninstall export
pip uninstall common
run一下试试 成功啦^ ^