pycharm配置anaconda: can‘t open file ‘create‘: [Errno 2] No such file or directory

电脑新安装了anaconda和pycharm,并且在anaconda中配置了python2.7

在配置python解释器时报错:anaconda\envs\py27\python.exe: can't open file 'create': [Errno 2] No such file or directory

按照网上的教程设置python.exe一直改不好,后发现是需要配置conda.exe

按照如下路径操作: 将Conda executable改为conda.exe的路径

 使用之前创建的python2.7的虚拟环境的话,把版本改为2.7,或者是修改下面Existing environment的Interpreter内容,选择你想使用的python中的python.exe文件路径。这里使用的是自己新建的py2虚拟环境中的python2.7的python.exe文件。

参考链接:

D:\anaconda3\envs\py2\python.exe: can‘t open file ‘create‘: [Errno 2] No such file or directory_HQXQ2874760112的博客-CSDN博客  https://blog.csdn.net/hqxq2874760112/article/details/120821169 

  • 14
    点赞
  • 21
    收藏
    觉得还不错? 一键收藏
  • 7
    评论
can't open file '[Errno 2] No such file or directory'是出现在Linux系统中运行程序时的错误提示。这个错误提示意味着系统无法找到指定的文件或目录。 可能的原因及解决方法如下: 1. 第一个可能的原因是在指定的路径下没有对应的文件。解决方法是检查路径是否正确,并确保文件存在于指定的路径下。 另外,引用中提到的错误提示是在配置Python解释器时出现的。这个错误提示表示系统无法找到指定的文件或目录。解决方法是检查路径是否正确,并确保文件存在于指定的路径下。 总结来说,无论是在运行程序时还是在配置Python解释器时出现can't open file '[Errno 2] No such file or directory'的错误提示,都需要确保指定的文件存在于正确的路径下。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [问题总结python: can‘t open file ‘XXX‘: [Errno 2] No such file or directory](https://blog.csdn.net/weixin_51736742/article/details/119863044)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] - *2* *3* [pycharm配置anaconda: can‘t open filecreate‘: [Errno 2] No such file or directory](https://blog.csdn.net/u010984516/article/details/125517492)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]
评论 7
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值