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

  • Learn Python in 7 Days
  • Mohit Bhaskar N. Das
  • 61字
  • 2021-07-09 20:40:20

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
主站蜘蛛池模板: 双桥区| 黄冈市| 晋中市| 赤峰市| 绥滨县| 同仁县| 资源县| 莆田市| 龙胜| 高安市| 凉山| 宁远县| 东丰县| 临沧市| 长春市| 土默特左旗| 通河县| 西平县| 高陵县| 桦甸市| 黄石市| 咸阳市| 闸北区| 昭苏县| 寻乌县| 丰顺县| 宜良县| 甘肃省| 泾川县| 健康| 于田县| 岱山县| 衢州市| 高邮市| 大悟县| 遂昌县| 涞源县| 娄烦县| 绵竹市| 自治县| 于田县|