Skip to content
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

Bundled rope version is causing Spyder to crash #2779

Closed
sdbaylis opened this issue Oct 23, 2015 · 12 comments
Closed

Bundled rope version is causing Spyder to crash #2779

sdbaylis opened this issue Oct 23, 2015 · 12 comments

Comments

@sdbaylis
Copy link

When I launch Spyder, rope throws an exception (attached screenshot). Some details on my install:

Windows 7 Professional 64bit
Python 3.4 amd64
I've installed the relevant PySide and PyQt4 libraries.

Any help hugely appreciated!
spyder_launch_error

@ccordoba12
Copy link
Member

You're using the wrong version of rope for your Python version. Please run

pip uninstall rope
pip install rope_py3k

@sdbaylis
Copy link
Author

Hi Carlos. That didn't work I'm afraid. When I try to uninstall rope, I get the error below.
When I install rope_py3k, I still get the same error when launching Spyder.
2015-10-24_142852

@ccordoba12
Copy link
Member

Well, I don't know how you installed rope. You need to look in your site-packages directory and remove rope manually.

@vishniakou
Copy link

I had the same problem. I solved it by deleting the following directory:
Python34\Lib\site-packages\spyderlib\utils\external\rope

Now spyder opens up okay, but shows that jedi and rope are not installed. Have not yet looked into that further

Edit:
I was able to install the packages afterwards by running:
pip install rope-py3k
pip uninstall jedi
pip install jedi==0.8.1

Now optional dependencies shows everything is present.

@sdbaylis
Copy link
Author

sdbaylis commented Nov 6, 2015

Quite right, that's sorted it. It looks like the Pyhton3 AMD64 version of Spyder that I installed came bundled with an incorrect version of rope.

Got Spyder working now - great development environment!

@ccordoba12 ccordoba12 changed the title Crashes on launch, exception thrown in rope Bundled rope version is causing Spyder to crash Nov 6, 2015
@ccordoba12 ccordoba12 added this to the v3.0 milestone Nov 6, 2015
@ccordoba12
Copy link
Member

@vishniakou, thanks for finding the cause of this problem. We'll fix it for Spyder 3.0.

@Nodd
Copy link
Contributor

Nodd commented Nov 6, 2015

@ccordoba12 Is this not tested by travis/appveyor ? I didn't look precisely but I thought external dependencies were tested.

@ccordoba12
Copy link
Member

I think this problem is caused by our Windows exe installers (which are untested) because they install a copy of rope in utils/external.

I hope this would be fixed when we stop to distribute those installers and only use wheels.

@ccordoba12
Copy link
Member

This is fixed now in pull request #2831 and it's going to be part of Spyder 3.0

@eduamf
Copy link

eduamf commented Feb 24, 2018

Spyder 3.2.6 is not recognizing the jedi version 0.11.

I recomend you to install the jedi version 0.10.0

pip uninstall jedi
pip install jedi==0.10.0

Now it's ok

image

@CAM-Gerlach
Copy link
Member

@eduamf We appreciate you trying to help. However, are you aware the issue you are responding to was closed almost two and a half years ago, likely has nothing to do with what you posted, and any issue is not, in fact "Spyder not recognizing jedi version 0.11" but rather incompatibility between certain third-party, non-Spyder packages? Furthermore, the commands given would likely break most users' installs who use the recommended Anaconda distribution, both due to installing via pip and because jedi 0.10 is not compatible with the current version of parso, 0.11, which breaks Spyder's completion, introspection and help and causes continuous error messages when trying to use them.

@eduamf
Copy link

eduamf commented Mar 19, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants