Missing wheel for python 3.10
See original GitHub issueHi there.
When trying to install pynng in a virtual environment, I get this output:
(pynng) @ c:\Users\gkuhn\python_envs
$ pip install pynng
Collecting pynng
Using cached pynng-0.7.1.tar.gz (3.8 MB)
Requirement already satisfied: cffi in c:\users\gkuhn\python_envs\pynng\lib\site-packages (from pynng) (1.15.0)
Requirement already satisfied: sniffio in c:\users\gkuhn\python_envs\pynng\lib\site-packages (from pynng) (1.2.0)
Requirement already satisfied: pycparser in c:\users\gkuhn\python_envs\pynng\lib\site-packages (from cffi->pynng) (2.21)
Building wheels for collected packages: pynng
Building wheel for pynng (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\Users\gkuhn\python_envs\pynng\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\gkuhn\\AppData\\Local\\Temp\\pip-install-_lsnddaz\\pynng_833f7a4b1d1c4976b0acd23e2b6511eb\\setup.py'"'"'; __file__='"'"'C:\\Users\\gkuhn\\AppData\\Local\\Temp\\pip-install-_lsnddaz\\pynng_833f7a4b1d1c4976b0acd23e2b6511eb\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\gkuhn\AppData\Local\Temp\pip-wheel-i2etpxqh'
cwd: C:\Users\gkuhn\AppData\Local\Temp\pip-install-_lsnddaz\pynng_833f7a4b1d1c4976b0acd23e2b6511eb\
Complete output (5 lines):
running bdist_wheel
running build
running build_py
error: [WinError 2] The system cannot find the file specified
building mbedtls with: ['cmake', '-DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=true', '-A', 'win32', '-DENABLE_PROGRAMS=OFF', '-DCMAKE_BUILD_TYPE=Release', '-DCMAKE_INSTALL_PREFIX=../prefix', '..']
----------------------------------------
ERROR: Failed building wheel for pynng
Running setup.py clean for pynng
Failed to build pynng
Installing collected packages: pynng
Running setup.py install for pynng ... error
ERROR: Command errored out with exit status 1:
command: 'c:\Users\gkuhn\python_envs\pynng\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\gkuhn\\AppData\\Local\\Temp\\pip-install-_lsnddaz\\pynng_833f7a4b1d1c4976b0acd23e2b6511eb\\setup.py'"'"'; __file__='"'"'C:\\Users\\gkuhn\\AppData\\Local\\Temp\\pip-install-_lsnddaz\\pynng_833f7a4b1d1c4976b0acd23e2b6511eb\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\gkuhn\AppData\Local\Temp\pip-record-56v2thz6\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\Users\gkuhn\python_envs\pynng\include\site\python3.10\pynng'
cwd: C:\Users\gkuhn\AppData\Local\Temp\pip-install-_lsnddaz\pynng_833f7a4b1d1c4976b0acd23e2b6511eb\
Complete output (4 lines):
running install
running build
running build_py
error: [WinError 183] Cannot create a file when that file already exists: 'mbedtls/build'
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\Users\gkuhn\python_envs\pynng\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\gkuhn\\AppData\\Local\\Temp\\pip-install-_lsnddaz\\pynng_833f7a4b1d1c4976b0acd23e2b6511eb\\setup.py'"'"'; __file__='"'"'C:\\Users\\gkuhn\\AppData\\Local\\Temp\\pip-install-_lsnddaz\\pynng_833f7a4b1d1c4976b0acd23e2b6511eb\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\gkuhn\AppData\Local\Temp\pip-record-56v2thz6\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\Users\gkuhn\python_envs\pynng\include\site\python3.10\pynng' Check the logs for full command output.
WARNING: You are using pip version 21.2.3; however, version 21.3.1 is available.
You should consider upgrading via the 'c:\Users\gkuhn\python_envs\pynng\Scripts\python.exe -m pip install --upgrade pip' command.
I am using Python 3.10:
Python 3.10.0 (tags/v3.10.0:b494f59, Oct 4 2021, 18:46:30) [MSC v.1929 32 bit (Intel)]
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:6
Top Results From Across the Web
BUG: missing Windows wheel for Python 3.10 #20320 - GitHub
Describe the issue: The recent 1.12.4 release on PyPI is missing the Windows wheels for Python 3.10 Reproduce the code example: pip install ......
Read more >How to install, download and build Python wheels - ActiveState
Open source Python packages can be installed from Source Distributions (sdist) or Wheels (whl). According to the Python Packaging Authority ...
Read more >Changelog — Python 3.11.1 documentation
gh-98790: Assumes that a missing DLLs directory means that standard extension modules are in the executable's directory. gh-98745: Update py.exe ...
Read more >wheel - PyPI
A built-package format for Python. ... This library is the reference implementation of the Python wheel packaging standard, as defined in PEP 427....
Read more >Bug #1934800 “Install fails for Python 3.10 due to missing ...
I feel like I've reported this issue before, but searching for "3.10" or "wheels" or "wheel" or even any bugs reported by myself, ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@MrSmith33 I have managed to rebuild
pynng
on conda-forge, where windows and Python 3.10 builds are available.@codypiersall would love to see python 3.10 support!