Non destructive Python 3.4.* installation on Centos 6.5

Hi Guys,

I need to find a "simple" non-destructive way to install and update a separate version of Python for software development purposes on Centos 6.5.

I followed two tutorials:
http://harryfwong.blogspot.com/2014/09/install-python-341-centos-65.html?showComment=1427993727623
and
https://www.digitalocean.com/community/tutorials/how-to-set-up-python-2-7-6-and-3-3-3-on-centos-6-4

The latter having worked for me fine once before but doesn't now with 3.4.* and seems not to install at all. I tried anaconda and had the same issue with pycharm not even being able to recognise Python. I was able to combine the two and install Python 3.4 manually as a shared library and had to manually install the numpy for Python 3.4. env but when I tried to install Scipy I get a number of errors ending with:

----------------------------------------
    Command "/usr/local/bin/python3.4 -c "import setuptools, tokenize;__file__='/tmp/pip-build-058c4cky/scipy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-lpfletex-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-058c4cky/scipy

Which I am unsure as to it's meaning but suspect it may related to errors that I received when trying to setup the virtualenv as per the second link.

Any advice? - I also have to unfortunately do the same thing for windows but don't want to look at that until I get it sorted on Linux.
bimrockAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Phil DavidsonCommented:
Having two different versions of Python installed is not a trivial task.  The DigitalOcean link is for 3.3.3.

Have you ran this?

pip3.4 install virtualenv

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Suhas .QA ManagerCommented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Accept: Phil Davidson (https:#a40784526)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

suhasbharadwaj
Experts-Exchange Cleanup Volunteer
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Python

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.