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

按格式使用,报错 TypeError: start() takes 1 positional argument but 2 were given #59

Open
sherlockzm opened this issue Oct 23, 2020 · 2 comments

Comments

@sherlockzm
Copy link

按格式使用,报错:python3 dirmap.py -i http://XX.XX.XX.XX -lcf

Traceback (most recent call last):
File "/home/kali/tools/scanDir/dirmap/lib/controller/engine.py", line 44, in scan
bruter(target)
File "/home/kali/tools/scanDir/dirmap/lib/controller/bruter.py", line 586, in bruter
bar.log.start(tasks.task_length)
TypeError: start() takes 1 positional argument but 2 were given

@leojjj
Copy link

leojjj commented Dec 9, 2020

+1

@ysgncss
Copy link

ysgncss commented Dec 14, 2020

原因找到了,请安装progressbar2。卸载progressbar。防止导入同名模块(汗)

执行命令:

python3 -m pip uninstall progressbar
python3 -m pip install progressbar2

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