无法在CMD中通过PYTHON安装wifiphisher

C:\Users\57687>pip install wifiphisher
Collecting wifiphisher
Downloading wifiphisher-1.4.tar.gz (1.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 2.9 MB/s eta 0:00:00
Installing build dependencies … done
Getting requirements to build wheel … error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [28 lines of output]
running egg_info
writing wifiphisher.egg-info\PKG-INFO
writing dependency_links to wifiphisher.egg-info\dependency_links.txt
writing entry points to wifiphisher.egg-info\entry_points.txt
writing requirements to wifiphisher.egg-info\requires.txt
writing top-level names to wifiphisher.egg-info\top_level.txt
reading manifest file ‘wifiphisher.egg-info\SOURCES.txt’
reading manifest template ‘MANIFEST.in’
adding license file ‘LICENSE.txt’
writing manifest file ‘wifiphisher.egg-info\SOURCES.txt’
Traceback (most recent call last):
File “c:\users\57687\appdata\local\programs\python\python39\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py”, line 353, in
main()
File “c:\users\57687\appdata\local\programs\python\python39\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py”, line 335, in main
json_out[‘return_val’] = hook(**hook_input[‘kwargs’])
File “c:\users\57687\appdata\local\programs\python\python39\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py”, line 118, in get_requires_for_build_wheel
return hook(config_settings)
File “C:\Users\57687\AppData\Local\Temp\pip-build-env-j4wut3w1\overlay\Lib\site-packages\setuptools\build_meta.py”, line 327, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
File “C:\Users\57687\AppData\Local\Temp\pip-build-env-j4wut3w1\overlay\Lib\site-packages\setuptools\build_meta.py”, line 297, in _get_build_requires
self.run_setup()
File “C:\Users\57687\AppData\Local\Temp\pip-build-env-j4wut3w1\overlay\Lib\site-packages\setuptools\build_meta.py”, line 497, in run_setup
super().run_setup(setup_script=setup_script)
File “C:\Users\57687\AppData\Local\Temp\pip-build-env-j4wut3w1\overlay\Lib\site-packages\setuptools\build_meta.py”, line 313, in run_setup
exec(code, locals())
File ““, line 130, in
File ““, line 71, in get_hostapd
NameError: name ‘raw_input’ is not defined
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

[notice] A new release of pip is available: 24.0 -> 24.2
[notice] To update, run: python.exe -m pip install –upgrade pip

讨论数量: 2
Jason990420

raw_input is for python 2, and input for python 3

wifiphisher 1.4 need programming Language only for

  • Python :: 2
  • Python :: 2 :: Only
  • Python :: 2.7

And you are installing it with Python 3

1个月前 评论

您正在使用的代码是为 Python 2 编写的,而您当前使用的是 Python 3 环境

1个月前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!