How to install rpm package on closed network Centos 7?

Asked 2 years ago, Updated 2 years ago, 45 views

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

2022-09-20 19:20

1 Answers

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.


2022-09-20 19:20

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.