No pre-compiled wheels for Windows
See original GitHub issueCurrently https://pypi.org/project/cutadapt/#files has Linux wheels for Python 3.6, 3.7, 3.8, 3.9 and 3.10 - plus a .tar.gz
archive of the source code. This means pip install cutadapt
on Windows attempts to compile things:
$ pip install cutadapt
Collecting cutadapt
Using cached cutadapt-3.5.tar.gz (303 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting dnaio~=0.5
Using cached dnaio-0.6.0.tar.gz (131 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting xopen~=1.1
Using cached xopen-1.2.1-py3-none-any.whl (12 kB)
Collecting isal>=0.9.0
Using cached isal-0.11.1-cp310-cp310-win_amd64.whl (274 kB)
Using legacy 'setup.py install' for dnaio, since package 'wheel' is not installed.
Building wheels for collected packages: cutadapt
Building wheel for cutadapt (pyproject.toml): started
Building wheel for cutadapt (pyproject.toml): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'C:\Users\xxx\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\python.exe' 'C:\Users\xxx\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\pip\_vendor\pep517\in_process\_in_process.py' build_wheel 'C:\Users\xxx\AppData\Local\Temp\tmp0a8lowdp'
cwd: C:\Users\xxx\AppData\Local\Temp\pip-install-n29oeudt\cutadapt_10e512be8b9643199f3079ff9d38e975
Complete output (24 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.10
creating build\lib.win-amd64-3.10\cutadapt
copying src\cutadapt\adapters.py -> build\lib.win-amd64-3.10\cutadapt
copying src\cutadapt\align.py -> build\lib.win-amd64-3.10\cutadapt
copying src\cutadapt\filters.py -> build\lib.win-amd64-3.10\cutadapt
copying src\cutadapt\json.py -> build\lib.win-amd64-3.10\cutadapt
copying src\cutadapt\log.py -> build\lib.win-amd64-3.10\cutadapt
copying src\cutadapt\modifiers.py -> build\lib.win-amd64-3.10\cutadapt
copying src\cutadapt\parser.py -> build\lib.win-amd64-3.10\cutadapt
copying src\cutadapt\pipeline.py -> build\lib.win-amd64-3.10\cutadapt
copying src\cutadapt\report.py -> build\lib.win-amd64-3.10\cutadapt
copying src\cutadapt\statistics.py -> build\lib.win-amd64-3.10\cutadapt
copying src\cutadapt\steps.py -> build\lib.win-amd64-3.10\cutadapt
copying src\cutadapt\tokenizer.py -> build\lib.win-amd64-3.10\cutadapt
copying src\cutadapt\utils.py -> build\lib.win-amd64-3.10\cutadapt
copying src\cutadapt\_version.py -> build\lib.win-amd64-3.10\cutadapt
copying src\cutadapt\__init__.py -> build\lib.win-amd64-3.10\cutadapt
copying src\cutadapt\__main__.py -> build\lib.win-amd64-3.10\cutadapt
running build_ext
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Failed building wheel for cutadapt
Failed to build cutadapt
ERROR: Could not build wheels for cutadapt, which is required to install pyproject.toml-based projects
https://cutadapt.readthedocs.io/en/stable/installation.html#installation-on-windows highlights that the GitHub releases page often has a .exe
file for Windows. Would it be easy for you to make a Windows wheel as well / instead of the EXE?
Issue Analytics
- State:
- Created 2 years ago
- Comments:15 (15 by maintainers)
Top Results From Across the Web
What Are Python Wheels and Why Should You Care?
In this tutorial, you'll learn what Python wheels are and why you should care as both a developer and end user of Python...
Read more >How to install, download and build Python wheels - ActiveState
Pip will install the appropriate wheel for Windows, Linux or macOS. ... There's no need to specify that you want to install a...
Read more >Python Wheels
Faster installation for pure Python and native C extension packages. Avoids arbitrary code execution for installation. (Avoids setup.py) ...
Read more >How to install Python wheels for Windows using pip - YouTube
How to use pip to install precompiled binaries for Python. In particular we see how to install Numpy+Mkl, which is a fundamental package ......
Read more >Python Extension Packages for Windows - Christoph Gohlke
This page is not a pip package index. Many binaries depend on numpy+mkl and the current Microsoft Visual C++ Redistributable for Visual ...
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 FreeTop 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
Top GitHub Comments
Thanks. I’ll need to make Windows wheels for dnaio as well.
Good point, I forgot (and just copied what TestPyPI writes on top of the page.)
Oh great, thanks for testing it! Some of the changes benefitted all platforms, so it was good to do this even for users not on Windows.