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

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
主站蜘蛛池模板: 荔浦县| 合山市| 自贡市| 广南县| 来安县| 长武县| 启东市| 苍梧县| 阿图什市| 永定县| 连平县| 阿克苏市| 天津市| 商都县| 承德市| 鄂州市| 平谷区| 卢湾区| 福清市| 佳木斯市| 类乌齐县| 昭苏县| 临洮县| 深水埗区| 碌曲县| 巴楚县| 萨嘎县| 浏阳市| 桐庐县| 天台县| 军事| 张北县| 乐都县| 林芝县| 瑞安市| 尚义县| 永德县| 吉安县| 治多县| 荆门市| 清徐县|