I installed Python3 on CentOS 7 installed on a closed network server and imported it to use Pandas.
ModuleNotFoundError: No module named '_bz2'
I'm getting this error... I heard that you can download the relevant rpm file and install it yourself, how can I install it?
First of all, the rpm file I thought of can be downloaded from the https://centos.pkgs.org/7/centos-x86_64/bzip2-devel-1.0.6-13.el7.x86_64.rpm.html appropriate route, so I would appreciate it if you could let me know in detail.
python centos linux ubuntu
rpm does not automatically install libraries that are stuck on dependency.
In other words, if there is another dependency on the bz-related rpm, you must install the related rpm.
The recommended method is to install centos in dvd format.
© 2025 OneMinuteCode. All rights reserved.