[[Python3]]
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

python3 [2018/10/06 07:29]
dblume [Debian based distros]
python3 [2018/10/06 08:03] (current)
dblume [Modules]
Line 29: Line 29:
 For **OS X**, brew upgrading httpie seems to upgrade to the latest Python 3, so I didn't have to do stuff. For **OS X**, brew upgrading httpie seems to upgrade to the latest Python 3, so I didn't have to do stuff.
  
-===== Debian based distros =====+===== Debian based distros (Start) =====
  
 For Debian (eg., Rasbian) try [[http://www.unixmen.com/howto-install-python-3-x-in-ubuntu-debian-fedora-centos/|the following]] (on raspberry pi libssl-dev isn't available): For Debian (eg., Rasbian) try [[http://www.unixmen.com/howto-install-python-3-x-in-ubuntu-debian-fedora-centos/|the following]] (on raspberry pi libssl-dev isn't available):
Line 37: Line 37:
 </code> </code>
  
-On Raspbian Jessie configure command (below) may have output that looks like this:+==== (Aside) OpenSSL 1.0.1 issue in Raspbian ==== 
 + 
 +On Raspbian Jessie the make command (below) may have output that looks like this:
  
 <code> <code>
Line 86: Line 88:
 </code> </code>
  
-Then, back to Python3, on Raspbian, I put it in the default location:+===== Debian based distros (Continued) ===== 
 + 
 +Then, back to Python3, on Raspbian, I put it in the default location, /usr/local:
  
 <code bash> <code bash>
Line 94: Line 98:
 make -j4 make -j4
 sudo make install sudo make install
-[[ -z $STY ]] || exit  # exit if in screen session+[[ $TERM != "screen" ]] || exit  # exit if in screen session
 </code> </code>
  
 ===== Modules ===== ===== Modules =====
  
-Sometimes I have trouble with pip3 (ImportError: cannot import name 'main' from 'pip'), so prefer to use "python 3 -m pip" instead.+Sometimes I have trouble with pip3 (ImportError: cannot import name 'main' from 'pip'), so prefer to use "python3 -m pip" instead.
  
 <code bash> <code bash>
python3.1538836146.txt.gz · Last modified: 2018/10/06 07:29 by dblume
 
Recent changes RSS feed Driven by DokuWiki