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

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
主站蜘蛛池模板: 溧水县| 永定县| 清河县| 南汇区| 阿坝| 乃东县| 伽师县| 长沙县| 丰顺县| 永顺县| 通榆县| 保德县| 沁源县| 钟山县| 厦门市| 沙河市| 文成县| 晋江市| 读书| 四川省| 九台市| 滁州市| 徐州市| 灵宝市| 麻江县| 丰镇市| 云梦县| 怀集县| 杂多县| 隆尧县| 读书| 金寨县| 从江县| 卓尼县| 红桥区| 舞钢市| 龙川县| 谢通门县| 玉环县| 中阳县| 迁安市|