Blueshoe / python-healthcard

Package which allows to read data from German health insurance cards.
Mozilla Public License 2.0
27 stars 6 forks source link

python setup.py bdist_wheel did not run successfully. #7

Closed ODOshmocke closed 1 year ago

ODOshmocke commented 1 year ago

I try to install the package but i get this Error: error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [8 lines of output] running bdist_wheel running build running build_py running build_ext building 'smartcard.scard._scard' extension swigging smartcard/scard/scard.i to smartcard/scard/scard_wrap.c swig.exe -python -outdir smartcard/scard -DWIN32 -o smartcard/scard/scard_wrap.c smartcard/scard/scard.i error: command 'swig.exe' failed: None [end of output]

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

SteinRobert commented 1 year ago

Hey @ODOshmocke this looks like a problem with pyscard or swig, not python-healthcard. I would recommend to work with Linux it's probably much easier to install there. Not sure which windows you run but pyscard does not seem to support modern versions. If you can figure out how to install it on Windows feel free to submit a PR with a description (and if needed code changes).