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

PyPy Import Error: undefined symbol: Py_GetArgcArgv #2

Open
passy opened this issue Apr 9, 2012 · 2 comments
Open

PyPy Import Error: undefined symbol: Py_GetArgcArgv #2

passy opened this issue Apr 9, 2012 · 2 comments

Comments

@passy
Copy link

passy commented Apr 9, 2012

While building seems to work, importing the module fails. Am I doing something wrong or is this just incompatible?

Python 2.7.2 (0e28b379d8b3, Feb 09 2012, 19:41:03)
[PyPy 1.8.0 with GCC 4.4.3] on linux2
>>>> import procname
Traceback (most recent call last):
  File "<console>", line 1, in <module>
ImportError: unable to load extension module '/home/.../virtualenv/site-packages/procname.pypy-18.so': /home/.../virtualenv/site-packages/procname.pypy-18.so: undefined symbol: Py_GetArgcArgv
@passy
Copy link
Author

passy commented Apr 9, 2012

Oh, just read the comment in your file. I guess this function isn't exposed by the PyPy API.

@lericson
Copy link
Owner

It seems incompatible. I guess there is no blessed C API for the Python runtime either, so you'd have to somehow get ahold of the original argv address in some other way.

-Ludvig

On 9 apr 2012, at 22:02, Pascal Hartig wrote:

While building seems to work, importing the module fails. Am I doing something wrong or is this just incompatible?

Python 2.7.2 (0e28b379d8b3, Feb 09 2012, 19:41:03)
[PyPy 1.8.0 with GCC 4.4.3] on linux2
>>>> import procname
Traceback (most recent call last):
 File "<console>", line 1, in <module>
ImportError: unable to load extension module '/home/.../virtualenv/site-packages/procname.pypy-18.so': /home/.../virtualenv/site-packages/procname.pypy-18.so: undefined symbol: Py_GetArgcArgv

Reply to this email directly or view it on GitHub:
#2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants