0

を使用してスクリプトを実行するとfrom bs4 import BeautifulSoup、次のエラーが発生します。

Traceback (most recent call last):
  File "C:\Users\Stewart\Desktop\dorkscan.py", line 13, in <module>
    from bs4 import BeautifulSoup  
  File "C:\PentestBox\base\python\Lib\site-packages\bs4\__init__.py", line 53  
    'You are trying to run the Python 2 version of Beautiful Soup under Python 3.  
 This will not work.'<>'You need to convert the code, either by installing it  
 (`python setup.py install`) or by running 2to3 (`2to3 -w bs4`).'
4

1 に答える 1