Re: [pypy-dev] How to fix pypy3 runtime error ?

2021-11-28 Thread Hao Wang
I think my code doesn't even get through the following snippet : data_pd = pd.read_csv(input_file) cols = [col_0, col_1, col_2] res_pd = data_pd res_pd = res_pd.drop(cols, axis=1) I'd like to know how to close the parser (or what it means) as well. Bravo ! Hao Wang _

Re: [pypy-dev] How to fix pypy3 runtime error ?

2021-11-28 Thread Matti Picus
On 29/11/21 7:38 am, Hao Wang wrote: Dear devs: I encountered the following error but didn't know how to fix it. Please help. cpyext, the emulation layer, detected that while it is calling an object's tp_dealloc, the C code calls back a function that tries to recreate the PyPy version of the

Re: [pypy-dev] pip installation for pypy is slow

2021-11-28 Thread Hao Wang
Thanks Matti, I switched to Cython due to PyPy's incompatibility with pandas (The error is given below. If you know how to fix this, please let me know.) cpyext, the emulation layer, detected that while it is calling an object's tp_dealloc, the C code calls back a function that tries to recreate

Re: [pypy-dev] pip installation for pypy is slow

2021-11-28 Thread Matti Picus
On 29/11/21 6:01 am, Hao Wang wrote: Dear pypy-devs, The pip installation of pypy (pypy -m pip install scipy, for example) is slower than python-pip clean. Is there a way to fix this problem ? Bravo! Hao Wang Thanks for giving PyPy a try. When pre-compiled binary wheels are not available

[pypy-dev] How to fix pypy3 runtime error ?

2021-11-28 Thread Hao Wang
Dear devs: I encountered the following error but didn't know how to fix it. Please help. cpyext, the emulation layer, detected that while it is calling an object's tp_dealloc, the C code calls back a function that tries to recreate the PyPy version of the object. Usually it means that tp_dealloc

[pypy-dev] pip installation for pypy is slow

2021-11-28 Thread Hao Wang
Dear pypy-devs, The pip installation of pypy (pypy -m pip install scipy, for example) is slower than python-pip clean. Is there a way to fix this problem ? Bravo! Hao Wang ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/li