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

  • 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
主站蜘蛛池模板: 曲靖市| 双江| 寿阳县| 桂东县| 万源市| 连州市| 南川市| 玉溪市| 奉节县| 阳信县| 大余县| 济南市| 大同县| 广安市| 灵宝市| 公安县| 普格县| 丰城市| 定边县| 古田县| 普兰县| 恩施市| 盐山县| 陆丰市| 仙游县| 大化| 靖边县| 治县。| 合肥市| 仪征市| 翁牛特旗| 宾川县| 平和县| 江永县| 岳池县| 德州市| 乌鲁木齐市| 无锡市| 镇坪县| 通江县| 清苑县|