Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
this is fantastic. First time I managed to successfully install a Python environment. Great work, thank you.
The command yum -y install python35u-3.5.2 no longer works because 3.5.3-1 has been released. IUS packages follow the upstream releases, so the version number of the python35u package will continue to change over time. That command should be changed to just yum -y install python35u, so that way it always installs the current 3.5.x version.
Hello Thank you for the write up on CentOS, Mac, etc.
A couple of questions regarding the code and execution in the sample Python application.
I’m not clear if the file being created resides in the individual virtual environment directory or at the Environments directory. Could you state where your files should be placed in the virtual environments of if they should reside in the “Environments” directory?
Next, the code being executed in your example does not appear to be related to the virtual environment. One can activate the environment and/or deactivate the environment and the code still executes. For example: putting the file in either the Environments directory or the virtualenv_directory on creates, then typing python or python3 hello.py in both active and inactive states has the code execute.
So, the question is which Python is executing the code and/or it it automatically switching PATHs like one would do in pyenv commands?
Thank you.
This comment has been deleted
Problem there is no package python36u-pip in the IUS repositories! I assume there is an alternate way of running or installing pip without a specific package? Unfortunately I am not a python programmer, just a system administrator installing it for others.
I understand that CentOS 7 comes with pre-installed python 2.7 that is used by the OS for scripting and other internal uses. I have searched many websites and most of them recommend that we install our version of python into a separate path and should not touch or overwrite the existing python or the OS might break. From your steps here, will installing the IUS followed by ‘sudo yum -y install python36u’ actually overwrite the system Python ?
The link to IUS rpm is outdated. One of these links can be used instead:
https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm