当前位置:首页 > 编程笔记 > 正文
已解决

解决conda active命令报错

来自网友在路上 175875提问 提问时间:2023-11-05 06:43:59阅读次数: 75

最佳答案 问答题库758位专家为你答疑解惑

打开miniconda3/Scriptes/conda-script.py文件添加DLL搜索路径

if __name__ == '__main__':

    import os

    file_path = os.path.abspath(__file__)

    root_dir = os.path.dirname(file_path)

    print('root_dir:' + root_dir)

    sys.path.append(os.path.join(root_dir, '../DLL'))

    from conda.cli import main

    sys.exit(main())

查看全文

99%的人还看了

猜你感兴趣

版权申明

本文"解决conda active命令报错":http://eshow365.cn/6-32498-0.html 内容来自互联网,请自行判断内容的正确性。如有侵权请联系我们,立即删除!