(my-playground) PS Microsoft.PowerShell.Core\FileSystem::\\wsl.localhost\Ubuntu-22.04\home\redacted_username\repos-wsl\my-playground> pip install python-pkcs11 Collecting python-pkcs11 Using cached python-pkcs11-0.7.0.tar.gz (106 kB) Preparing metadata (setup.py) ... done Requirement already satisfied: asn1crypto in c:\users\redacted_username\envs\my-playground\lib\site-packages (from python-pkcs11) (1.5.1) Requirement already satisfied: cached-property in c:\users\redacted_username\envs\my-playground\lib\site-packages (from python-pkcs11) (1.5.2) Building wheels for collected packages: python-pkcs11 Building wheel for python-pkcs11 (setup.py) ... error error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [129 lines of output] C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer. warnings.warn( running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-cpython-311 creating build\lib.win-amd64-cpython-311\pkcs11 copying pkcs11\constants.py -> build\lib.win-amd64-cpython-311\pkcs11 copying pkcs11\defaults.py -> build\lib.win-amd64-cpython-311\pkcs11 copying pkcs11\exceptions.py -> build\lib.win-amd64-cpython-311\pkcs11 copying pkcs11\mechanisms.py -> build\lib.win-amd64-cpython-311\pkcs11 copying pkcs11\types.py -> build\lib.win-amd64-cpython-311\pkcs11 copying pkcs11\__init__.py -> build\lib.win-amd64-cpython-311\pkcs11 creating build\lib.win-amd64-cpython-311\pkcs11\util copying pkcs11\util\dh.py -> build\lib.win-amd64-cpython-311\pkcs11\util copying pkcs11\util\dsa.py -> build\lib.win-amd64-cpython-311\pkcs11\util copying pkcs11\util\ec.py -> build\lib.win-amd64-cpython-311\pkcs11\util copying pkcs11\util\rsa.py -> build\lib.win-amd64-cpython-311\pkcs11\util copying pkcs11\util\x509.py -> build\lib.win-amd64-cpython-311\pkcs11\util copying pkcs11\util\__init__.py -> build\lib.win-amd64-cpython-311\pkcs11\util running egg_info writing python_pkcs11.egg-info\PKG-INFO writing dependency_links to python_pkcs11.egg-info\dependency_links.txt writing requirements to python_pkcs11.egg-info\requires.txt writing top-level names to python_pkcs11.egg-info\top_level.txt listing git files failed - pretending there aren't any reading manifest file 'python_pkcs11.egg-info\SOURCES.txt' writing manifest file 'python_pkcs11.egg-info\SOURCES.txt' copying pkcs11\_errors.pyx -> build\lib.win-amd64-cpython-311\pkcs11 copying pkcs11\_mswin.pxd -> build\lib.win-amd64-cpython-311\pkcs11 copying pkcs11\_pkcs11.pyx -> build\lib.win-amd64-cpython-311\pkcs11 copying pkcs11\_pkcs11_defn.pxd -> build\lib.win-amd64-cpython-311\pkcs11 copying pkcs11\_utils.pyx -> build\lib.win-amd64-cpython-311\pkcs11 running build_ext cythoning pkcs11/_pkcs11.pyx to pkcs11\_pkcs11.c warning: pkcs11\_pkcs11.pyx:219:70: Use boundscheck(False) for faster access warning: pkcs11\_pkcs11.pyx:590:63: Use boundscheck(False) for faster access warning: pkcs11\_pkcs11.pyx:616:51: Use boundscheck(False) for faster access warning: pkcs11\_pkcs11.pyx:656:64: Use boundscheck(False) for faster access warning: pkcs11\_pkcs11.pyx:903:56: Use boundscheck(False) for faster access warning: pkcs11\_pkcs11.pyx:947:74: Use boundscheck(False) for faster access warning: pkcs11\_pkcs11.pyx:957:67: Use boundscheck(False) for faster access warning: pkcs11\_pkcs11.pyx:994:55: Use boundscheck(False) for faster access warning: pkcs11\_pkcs11.pyx:1038:74: Use boundscheck(False) for faster access warning: pkcs11\_pkcs11.pyx:1048:67: Use boundscheck(False) for faster access warning: pkcs11\_pkcs11.pyx:1084:52: Use boundscheck(False) for faster access warning: pkcs11\_pkcs11.pyx:1125:65: Use boundscheck(False) for faster access warning: pkcs11\_pkcs11.pyx:1217:59: Use boundscheck(False) for faster access warning: pkcs11\_pkcs11.pyx:1478:64: Use boundscheck(False) for faster access building 'pkcs11._pkcs11' extension creating build\temp.win-amd64-cpython-311 creating build\temp.win-amd64-cpython-311\Release creating build\temp.win-amd64-cpython-311\Release\pkcs11 "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.33.31629\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\redacted_username\Envs\my-playground\include -IC:\Users\redacted_username\.pyenv\pyenv-win\versions\3.11.0\include -IC:\Users\redacted_username\.pyenv\pyenv-win\versions\3.11.0\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.33.31629\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\cppwinrt" /Tcpkcs11\_pkcs11.c /Fobuild\temp.win-amd64-cpython-311\Release\pkcs11\_pkcs11.obj _pkcs11.c pkcs11\_pkcs11.c(8156): warning C4244: '=': conversion from 'Py_ssize_t' to 'CK_ULONG', possible loss of data pkcs11\_pkcs11.c(13883): warning C4244: '=': conversion from 'Py_ssize_t' to 'CK_ULONG', possible loss of data pkcs11\_pkcs11.c(14396): warning C4244: '=': conversion from 'Py_ssize_t' to 'CK_ULONG', possible loss of data pkcs11\_pkcs11.c(15193): warning C4244: '=': conversion from 'Py_ssize_t' to 'CK_ULONG', possible loss of data pkcs11\_pkcs11.c(19012): warning C4244: '=': conversion from 'Py_ssize_t' to 'CK_ULONG', possible loss of data pkcs11\_pkcs11.c(19919): warning C4244: '=': conversion from 'Py_ssize_t' to 'CK_ULONG', possible loss of data pkcs11\_pkcs11.c(20594): warning C4244: '=': conversion from 'Py_ssize_t' to 'CK_ULONG', possible loss of data pkcs11\_pkcs11.c(21501): warning C4244: '=': conversion from 'Py_ssize_t' to 'CK_ULONG', possible loss of data pkcs11\_pkcs11.c(22175): warning C4244: '=': conversion from 'Py_ssize_t' to 'CK_ULONG', possible loss of data pkcs11\_pkcs11.c(22957): warning C4244: '=': conversion from 'Py_ssize_t' to 'CK_ULONG', possible loss of data pkcs11\_pkcs11.c(23573): warning C4244: '=': conversion from 'Py_ssize_t' to 'CK_ULONG', possible loss of data pkcs11\_pkcs11.c(23593): warning C4244: '=': conversion from 'Py_ssize_t' to 'CK_ULONG', possible loss of data pkcs11\_pkcs11.c(24064): warning C4244: '=': conversion from 'Py_ssize_t' to 'CK_ULONG', possible loss of data pkcs11\_pkcs11.c(24257): warning C4244: '=': conversion from 'Py_ssize_t' to 'CK_ULONG', possible loss of data pkcs11\_pkcs11.c(25893): warning C4244: '=': conversion from 'Py_ssize_t' to 'CK_ULONG', possible loss of data pkcs11\_pkcs11.c(27211): warning C4996: 'PyUnicode_AsUnicode': deprecated in 3.3 pkcs11\_pkcs11.c(31027): warning C4996: 'PyUnicode_FromUnicode': deprecated in 3.3 Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\redacted_username\AppData\Local\Temp\pip-install-zkfpi6l1\python-pkcs11_7f86ebc9942d4af4a68b2f682cc83b23\setup.py", line 30, in setup( File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\__init__.py", line 87, in setup return distutils.core.setup(**attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\_distutils\core.py", line 185, in setup return run_commands(dist) ^^^^^^^^^^^^^^^^^^ File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands dist.run_commands() File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\_distutils\dist.py", line 968, in run_commands self.run_command(cmd) File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\dist.py", line 1217, in run_command super().run_command(command) File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command cmd_obj.run() File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\wheel\bdist_wheel.py", line 299, in run self.run_command('build') File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command self.distribution.run_command(command) File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\dist.py", line 1217, in run_command super().run_command(command) File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command cmd_obj.run() File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\_distutils\command\build.py", line 132, in run self.run_command(cmd_name) File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command self.distribution.run_command(command) File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\dist.py", line 1217, in run_command super().run_command(command) File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command cmd_obj.run() File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\command\build_ext.py", line 84, in run _build_ext.run(self) File "c:\users\redacted_username\appdata\local\temp\pip-install-zkfpi6l1\python-pkcs11_7f86ebc9942d4af4a68b2f682cc83b23\.eggs\cython-0.29.32-py3.11.egg\Cython\Distutils\old_build_ext.py", line 186, in run _build_ext.build_ext.run(self) File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 346, in run self.build_extensions() File "c:\users\redacted_username\appdata\local\temp\pip-install-zkfpi6l1\python-pkcs11_7f86ebc9942d4af4a68b2f682cc83b23\.eggs\cython-0.29.32-py3.11.egg\Cython\Distutils\old_build_ext.py", line 195, in build_extensions _build_ext.build_ext.build_extensions(self) File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 466, in build_extensions self._build_extensions_serial() File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 492, in _build_extensions_serial self.build_extension(ext) File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\command\build_ext.py", line 246, in build_extension _build_ext.build_extension(self, ext) File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 574, in build_extension libraries=self.get_libraries(ext), ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 787, in get_libraries return ext.libraries + py37compat.pythonlib() ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ TypeError: can only concatenate tuple (not "list") to tuple [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for python-pkcs11 Running setup.py clean for python-pkcs11 Failed to build python-pkcs11 Installing collected packages: python-pkcs11 Running setup.py install for python-pkcs11 ... error error: subprocess-exited-with-error × Running setup.py install for python-pkcs11 did not run successfully. │ exit code: 1 ╰─> [120 lines of output] C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer. warnings.warn( running install C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py creating build creating build\lib.win-amd64-cpython-311 creating build\lib.win-amd64-cpython-311\pkcs11 copying pkcs11\constants.py -> build\lib.win-amd64-cpython-311\pkcs11 copying pkcs11\defaults.py -> build\lib.win-amd64-cpython-311\pkcs11 copying pkcs11\exceptions.py -> build\lib.win-amd64-cpython-311\pkcs11 copying pkcs11\mechanisms.py -> build\lib.win-amd64-cpython-311\pkcs11 copying pkcs11\types.py -> build\lib.win-amd64-cpython-311\pkcs11 copying pkcs11\__init__.py -> build\lib.win-amd64-cpython-311\pkcs11 creating build\lib.win-amd64-cpython-311\pkcs11\util copying pkcs11\util\dh.py -> build\lib.win-amd64-cpython-311\pkcs11\util copying pkcs11\util\dsa.py -> build\lib.win-amd64-cpython-311\pkcs11\util copying pkcs11\util\ec.py -> build\lib.win-amd64-cpython-311\pkcs11\util copying pkcs11\util\rsa.py -> build\lib.win-amd64-cpython-311\pkcs11\util copying pkcs11\util\x509.py -> build\lib.win-amd64-cpython-311\pkcs11\util copying pkcs11\util\__init__.py -> build\lib.win-amd64-cpython-311\pkcs11\util running egg_info writing python_pkcs11.egg-info\PKG-INFO writing dependency_links to python_pkcs11.egg-info\dependency_links.txt writing requirements to python_pkcs11.egg-info\requires.txt writing top-level names to python_pkcs11.egg-info\top_level.txt listing git files failed - pretending there aren't any reading manifest file 'python_pkcs11.egg-info\SOURCES.txt' writing manifest file 'python_pkcs11.egg-info\SOURCES.txt' copying pkcs11\_errors.pyx -> build\lib.win-amd64-cpython-311\pkcs11 copying pkcs11\_mswin.pxd -> build\lib.win-amd64-cpython-311\pkcs11 copying pkcs11\_pkcs11.pyx -> build\lib.win-amd64-cpython-311\pkcs11 copying pkcs11\_pkcs11_defn.pxd -> build\lib.win-amd64-cpython-311\pkcs11 copying pkcs11\_utils.pyx -> build\lib.win-amd64-cpython-311\pkcs11 running build_ext skipping 'pkcs11\_pkcs11.c' Cython extension (up-to-date) building 'pkcs11._pkcs11' extension creating build\temp.win-amd64-cpython-311 creating build\temp.win-amd64-cpython-311\Release creating build\temp.win-amd64-cpython-311\Release\pkcs11 "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.33.31629\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\redacted_username\Envs\my-playground\include -IC:\Users\redacted_username\.pyenv\pyenv-win\versions\3.11.0\include -IC:\Users\redacted_username\.pyenv\pyenv-win\versions\3.11.0\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.33.31629\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\cppwinrt" /Tcpkcs11\_pkcs11.c /Fobuild\temp.win-amd64-cpython-311\Release\pkcs11\_pkcs11.obj _pkcs11.c pkcs11\_pkcs11.c(8156): warning C4244: '=': conversion from 'Py_ssize_t' to 'CK_ULONG', possible loss of data pkcs11\_pkcs11.c(13883): warning C4244: '=': conversion from 'Py_ssize_t' to 'CK_ULONG', possible loss of data pkcs11\_pkcs11.c(14396): warning C4244: '=': conversion from 'Py_ssize_t' to 'CK_ULONG', possible loss of data pkcs11\_pkcs11.c(15193): warning C4244: '=': conversion from 'Py_ssize_t' to 'CK_ULONG', possible loss of data pkcs11\_pkcs11.c(19012): warning C4244: '=': conversion from 'Py_ssize_t' to 'CK_ULONG', possible loss of data pkcs11\_pkcs11.c(19919): warning C4244: '=': conversion from 'Py_ssize_t' to 'CK_ULONG', possible loss of data pkcs11\_pkcs11.c(20594): warning C4244: '=': conversion from 'Py_ssize_t' to 'CK_ULONG', possible loss of data pkcs11\_pkcs11.c(21501): warning C4244: '=': conversion from 'Py_ssize_t' to 'CK_ULONG', possible loss of data pkcs11\_pkcs11.c(22175): warning C4244: '=': conversion from 'Py_ssize_t' to 'CK_ULONG', possible loss of data pkcs11\_pkcs11.c(22957): warning C4244: '=': conversion from 'Py_ssize_t' to 'CK_ULONG', possible loss of data pkcs11\_pkcs11.c(23573): warning C4244: '=': conversion from 'Py_ssize_t' to 'CK_ULONG', possible loss of data pkcs11\_pkcs11.c(23593): warning C4244: '=': conversion from 'Py_ssize_t' to 'CK_ULONG', possible loss of data pkcs11\_pkcs11.c(24064): warning C4244: '=': conversion from 'Py_ssize_t' to 'CK_ULONG', possible loss of data pkcs11\_pkcs11.c(24257): warning C4244: '=': conversion from 'Py_ssize_t' to 'CK_ULONG', possible loss of data pkcs11\_pkcs11.c(25893): warning C4244: '=': conversion from 'Py_ssize_t' to 'CK_ULONG', possible loss of data pkcs11\_pkcs11.c(27211): warning C4996: 'PyUnicode_AsUnicode': deprecated in 3.3 pkcs11\_pkcs11.c(31027): warning C4996: 'PyUnicode_FromUnicode': deprecated in 3.3 Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\redacted_username\AppData\Local\Temp\pip-install-zkfpi6l1\python-pkcs11_7f86ebc9942d4af4a68b2f682cc83b23\setup.py", line 30, in setup( File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\__init__.py", line 87, in setup return distutils.core.setup(**attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\_distutils\core.py", line 185, in setup return run_commands(dist) ^^^^^^^^^^^^^^^^^^ File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands dist.run_commands() File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\_distutils\dist.py", line 968, in run_commands self.run_command(cmd) File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\dist.py", line 1217, in run_command super().run_command(command) File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command cmd_obj.run() File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\command\install.py", line 68, in run return orig.install.run(self) ^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\_distutils\command\install.py", line 698, in run self.run_command('build') File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command self.distribution.run_command(command) File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\dist.py", line 1217, in run_command super().run_command(command) File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command cmd_obj.run() File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\_distutils\command\build.py", line 132, in run self.run_command(cmd_name) File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command self.distribution.run_command(command) File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\dist.py", line 1217, in run_command super().run_command(command) File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command cmd_obj.run() File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\command\build_ext.py", line 84, in run _build_ext.run(self) File "c:\users\redacted_username\appdata\local\temp\pip-install-zkfpi6l1\python-pkcs11_7f86ebc9942d4af4a68b2f682cc83b23\.eggs\cython-0.29.32-py3.11.egg\Cython\Distutils\old_build_ext.py", line 186, in run _build_ext.build_ext.run(self) File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 346, in run self.build_extensions() File "c:\users\redacted_username\appdata\local\temp\pip-install-zkfpi6l1\python-pkcs11_7f86ebc9942d4af4a68b2f682cc83b23\.eggs\cython-0.29.32-py3.11.egg\Cython\Distutils\old_build_ext.py", line 195, in build_extensions _build_ext.build_ext.build_extensions(self) File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 466, in build_extensions self._build_extensions_serial() File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 492, in _build_extensions_serial self.build_extension(ext) File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\command\build_ext.py", line 246, in build_extension _build_ext.build_extension(self, ext) File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 574, in build_extension libraries=self.get_libraries(ext), ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\redacted_username\Envs\my-playground\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 787, in get_libraries return ext.libraries + py37compat.pythonlib() ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ TypeError: can only concatenate tuple (not "list") to tuple [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure × Encountered error while trying to install package. ╰─> python-pkcs11 note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.