Python Forum
Installing python3-devel from source on centos6
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installing python3-devel from source on centos6
We've got a centos6 build environment, with all the typical gcc tools (gcc 4.4.7) for C++ dev.

I want to play around with python integration into our C++ modules, for which I need python3-devel. I have to be very careful not to affect any of our existing build processes and settings, since we're building our production code in this environment. So I want to build python from source using our existing build tools.

I have already upgraded the centos6 python 2.6.6 to python 3.6.10 by doing

cd Python-3.6.10
./configure --enable-optimizations
make altinstall
according to I did NOT first install the dev tools as I don't want to mess up our exisiting dev environment.

So now I've got python3, but I don't have python3-devel. I can't find any info on where to get that source package from; all the google searches I do refer to using pip or yum to install binary packages, which I do not want to do.

PS Apologies is this question is inappropriate to the forum, I could not find a more appropriate active topic to post it on.

Possibly Related Threads…
Thread Author Replies Views Last Post
  Installing Python3 on MacOS using brew zazas321 5 995 May-28-2021, 06:19 AM
Last Post: perfringo
  Error after installing Python3.8.2: "No module named 'apt_pkg'" Chromie 3 2,335 Mar-09-2020, 08:20 PM
Last Post: micseydel
  Building from source on MacOS: installing certificates ardim 1 843 Feb-09-2020, 10:16 PM
Last Post: ardim
  Gnuradio python3 is not compatible python3 xmlrpc library How Can I Fix İt ? muratoznnnn 3 2,434 Nov-07-2019, 05:47 PM
Last Post: DeaD_EyE
  Could not build the ssl module while installing python3.7 from tar ball badfish 1 6,232 Dec-11-2018, 04:33 AM
Last Post: badfish
  Error while installing python3.6.4 on windows 10 SaurabhMaheshwari 1 2,194 Feb-18-2018, 09:36 PM
Last Post: sparkz_alot

Forum Jump:

User Panel Messages

Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020