Hi,
This line in your error report
File
"/Library/Python/2.7/site-packages/concurrent/futures/__init__.py", line
8, in <module>
shows to me that somehow you have an environment where Anaconda and
System Python are getting called to each other. Even worst, Anaconda's
Python 3.4 is calling the Python 2.7 from your system, which is giving
you the error you're seeing.
I don't know how you ended up in that state. Probably you added
something to your PATH or PYTHONPATH env vars and you don't remember
about it :-)
In any case, I'm sorry to say that this looks like a problem in your
system, so there's little we can do to help you about it.
Cheers,
Carlos
El 13/10/15 a las 09:08, Harry Stromfelt escribió:
Hi,
I recently installed Anaconda on OSX. I had Spyder already installed
but wanted to use it with Anaconda and all of the packages that come
with it. I think the fact that I already had Spyder, or had it opened,
screwed something up because Spyder won't load from Anaconda launcher
or from the terminal.
I have now uninstalled the Spyder application so I only have what
Anaconda gives you.
Here is the traceback:
$ spyder
2015-10-13 14:59:52.927 python[2715:27586] modalSession has been
exited prematurely - check for a reentrant call to endModalSession:
Traceback (most recent call last):
File
"/Users/HStromfelt/anaconda/lib/python3.4/site-packages/spyderlib/spyder.py",
line 2331, in main
mainwindow = run_spyder(app, options, args)
File
"/Users/HStromfelt/anaconda/lib/python3.4/site-packages/spyderlib/spyder.py",
line 2215, in run_spyder
main.setup()
File
"/Users/HStromfelt/anaconda/lib/python3.4/site-packages/spyderlib/spyder.py",
line 752, in setup
from spyderlib.plugins.inspector import ObjectInspector
File
"/Users/HStromfelt/anaconda/lib/python3.4/site-packages/spyderlib/plugins/inspector.py",
line 41, in <module>
from spyderlib.widgets.ipython import IPythonControlWidget
File
"/Users/HStromfelt/anaconda/lib/python3.4/site-packages/spyderlib/widgets/ipython.py",
line 32, in <module>
from qtconsole.rich_jupyter_widget import RichJupyterWidget as
RichIPythonWidget
File
"/Users/HStromfelt/anaconda/lib/python3.4/site-packages/qtconsole/rich_jupyter_widget.py",
line 14, in <module>
from .jupyter_widget import JupyterWidget
File
"/Users/HStromfelt/anaconda/lib/python3.4/site-packages/qtconsole/jupyter_widget.py",
line 21, in <module>
from .frontend_widget import FrontendWidget
File
"/Users/HStromfelt/anaconda/lib/python3.4/site-packages/qtconsole/frontend_widget.py",
line 21, in <module>
from qtconsole.base_frontend_mixin import BaseFrontendMixin
File
"/Users/HStromfelt/anaconda/lib/python3.4/site-packages/qtconsole/base_frontend_mixin.py",
line 3, in <module>
from jupyter_client import BlockingKernelClient
File
"/Users/HStromfelt/anaconda/lib/python3.4/site-packages/jupyter_client/__init__.py",
line 7, in <module>
from .manager import KernelManager, run_kernel
File
"/Users/HStromfelt/anaconda/lib/python3.4/site-packages/jupyter_client/manager.py",
line 32, in <module>
from .session import Session
File
"/Users/HStromfelt/anaconda/lib/python3.4/site-packages/jupyter_client/session.py",
line 48, in <module>
from zmq.eventloop.ioloop import IOLoop
File
"/Users/HStromfelt/anaconda/lib/python3.4/site-packages/zmq/eventloop/__init__.py",
line 3, in <module>
from zmq.eventloop.ioloop import IOLoop
File
"/Users/HStromfelt/anaconda/lib/python3.4/site-packages/zmq/eventloop/ioloop.py",
line 35, in <module>
from tornado.ioloop import PollIOLoop, PeriodicCallback
File
"/Users/HStromfelt/anaconda/lib/python3.4/site-packages/tornado/ioloop.py",
line 46, in <module>
from tornado.concurrent import TracebackFuture, is_future
File
"/Users/HStromfelt/anaconda/lib/python3.4/site-packages/tornado/concurrent.py",
line 37, in <module>
from concurrent import futures
File
"/Library/Python/2.7/site-packages/concurrent/futures/__init__.py",
line 8, in <module>
from concurrent.futures._base import (FIRST_COMPLETED,
File
"/Library/Python/2.7/site-packages/concurrent/futures/_base.py", line 355
raise type(self._exception), self._exception, self._traceback
^
SyntaxError: invalid syntax
Thanks for your help! I am really stuck with this one...
Harry
--
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]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
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].
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.