[pypy-dev] Pandas/Numpy in Ubuntu

Yury V. Zaytsev yury at shurup.com
Sat Jul 3 04:06:23 EDT 2021


Did you install pypy-dev, as the error message says, and not python-dev?

Sent from my iPad

> On 3. Jul 2021, at 09:38, Александр Рауд <sasharaud at gmail.com> wrote:
> 
> 
> Hi!
> 
> I am looking for support to make Pandas working in PyPy3 under Ubuntu.
> Is there a BKM for this?
> 
> pypy3 -m pip install pandas
> 
> fails with:
> 
> /build_src.py", line 377, in generate_sources
>           source = func(extension, build_dir)
>         File "numpy/core/setup.py", line 422, in generate_config_h
>           moredefs, ignored = cocache.check_types(config_cmd, ext, build_dir)
>         File "numpy/core/setup.py", line 48, in check_types
>           out = check_types(*a, **kw)
>         File "numpy/core/setup.py", line 281, in check_types
>           "install {0}-dev|{0}-devel.".format(python))
>       SystemError: Cannot compile 'Python.h'. Perhaps you need to install pypy-dev|pypy-devel.
> 
> the python-dev is installed:
> 
> ~# locate Python.h
> /usr/include/python2.7/Python.h
> /usr/include/python3.8/Python.h
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> https://mail.python.org/mailman/listinfo/pypy-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/pypy-dev/attachments/20210703/101d2d43/attachment.html>


More information about the pypy-dev mailing list