Why Pandas is not working with PyPy3 and post some errors

75 views Asked by At

I am trying to run my Python code by using PyPy3 in order to speed the running time up. However, I always get this error:

line 6, in <module> import pandas as pd ModuleNotFoundError: No module named 'pandas'

I have done all the steps and tricks that have been posts for years but nothing works.

I installed pandas package by using pypy3 -m pip install pandas. However, I got the following errors:

ERROR: Failed building wheel for numpy
Failed to build numpy
ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
  
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.

I have already installed Wheel and Numpy.

How can I install pandas in PyPy3, please?

FYI: I am using macOS 12.6.3 - Python 3.10 and 3.7 - PyPy3 3.10

0

There are 0 answers