Ich habe Probleme auf einem neuen PC und kann nirgendwo eine Antwort finden. Ich versuche, beautifulsoup 4.4 zu bekommen, um an Python 3.5 zu arbeiten. Ich benutze pyCharm - ich lese, dass sie möglicherweise nicht kompatibel sind, aber ich habe das gleiche Setup auf meinem Laptop und es funktioniert perfekt - nur Unterschied ist der PC, den ich versuche, BS zu arbeiten ist Windows 7, wo mein Laptop Windows 8 ist .beautifulsoup 4.4 auf Python 3.5
wenn ich in die Einstellungen gehen und auf Projekt Interpreter sehe ich aus BS 4.4.1 sehen, aber wenn ich etwas, was ich bin immer diesen Fehler versuchen und laufen:
Traceback (most recent call last):
File "C:/Users/PP/PycharmProjects/Shark/NOCO.py", line 3, in <module>
from bs4 import BeautifulSoup
File "C:\Users\PP\AppData\Local\Programs\Python\Python35-32\lib\site-packages\bs4\__init__.py", line 29, in <module>
from .builder import builder_registry
File "C:\Users\PP\AppData\Local\Programs\Python\Python35-32\lib\site-packages\bs4\builder\__init__.py", line 294, in <module>
from . import _htmlparser
File "C:\Users\PP\AppData\Local\Programs\Python\Python35-32\lib\site-packages\bs4\builder\_htmlparser.py", line 7, in <module>
from html.parser import (
ImportError: cannot import name 'HTMLParseError'
genial - danke! – PatrickP76