Skip to content

BUG: Fix ImportError on Python 3.4b2 and 3.4b3 #6241

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

Merged
merged 1 commit into from
Feb 3, 2014
Merged

BUG: Fix ImportError on Python 3.4b2 and 3.4b3 #6241

merged 1 commit into from
Feb 3, 2014

Conversation

cgohlke
Copy link
Contributor

@cgohlke cgohlke commented Feb 3, 2014

See http://bugs.python.org/issue20166

ERROR: Failure: ImportError (dynamic module does not define init function (PyInit_json))
----------------------------------------------------------------------
Traceback (most recent call last):
  File "X:\Python34\lib\site-packages\nose\failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "X:\Python34\lib\site-packages\nose\loader.py", line 402, in loadTestsFromName
    module = resolve_name(addr.module)
  File "X:\Python34\lib\site-packages\nose\util.py", line 311, in resolve_name
    module = __import__('.'.join(parts_copy))
  File "X:\Python34\lib\site-packages\pandas\__init__.py", line 44, in <module>
    from pandas.io.api import *
  File "X:\Python34\lib\site-packages\pandas\io\api.py", line 7, in <module>
    from pandas.io.excel import ExcelFile, ExcelWriter, read_excel
  File "X:\Python34\lib\site-packages\pandas\io\excel.py", line 14, in <module>
    from pandas import json
ImportError: dynamic module does not define init function (PyInit_json)

@jreback
Copy link
Contributor

jreback commented Feb 3, 2014

cc @Komnomnomnom

@cgohlke thanks

we don't test py3.4 yet (soon though)

jreback added a commit that referenced this pull request Feb 3, 2014
BUG: Fix ImportError on Python 3.4b2 and 3.4b3
@jreback jreback merged commit 77d4b0f into pandas-dev:master Feb 3, 2014
@Komnomnomnom
Copy link
Contributor

Noted, thanks for the fix @cgohlke! I'll try and get this pushed upstream to ujson, as I imagine they'll have the same problem.

@jreback
Copy link
Contributor

jreback commented Feb 4, 2014

@Komnomnomnom n.b. we don't actually have a python3.4 build yet (soon though)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build Library building on various platforms IO JSON read_json, to_json, json_normalize
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants