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

Link to this comparison view

python3 [2018/07/30 12:05]
dblume [Modules]
python3 [2018/07/30 18:01] (current)
dblume [Modules]
Line 17: Line 17:
 tar -xvf Python-3.7.0.tgz tar -xvf Python-3.7.0.tgz
 cd Python-3.7.0/ cd Python-3.7.0/
-./configure --prefix=/opt/python3 --enable-optimizations+./configure --prefix=/usr/local/bin/python3.7 --enable-optimizations
 make make
 sudo make install sudo make install
-# sudo ln -s /opt/python3/bin/python3 /usr/bin/python3+# sudo ln -s /usr/local/bin/python3.7/bin/python3 /usr/bin/python3
 </code> </code>
Line 53: Line 53:
 sudo python3 -m pip install requests sudo python3 -m pip install requests
 python3 -m pip install --user --upgrade httpie python3 -m pip install --user --upgrade httpie
 +===== Weird hack for impyla =====
 +Refers to https://stackoverflow.com/questions/43918993/python-buildpack-fatal-error-sasl-sasl-h-no-such-file-or-directory
 +<code bash>
 +sudo python3 -m pip install --no-deps impyla
 +sudo python3 -m pip install --no-deps git+https://github.com/snowch/thrift_sasl
 +# sudo python3 -m pip install thriftpy
 </code> </code>
python3.1532977543.txt.gz · Last modified: 2018/07/30 12:05 by dblume
Recent changes RSS feed Driven by DokuWiki