Permanently set Python path for Anaconda within Cygwin

后端 未结 8 1764
盖世英雄少女心
盖世英雄少女心 2020-12-13 06:32

I\'m trying to install Anaconda on my Windows 7 machine. I often use cygwin to for my command-line work, and I would like to manage Anaconda from there. I\'ve worked through

8条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-13 07:09

    Found that for Anaconda 4, do:

    vim /home/[Username]/.bash_profile
    

    Append to the last line:

    PATH=$PATH:/cygdrive/c/Users/[Username]/Anaconda3/Scripts/
    

    This solution worked for me as the usual anaconda3/bin could not be found.

提交回复
热议问题