Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing wheel for python 3.10 #98

Open
mentaal opened this issue Jan 26, 2022 · 6 comments
Open

Missing wheel for python 3.10 #98

mentaal opened this issue Jan 26, 2022 · 6 comments

Comments

@mentaal
Copy link

mentaal commented Jan 26, 2022

Hi 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)]

@mentaal
Copy link
Author

mentaal commented Jan 26, 2022

Ah I see, it's just because there isn't a Python 3.10 wheel on pypi

@mentaal mentaal changed the title pip install fails on Windows Missing wheel for python 3.10 Jan 26, 2022
@SimonSegerblomRex
Copy link

@codypiersall, is it time for a new micro release now with Python 3.10 wheels since #102 has been merged?

@aqc-carlodri
Copy link

@codypiersall would love to see python 3.10 support!

@MrSmith33
Copy link

Any chance for 3.10 support?

@carlodri
Copy link

@MrSmith33 I have managed to rebuild pynng on conda-forge, where windows and Python 3.10 builds are available.

@superlevure
Copy link

Anyone beside @codypiersall has the permissions to resolve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants