Skip to content

Instantly share code, notes, and snippets.

@cournape
Last active August 29, 2015 14:25
Show Gist options
  • Save cournape/5d963ddf3d5d84d46a9c to your computer and use it in GitHub Desktop.
Save cournape/5d963ddf3d5d84d46a9c to your computer and use it in GitHub Desktop.
pypy numpy/pandas
$ PYTHON_EMBED=/Users/cournape/.envs/python-pandas-test/ /Users/cournape/.envs/pypy-pandas-test/bin/python foo.py
Traceback (most recent call last):
File "app_main.py", line 75, in run_toplevel
File "foo.py", line 2, in <module>
pymetabiosis.module.import_module("numpy")
File "/Users/cournape/.envs/pypy-pandas-test/site-packages/pymetabiosis/module.py", line 5, in import_module
module_object = lib.PyImport_ImportModule(name)
File "/Users/cournape/.envs/pypy-pandas-test/site-packages/pymetabiosis/bindings.py", line 225, in wrapper
raise exception_by_py_exc[py_exc_type]
ImportError
$ /Users/cournape/.envs/python-pandas-test/bin/python -V
/Users/cournape/.envs/python-pandas-test/bin/python -V
$ /Users/cournape/.envs/pypy-pandas-test/bin/python -V
python 2.7.8 (a980ebb26592ed26706cd33a4e05eb45b5d3ea09, Dec 15 2014, 07:16:03)
[PyPy 2.4.0 with GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.56)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment