python3
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| python3 [2018/10/06 07:29] – [Debian based distros] dblume | python3 [2023/04/14 20:37] (current) – dblume | ||
|---|---|---|---|
| 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  | 
| For Debian (eg., Rasbian) try [[http:// | For Debian (eg., Rasbian) try [[http:// | ||
| Line 37: | Line 37: | ||
| </ | </ | ||
| - | On Raspbian Jessie  | + | ==== (Aside) OpenSSL 1.0.1 issue in Raspbian ==== | 
| + | |||
| + | On Raspbian Jessie  | ||
| < | < | ||
| Line 86: | Line 88: | ||
| </ | </ | ||
| - | 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 != " | 
| </ | </ | ||
| ===== Modules ===== | ===== Modules ===== | ||
| - | Sometimes I have trouble with pip3 (ImportError: | + | Sometimes I have trouble with pip3 (ImportError: | 
| <code bash> | <code bash> | ||
| Line 117: | Line 121: | ||
| sudo python3 -m pip install --no-deps git+https:// | sudo python3 -m pip install --no-deps git+https:// | ||
| # sudo python3 -m pip install thriftpy | # sudo python3 -m pip install thriftpy | ||
| + | </ | ||
| + | |||
| + | ===== MatPlotLib ===== | ||
| + | |||
| + | There' | ||
| + | |||
| + | <code python> | ||
| + | import matplotlib | ||
| + | matplotlib.use(' | ||
| </ | </ | ||
python3.1538836146.txt.gz · Last modified: 2023/04/12 20:44 (external edit)