On 08/07/2015 01:01 AM, Stephen Loo wrote:
I am running on Traditional Chinese Windows 7, Python 3.4, PyQt5 5.5,
IPython 4.0.0b1


Executing Spyder from source checkout
Revision None, Branch: None
01. Patched sys.path with spyder-3.0.0b1
02. PyQt5 is detected, selecting (experimental)
03. Imported Spyder 3.0.0b1
     [Python 3.4.3 64bits, Qt 5.5.0, PyQt5 5.5 on Windows]
0x. Enforcing parent console (Windows only)
04. Executing spyder.main()
Bootstrap completed in 00:00:01.2324
C:\Python34\lib\site-packages\IPython\qt.py:13: ShimWarning: The
`IPython.qt` package has been deprecated. You should import from
qtconsole instead.
   "You should import from qtconsole instead.", ShimWarning)
Traceback (most recent call last):
   File "spyder-3.0.0b1\spyderlib\spyder.py", line 3103, in main
     mainwindow = run_spyder(app, options, args)
   File "spyderlib\spyder.py", line 2989, in run_spyder
     main.setup()
   File "spyder-3.0.0b1\spyderlib\spyder.py", line 830, in setup
     from spyderlib.plugins.inspector import ObjectInspector
   File "spyder-3.0.0b1\spyderlib\plugins\inspector.py", line 49, in
<module>
     from spyderlib.utils.inspector.sphinxify import (CSS_PATH, sphinxify,
   File "spyder-3.0.0b1\spyderlib\utils\inspector\sphinxify.py", line
32, in <module>
     from sphinx.application import Sphinx
   File "C:\Python34\lib\site-packages\sphinx\application.py", line 37,
in <module>
     from sphinx.builders import BUILTIN_BUILDERS
   File "C:\Python34\lib\site-packages\sphinx\builders\__init__.py",
line 23, in <module>
     from sphinx.util import i18n, path_stabilize
   File "C:\Python34\lib\site-packages\sphinx\util\i18n.py", line 15, in
<module>
     from babel.messages.pofile import read_po
   File "C:\Python34\lib\site-packages\babel\messages\__init__.py", line
12, in <module>
     from babel.messages.catalog import *
   File "C:\Python34\lib\site-packages\babel\messages\catalog.py", line
23, in <module>
     from babel.dates import format_datetime
   File "C:\Python34\lib\site-packages\babel\dates.py", line 28, in <module>
     from babel.util import UTC, LOCALTZ
   File "C:\Python34\lib\site-packages\babel\util.py", line 278, in <module>
     from babel import localtime
   File "C:\Python34\lib\site-packages\babel\localtime\__init__.py",
line 21, in
<module>
     from babel.localtime._win32 import _get_localzone
   File "C:\Python34\lib\site-packages\babel\localtime\_win32.py", line
18, in <m
odule>
     tz_names = get_global('windows_zone_mapping')
   File "C:\Python34\lib\site-packages\babel\core.py", line 58, in
get_global
     _global_data = pickle.load(fileobj)
TypeError: an integer is required (got type str)

Well the issue seems to be in Babel, so what version do you have as it seems the latest stable(2.0) does not support 3.4:

https://github.com/mitsuhiko/babel/blob/master/CHANGES

Babel Changelog
===============

Version 3.0
-----------

(release date to be decided; codename to be picked)

- Upgraded data to CLDR 26
- Add official support for Python 3.4

Version 2.0
-----------

(Released on July 27th 2015, codename Second Coming)

- Added support for looking up currencies that belong to a territory
  through the :func:`babel.numbers.get_territory_currencies`
  function.
- Improved Python 3 support.
- Fixed some broken tests for timezone behavior.
- Improved various smaller things for dealing with dates.





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