官术网_书友最值得收藏!

Setting environment variables in Linux

Linux comes with different types of shells and the Python directory path is usually /usr/local/bin/python:

  • csh shell: Open the terminal and enter setenv PATH "$PATH:/usr/local/bin/python" followed by pressing Enter
  • bash shell: On the terminal, enter export PATH="$PATH:/usr/local/bin/python" followed by pressing Enter
  • sh or ksh shell: Enter PATH="$PATH:/usr/local/bin/python" followed by pressing Enter
主站蜘蛛池模板: 瑞金市| 江城| 陆丰市| 吴江市| 西宁市| 井研县| 新化县| 仁怀市| 邢台县| 漳平市| 盐源县| 兴海县| 长顺县| 冀州市| 安顺市| 敖汉旗| 西华县| 察隅县| 中山市| 瑞安市| 青河县| 紫阳县| 金阳县| 壶关县| 文昌市| 宁明县| 钟祥市| 龙里县| 巴楚县| 金寨县| 正定县| 古交市| 碌曲县| 福州市| 雷山县| 三亚市| 谷城县| 新安县| 澎湖县| 抚顺市| 胶州市|