Create a Python 3.7.2 Development Environment in CentOS 6.0 (no administrator privileges)

Asked 2 years ago, Updated 2 years ago, 67 views

Thank you for your help.I'm a fledgling engineer who got a job as an engineer this year.

We have decided to create a Python 3.7.2 development environment on CentOS 6.0, but we do not have administrative privileges and cannot use the sudo, yum, and git clone commands.
At first, I tried to put pyenv in, but I couldn't use git clone, so I gave up and tried to install Python 3.7.2.

We are proceeding with the external library installation required for 3.7.2, and the libraries provided by tar and tgz have been installed with ./configure --prefix==/home/username/ and make, make install, but the library installation provided only in rpm has stopped.

I'm sorry to trouble you, but it would be very helpful if you could give me some advice.Thank you.
Today is the second day of the stack, so I'm sweating strangely.

python python3 centos

2022-09-30 17:36

1 Answers

Regardless of python itself, it is not recommended to build and install a separate dependent library as originally provided by RPM.You'd better check if that's really what you want.

  • The CentOS RPM is based on older versions to backport security updates, so the contents are different from those distributed by the manufacturer even in the same version notation.
  • The RPM build options are very different from those of your own.
  • Simply different installation paths can cause problems.
  • Insufficient development packages (such as header files) will install the entire library.You need to be aware of which dynamic link destination will be


2022-09-30 17:36

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.