-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pkg_resources.DistributionNotFound: jedi>=0.7.0 #184
Comments
I cannot reproduce this issue. Reference |
I had already tried that, but I did it again just to make sure and it had no effect. |
I am having the same error - jedi mode unusable with same symptoms. Seemed to be working for me last week. Jedi claims to be pip freeze:
NOTE that |
@muonzoo Did you try my suggestion to modify ~/.emacs.d/.python-environments/default/lib/python2.7/site-packages/jediepcserver-0.0.0-py2.7.egg-info/requires.txt so that it doesn't care about the version of jedi used (i.e replace jedi>=0.7.0 with just jedi) |
Yes my
And this installs and appears to run. I'm now having an unrelated |
I'm also having the same issue, which I think is related to a @IvanMalison fix worked like a charm, thanks. |
Same issue, @IvanMalison fix solved the problem for me. |
I am experiencing this issue but I am still on 2.7.8 -- I did do a |
Yes : |
Yes, I'm on Yosemite |
I cannot reproduce this issue with Mac OSX Yosemite and homebrew python 2.7.9. |
@syohex what version of jedi is installed in the virtualenv of your jedi server? |
0.8.1. Here is output of
|
Hmm, my version info is slightly different (notice the -final0 at the end of the jedi version)
But I actually have another computer for which it is the same:
but force which I have encountered no issues. I wonder why you are getting a slightly different version of jedi. |
This |
Should we apply the fix like following ? diff --git a/setup.py b/setup.py
index b450558..3dbd85c 100644
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ setup(
name='jediepcserver',
py_modules=['jediepcserver'],
install_requires=[
- "jedi>=0.7.0",
+ "jedi==0.8.1",
"epc>=0.0.4",
"argparse",
], |
(I do not know Python version numbering and version number comparison well.
I'll replace |
@syohex writes:
This might help, yes. I will try a clean install once this is done to see if the problem still exists / can be recreated by reverting. |
I applied @syohex's fix manually (by doing |
This is workaround. Latest jedi version 0.8.1-final0 but this is invalid version for Python. This makes some issue such as #184. This workaround will be removed if valid version jedi will be released in the future.
I have applied workaround patch at #187. |
Still the same. It installed -final0 version for me. |
I've been getting this error after installing jedi a virtualenvironment using jedi:install-server
I'm using a homebrew installed python, and I suspect that this may have something to do with that. I haven't had any time to investigate, but I just wanted to post this here in case anyone else is having this issue. I've been able to work around this issue by editing
~/.emacs.d/.python-environments/default/lib/python2.7/site-packages/jediepcserver-0.0.0-py2.7.egg-info/requires.txt
so that it doesn't care about the version of jedi used (i.e replacejedi>=0.7.0
with justjedi
).Here is some basic information about my system:
Version of emacs-jedi
;; Version: 0.2.0alpha2
uname -v
Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64
python --version
Python 2.7.9
type -a python
python is /usr/local/bin/python
readlink -f $(which python)
/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Inside of virtualenv created by jedi install:
source ~/.emacs.d/.python-environments/default/bin/activate && pip freeze
source ~/.emacs.d/.python-environments/default/bin/activate && python --version
Python 2.7.9
The text was updated successfully, but these errors were encountered: