-
Notifications
You must be signed in to change notification settings - Fork 75
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
Does not build under Python 3.9 #105
Comments
Seems to be related to implementation of PEP 590. This |
Same issue for M1 MacOS Big Sur :( Any chance this will ever be fixed? |
I was able to build the extension from source on Windows, though there shouldn't be anything Windows specific about this, by regenerating the pcap.c file with cython. From the the source directory, run "cython pcap.pyx" and then "python setup.py install" and it should work. Because the extension generates its C code using Cython, this will re-generate the C code. Using a newer version of Cython will generate C code that does not include tp_print. It should then build. |
Confirmed that @dcgrigsby 's fix works on Mac OS Big Sur 11.6.1 In a fresh conda environment:
|
@dcgrigsby @gvashishtha , it works for me |
Should be closed by #102 |
Actually I am still getting a build error with Git master under Python 3.9.7, when installing from source:
@hellais – any idea? This is specifying
|
I just merged the fix into master and release 1.3.0 which includes the fixes for it. Feel free to re-open the issue if the problem is still there. Thanks for testing this! |
I still cannot install due to #104 — but these immediate errors seem to indeed have been fixed! |
I cannot install this under Ubuntu 20.04 with Python 3.9.5 and GCC 10.
Full log:
GCC:
The text was updated successfully, but these errors were encountered: