atom-community / atom-community/ide-python

Jedi not using specified python version

Open
#130 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
238
Forks
40
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Research direction

Start by reproducing Find References on Windows 10 with the configured Anaconda python.exe and the reported python-language-server 0.19.0 environment. Trace how the Python path setting reaches Jedi and compare it with the observed Cygwin python2.7.exe subprocess. Done means Find References uses the specified Python executable rather than the unrelated Cygwin interpreter.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, python
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.