I have been following this guide to process SAP data via Python.
However, I get stuck on step 3 of PyRFC & Cython Installation.
C:\Users\XXX>pip install C:\Users\XXX\Downloads\PyRFC-2.0.4.tar.gz
Processing c:\users\XXX\downloads\pyrfc-2.0.4.tar.gz
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
Cython not installed.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
I always get an error that cython is not installed. I have tried it on both 3.13.1amd64 and 3.8.3.
I have tried all kinds of installments of Cython, however I cannot get it running.
I have been following this guide to process SAP data via Python.
https://community.sap.com/t5/technology-blogs-by-members/connecting-python-with-sap-step-by-step-guide/ba-p/13452893
However, I get stuck on step 3 of PyRFC & Cython Installation.
C:\Users\XXX>pip install C:\Users\XXX\Downloads\PyRFC-2.0.4.tar.gz
Processing c:\users\XXX\downloads\pyrfc-2.0.4.tar.gz
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
Cython not installed.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
I always get an error that cython is not installed. I have tried it on both 3.13.1amd64 and 3.8.3.
I have tried all kinds of installments of Cython, however I cannot get it running.
From what I checked there is no definitive solution to this, but you can try upgrading pip
or installing python-dotenv
or passing --no-build-isolation
when installing. (Solutions taken from https://github.com/pypa/packaging-problems/issues/721 and https://github.com/numpy/numpy/issues/24377)
Also I think https://github.com/nuncjo/cython-installation-windows might be a better guide for you to go through.
pip install --no-build-isolation ...
which should use your regular Python environment – DavidW Commented Feb 4 at 8:01