On 05/31/2015 01:35 AM, Rui wrote:
I fail to launch an IPython console in spyder. Can anybody help?

Not without more information:

1) What OS and version?

2) What Spyder version?


below is the error message:

An error ocurred while starting the kernel
'import sitecustomize' failed; use ‑v for traceback
Traceback (most recent call last):
File
"/Users/LinRui/anaconda/lib/python2.7/site‑packages/spyderlib/widgets/externalshell/start_ipython_kernel.py",
line 163, in
ipk_temp.config = kernel_config()
File
"/Users/LinRui/anaconda/lib/python2.7/site‑packages/spyderlib/widgets/externalshell/start_ipython_kernel.py",
line 27, in kernel_config
from spyderlib.config import CONF
File
"/Users/LinRui/anaconda/lib/python2.7/site‑packages/spyderlib/config.py", line
22, in
from spyderlib.utils import iofuncs, codeanalysis
File
"/Users/LinRui/anaconda/lib/python2.7/site‑packages/spyderlib/utils/iofuncs.py",
line 26, in
import pandas as pd
File
"/Users/LinRui/anaconda/lib/python2.7/site‑packages/pandas/__init__.py",
line 41, in
from pandas.core.api import *
File
"/Users/LinRui/anaconda/lib/python2.7/site‑packages/pandas/core/api.py",
line 9, in
from pandas.core.groupby import Grouper
File
"/Users/LinRui/anaconda/lib/python2.7/site‑packages/pandas/core/groupby.py",
line 15, in
from pandas.core.frame import DataFrame
File
"/Users/LinRui/anaconda/lib/python2.7/site‑packages/pandas/core/frame.py",
line 38, in
from pandas.core.series import Series
File
"/Users/LinRui/anaconda/lib/python2.7/site‑packages/pandas/core/series.py",
line 2524, in
import pandas.tools.plotting as _gfx
File
"/Users/LinRui/anaconda/lib/python2.7/site‑packages/pandas/tools/plotting.py",
line 26, in
import pandas.tseries.converter as conv
File
"/Users/LinRui/anaconda/lib/python2.7/site‑packages/pandas/tseries/converter.py",
line 7, in
import matplotlib.units as units
File
"/Users/LinRui/anaconda/lib/python2.7/site‑packages/matplotlib/__init__.py",
line 1048, in
rcParams = rc_params()
File
"/Users/LinRui/anaconda/lib/python2.7/site‑packages/matplotlib/__init__.py",
line 897, in rc_params
fname = matplotlib_fname()
File
"/Users/LinRui/anaconda/lib/python2.7/site‑packages/matplotlib/__init__.py",
line 748, in matplotlib_fname
fname = os.path.join(os.getcwd(), 'matplotlibrc')
File "/Users/LinRui/anaconda/lib/python2.7/posixpath.py", line 80, in join
path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 24:
ordinal not in range(128)



--
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].
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.

Reply via email to