<div dir="ltr">For Enterprise Linux distros, you can generally find packages using <a href="http://rpmfind.net">rpmfind.net</a>.  Some are put together by less well known packagers, so please be careful.  The IUS repo is probably your best bet if you're not on fedora to get the latest upstream packages from a reliable team and not breaking namespaces.<div><br></div><div>For ubuntu, 16.10 and above have python3.6 packaged and ready.  If you're on an older version (which is a reasonable guess), you can get all versions through 3.5.1 from this repo: <a href="https://launchpad.net/~fkrull/+archive/ubuntu/deadsnakes">https://launchpad.net/~fkrull/+archive/ubuntu/deadsnakes</a>.  Alas, the maintainer ran out of time to be able to support this.  As I tend to run a lot more on enterprise linux... I really can't recommend much else.</div><div><br></div><div>An alternative is to switch to using anaconda (once they upgrade, they are slower as they have a *lot* of stuff to maintain and test).  This works cross-platform (windows, mac, most varieties of linux) and is highly recommended if your sysadmin skills aren't strong.</div><div><br></div><div>-Max</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 13, 2017 at 8:01 PM, pybokeh <span dir="ltr"><<a href="mailto:pybokeh@gmail.com" target="_blank">pybokeh@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div>Just curious if there is a better way to install a Python version from source on Linux and then make virtual environment using that new Python version.<br><br></div>Here are my steps / procedure:<br></div># Install necessary dependencies<br>sudo apt-get install build-essential libsqlite3-dev sqlite3 bzip2 libbz2-dev<br>sudo apt-get install libreadline-dev libncursesw5-dev libncurses5-dev zlib1g-dev libssl-dev tk-dev<br><br></div># Download source:<br>wget <a href="https://www.python.org/ftp/python/3.5.1/Python-3.5.1.tar.xz" target="_blank">https://www.python.org/ftp/<wbr>python/3.5.1/Python-3.5.1.tar.<wbr>xz</a><br><br></div># Extract, configure, make, and make install<br>tar xf Python-3.5.1.tar.xz<br>cd Python-3.5.1<br>./configure --prefix=/opt/python3.5.1<br>make && sudo make install<br><br></div># Find location of Python installation:<br>whereis python<br><br></div># Create folder to contain your virtual environments:<br>mkdir ~/envs<br></div>cd ~/envs<br><br># create bottle virtual environment using Python 3.5's venv<br>/opt/python3.5.1/bin/python3.5 -m venv bottle<br><br></div># Activate bottle environment:<br>cd bottle<br>source bin/activate<br>pip --version           # confirm pip/python version<br><br></div># Install packages:<br></div>pip install <package_name><br><br></div># deactivate virtual environment:<br></div>deactivate<br><br></div>- Daniel<br></div>
<br>______________________________<wbr>_________________<br>
CentralOH mailing list<br>
<a href="mailto:CentralOH@python.org">CentralOH@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/centraloh" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/centraloh</a><br>
<br></blockquote></div><br></div>