Message317664
Since Python 2.7.15 import bs4 (BeautifulSoup4) fails when using the -3 option on the Python binary.
...
'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`).'
^
SyntaxError: unknown parsing error
With 2.7.14 this works fine and I get the expected deprecation warning.
A workaround is to import the package without -3 first, so the .pyc file is generated and used in subsequent imports. |
|
Date |
User |
Action |
Args |
2018-05-25 09:17:42 | fschulze | set | recipients:
+ fschulze |
2018-05-25 09:17:42 | fschulze | set | messageid: <1527239862.03.0.682650639539.issue33645@psf.upfronthosting.co.za> |
2018-05-25 09:17:41 | fschulze | link | issue33645 messages |
2018-05-25 09:17:41 | fschulze | create | |
|