After I instaled Python 2.7.3 spyder stop working:

C:\Python27\Lib\site-packages\spyderlib>spyder.py --debug
Traceback (most recent call last):
  File "C:\Python27\Lib\site-packages\spyderlib\spyder.py", line 96,
in <module>

    from spyderlib.plugins.editor import Editor
  File "C:\Python27\lib\site-packages\spyderlib\plugins\editor.py",
line 35, in
<module>
    from spyderlib.widgets.editor import (ReadWriteStatus,
EncodingStatus,
  File "C:\Python27\lib\site-packages\spyderlib\widgets\editor.py",
line 32, in
<module>
    from spyderlib.utils.module_completion import moduleCompletion
  File "C:\Python27\lib\site-packages\spyderlib\utils
\module_completion.py", lin
e 31, in <module>
    db = PickleShareDB(MODULES_PATH)
  File "C:\Python27\lib\site-packages\spyderlib\utils\external
\pickleshare.py",
line 53, in __init__
    if not self.root.isdir():
TypeError: _isdir() takes exactly 1 argument (0 given)

C:\Python27\Lib\site-packages\spyderlib>


So, I changed spyderlib\utils\external\path.py

line 792:
    isdir = os.path.isdir

to:
    def isdir(self):
        return os.path.isdir(self)

https://github.com/ipython/ipython/issues/737/#issuecomment-2113372

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/spyderlib?hl=en.

Reply via email to