[issue43471] Fails to import bz2 on Ubuntu

2021-03-17 Thread Eric V. Smith
Eric V. Smith added the comment: I'm going to close this. @xmm: If you can provide more information showing that this is a bug in Python or its build process, please re-open this issue. -- resolution: -> not a bug stage: -> resolved status: open -> closed __

[issue43471] Fails to import bz2 on Ubuntu

2021-03-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: You are likely did not have headers for bz2 library installed. Read thoughtfully the output of ./configure and make. See also https://devguide.python.org/setup/#install-dependencies . -- nosy: +serhiy.storchaka status: pending -> open

[issue43471] Fails to import bz2 on Ubuntu

2021-03-11 Thread Eric V. Smith
Change by Eric V. Smith : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue43471] Fails to import bz2 on Ubuntu

2021-03-10 Thread Eric V. Smith
Eric V. Smith added the comment: You're probably missing needed dependencies. For example, see https://stackoverflow.com/questions/12806122/missing-python-bz2-module If you look at the output of make, you should be able to see that _bz2 wasn't built. -- nosy: +eric.smith __

[issue43471] Fails to import bz2 on Ubuntu

2021-03-10 Thread Xinmeng Xia
New submission from Xinmeng Xia : Module bz2 fails to be imported on Ubuntu due to lack of '_bz2'. We try "import bz2" on Mac, it can work well. Errors on Ubuntu == >>import bz2 Traceback (most recent call last): File "/home/xxm/Desktop/apifuzz/do