-1
我是新的python3我不知道如何在Ubuntu 16.04中設置PYTHONHOME。 我試過whereis python它顯示如下 這個很多版本它顯示。從這個如何設置pythonhome爲python3.x如何我可以設置pythonhome
[email protected]:~$ whereis python
python: /usr/bin/python /usr/bin/python3.5 /usr/bin/python2.7
/usr/bin/python3.5m-config /usr/bin/pythnfig
/usr/bin/python3.5m /usr/lib/python3.5 /usr/lib/python2.7
/etc/python /etc/python3.5 /etc/python2local/lib/python3.5
/usr/local/lib/python2.7 /usr/include/python3.5
/usr/include/python3.5m
/usr/share/usr/share/man/man1/python.1.gz
[email protected]:~$ echo ${PYTHONPATH}
[email protected]:~$
你問'PYTHONHOME'但呼應'PYTHONPATH' – doelleri
@ doelleri echo'$ {PYTHONPATH}'返回空路徑 –