Closed elichai closed 7 years ago
Tried installing it and failed, here:
$ pip install pyscard Collecting pyscard Downloading pyscard-1.9.4.tar.gz (147kB) 100% |████████████████████████████████| 153kB 656kB/s Building wheels for collected packages: pyscard Running setup.py bdist_wheel for pyscard ... error Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-tIB33N/pyscard/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmp9dtVK0pip-wheel- --python-tag cp27: 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 -python -outdir smartcard/scard -DPCSCLITE -o smartcard/scard/scard_wrap.c smartcard/scard/scard.i unable to execute 'swig': No such file or directory error: command 'swig' failed with exit status 1 ---------------------------------------- Failed building wheel for pyscard Running setup.py clean for pyscard Failed to build pyscard Installing collected packages: pyscard Running setup.py install for pyscard ... error Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-tIB33N/pyscard/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-lG9WSB-record/install-record.txt --single-version-externally-managed --compile: running install 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 -python -outdir smartcard/scard -DPCSCLITE -o smartcard/scard/scard_wrap.c smartcard/scard/scard.i unable to execute 'swig': No such file or directory error: command 'swig' failed with exit status 1 ---------------------------------------- Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-tIB33N/pyscard/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-lG9WSB-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-tIB33N/pyscard/
Needed to install swig. now new error. I'll open a new issue
swig
Tried installing it and failed, here: