Thanks! I tried importing rope and it failed. So i figured rope is somewhere in spyder. There was a folder in C:\Python34\Lib\site-packages\spyderlib\utils\external called rope. I renamed it to rope2 (what a creativity) and now spyder works. In the rope folder there are only the compiled python files. The files are probably left over from when I uninstalled it earlier.
It works even without having installed rope. Where in spyder is rope used? Installing rope with pip fails because the version in pypi is older than the github version. Does it happen often that packages in pypi are outdated? or is there a mechanism in place for automatic updates? On Thursday, July 16, 2015 at 9:42:21 PM UTC+2, Adrian Klaver wrote: > > On 07/16/2015 08:54 AM, [email protected] <javascript:> wrote: > > Thanks for the reply! > > > > Is --show-console specific to spyder? > > this is the output: > > | > > C:\Python34\Scripts>py spyder --show-console > > Traceback(most recent call last): > > File"spyder",line 3,in<module> > > start_app.main() > > File"C:\Python34\lib\site-packages\spyderlib\start_app.py",line > 115,inmain > > spyder.main() > > File"C:\Python34\lib\site-packages\spyderlib\spyder.py",line 2283,inmain > > app =initialize() > > File"C:\Python34\lib\site-packages\spyderlib\spyder.py",line > > 2139,ininitialize > > rope_patch.apply() > > File"C:\Python34\lib\site-packages\spyderlib\rope_patch.py",line > 35,inapply > > ifrope.VERSION notin('0.10.2','0.9.4-1','0.9.4','0.9.3','0.9.2'): > > AttributeError:'module'objecthas noattribute 'VERSION' > > | > > > > So it seems like the rope module is missing. > > No, that is not what saying. It is saying it imported rope, but that > whatever it imported as rope does not have the attribute VERSION. > > I would open a Python or IPython shell outside of Spyder and do: > > import rope > help(rope) > rope.VERSION > > The help should tell you where the module is coming from. > The rope.VERSION is just to test whether this a Spyder only problem or a > system problem. > > > > > But I have not found a rope for python 3. > > The latest version of rope should be Python 3 compatible: > > https://github.com/python-rope/rope > > > Is it possible to install it from source using python 3? > > You could, but I would first diagnose what is happening now before that. > > > > > thanks. > > > > On Thursday, July 16, 2015 at 3:54:42 PM UTC+2, Carlos Córdoba wrote: > > > > Hi, > > > > There are a couple of things here: > > > > 1. Unfortunately our Windows installers for Python 3 don't create > > desktop shortcuts nor menu entries. That's caused by a bug in Python > > itself, that's going to be fixed in Python 3.5. > > > > 2. Please start Spyder with the following option > > > > py spyder --show-console > > > > to see what's the error that's crashing Spyder. > > > > 3. If you're new to Scientific Python, I'd suggest to read our > > installation instructions with care: > > > > http://pythonhosted.org/spyder/installation.html > > > > to understand how to better install and use Spyder on Windows. > > > > > > Cheers. > > Carlos > > > > El 16/07/15 a las 04:18, [email protected] <javascript:> > > escribió: > >> I haven't had issues with pylauncher before. > >> > >> To check if pylauncher is the cause of the problem, I added python > >> to the system path. > >> Opened cmd again and did > >> python spyder > >> > >> No difference at all. > >> > >> > >> On Tuesday, July 14, 2015 at 6:09:20 PM UTC+2, Adrian Klaver wrote: > >> > >> On 07/14/2015 04:45 AM, [email protected] wrote: > >> > > >> < > https://4.bp.blogspot.com/-R2gwe9SPfaM/Uh2qCo0PS2I/AAAAAAAAA1s/JbKXb6Jwk14/s1600/Screenshot+from+2013-08-28+15:39:48.png> > > > >> > >> > > >> > There is no spyder3. > >> > If I do py spyder there. > >> > I waits for a few seconds. the spyder loading popup/starter > >> things shows > >> > for half a second. this one (from google images). > >> > cmd closes. > >> > >> So you are doing this from inside a terminal window? > >> > >> My guess is this has something to do with how pylauncher > >> works. I do not > >> use Windows much, if at all, these days, but I do remember > >> that Windows > >> command windows tend to close immediately on execution of a > >> script. > >> Maybe someone else on this list that has more experience with > >> Windows > >> can help. Otherwise you might want to pose the question to > >> pylauncher folks. > >> > >> > > >> > > >> > >> > >> -- > >> Adrian Klaver > >> [email protected] > >> > >> -- > >> You received this message because you are subscribed to the Google > >> Groups "spyder" group. > >> To unsubscribe from this group and stop receiving emails from it, > >> send an email to [email protected] <javascript:>. > >> To post to this group, send email to [email protected] > >> <javascript:>. > >> Visit this group at http://groups.google.com/group/spyderlib. > >> For more options, visit https://groups.google.com/d/optout. > > > > -- > > You received this message because you are subscribed to the Google > > Groups "spyder" group. > > To unsubscribe from this group and stop receiving emails from it, send > > an email to [email protected] <javascript:> > > <mailto:[email protected] <javascript:>>. > > To post to this group, send email to [email protected] > <javascript:> > > <mailto:[email protected] <javascript:>>. > > Visit this group at http://groups.google.com/group/spyderlib. > > For more options, visit https://groups.google.com/d/optout. > > > -- > Adrian Klaver > [email protected] <javascript:> > -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/spyderlib. For more options, visit https://groups.google.com/d/optout.
