atom-community / atom-community/ide-python

Jedi not using specified python version

未关闭
#130 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
238
派生
40
PR 合并指标
30 天内没有已合并 PR

描述

Jedi appears to be using a python version, different from the one specified in the settings.

I have the python path set to:

C:\Users\m.langiu\AppData\Local\Continuum\anaconda3\python.exe

And when attempting to use *find references* I get the error:

Find References: Error: jedi.api.exceptions.InternalError: The subprocess C:\cygwin64\bin\python2.7.exe has crashed.

OS: Windows 10
Atom : 1.28.1
Electron: 2.0.4
Chrome : 61.0.3163.100
Node : 8.9.3
python-language-server: 0.19.0

贡献指南

打开贡献指南

调研方向

首先,在 Windows 10 上使用已配置的 Anaconda python.exe 和所报告的 python-language-server 0.19.0 环境重现 Find References。跟踪 Python 路径设置如何传递到 Jedi,并将其与观察到的 Cygwin python2.7.exe 子进程进行比较。当 Find References 使用指定的 Python 可执行文件,而不是无关的 Cygwin 解释器时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript, python
领域
tooling
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。