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

Unable to start my Spyder #2300

Closed
StonerYan opened this issue Apr 5, 2015 · 4 comments
Closed

Unable to start my Spyder #2300

StonerYan opened this issue Apr 5, 2015 · 4 comments

Comments

@StonerYan
Copy link

My Os: Windows 8.1 32bit

C:\Users\Administrator>spyder
Traceback (most recent call last):
File "D:\Anaconda\Scripts\spyder-script.py", line 1, in
from spyderlib import start_app
File "D:\Anaconda\lib\site-packages\spyderlib\start_app.py", line 14, in
from spyderlib.config import CONF
File "D:\Anaconda\lib\site-packages\spyderlib\config.py", line 22, in
from spyderlib.utils import iofuncs, codeanalysis
File "D:\Anaconda\lib\site-packages\spyderlib\utils\iofuncs.py", line 26, in <
module>
import pandas as pd
File "D:\Anaconda\lib\site-packages\pandas__init__.py", line 47, in
import pandas.core.config_init
File "D:\Anaconda\lib\site-packages\pandas\core\config_init.py", line 17, in <
module>
from pandas.core.format import detect_console_encoding
File "D:\Anaconda\lib\site-packages\pandas\core\format.py", line 24, in
from pandas.tseries.period import PeriodIndex, DatetimeIndex
File "D:\Anaconda\lib\site-packages\pandas\tseries\period.py", line 8, in
import pandas.tseries.frequencies as frequencies
File "D:\Anaconda\lib\site-packages\pandas\tseries\frequencies.py", line 9, in

from pandas.tseries.offsets import DateOffset
File "D:\Anaconda\lib\site-packages\pandas\tseries\offsets.py", line 2152, in

class Nano(Tick):
File "D:\Anaconda\lib\site-packages\pandas\tseries\offsets.py", line 2153, in
Nano
_inc = Timedelta(nanoseconds=1)
File "pandas\tslib.pyx", line 1722, in pandas.tslib.Timedelta.new (pandas
tslib.c:29720)
ValueError: cannot construct a TimeDelta from the passed arguments, allowed keyw
ords are [days, seconds, microseconds, milliseconds, minutes, hours, weeks]

@ccordoba12
Copy link
Member

@StonerYan, what's your pandas version?


@blink1073, this is killing me! Why on earth pandas is breaking us like that?

Should we surround our importing of pandas in iofuncs like this

try:
    import pandas as pd
except:
    pd = None

to avoid this kind of ugly crashes?

@jreback
Copy link

jreback commented Apr 6, 2015

you don't have a completed install, prob because it was running when you updated

try

conda remove pandas
conda install pandas -f

@blink1073
Copy link
Contributor

@ccordoba12, I'd say yes, we don't want an optional feature to bring down the whole IDE.

@ccordoba12
Copy link
Member

Thanks @jreback. @StonerYan, could you confirm @jreback suggestion?

@blink1073, I'll do the change :-)

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

4 participants