【发布时间】:2019-04-02 23:15:40
【问题描述】:
我准备好了一个 .bash_profile 文件。当我激活我的虚拟环境时,我无法访问它。环境 bash_profile 为空白。有没有办法将我的正常 bash_profile “导入”到所有/选择的虚拟环境中
我相信我正在通过 anaconda 发行版创建虚拟环境,这与 .bash_profile 的路径有点混乱。
【问题讨论】:
标签: python bash shell anaconda
我准备好了一个 .bash_profile 文件。当我激活我的虚拟环境时,我无法访问它。环境 bash_profile 为空白。有没有办法将我的正常 bash_profile “导入”到所有/选择的虚拟环境中
我相信我正在通过 anaconda 发行版创建虚拟环境,这与 .bash_profile 的路径有点混乱。
【问题讨论】:
标签: python bash shell anaconda
原来我只需要从环境中使用source ~/.bash_profile 获取“home”bash_profile。
【讨论】: