User Tools

Site Tools


python3

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
python3 [2018/10/06 08:00] – [Debian based distros] dblumepython3 [2023/04/14 20:37] (current) dblume
Line 103: Line 103:
 ===== 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>
Line 121: Line 121:
 sudo python3 -m pip install --no-deps git+https://github.com/snowch/thrift_sasl sudo python3 -m pip install --no-deps git+https://github.com/snowch/thrift_sasl
 # sudo python3 -m pip install thriftpy # sudo python3 -m pip install thriftpy
 +</code>
 +
 +===== MatPlotLib =====
 +
 +There's another note on MatPlotLib over at my [[wsl]] page. For the first time on a Macintosh, I had to set the MatPlotLib backend to 'MacOSX'. Otherwise the plot window would appear but not draw any lines.
 +
 +<code python>
 +import matplotlib
 +matplotlib.use('MacOSX')
 </code> </code>
python3.1538838039.txt.gz · Last modified: 2023/04/12 20:44 (external edit)