Failed building wheel for Twisted in Windows 10 python 3
Asked Answered
D

5

7

I'm trying to install rasa-core on my windows 10 machine.

When installing with pip install, I get: Failed building wheel for Twisted

The same error appears when trying to install Twisted separately.

How could I solve this problem?

Deflect answered 23/7, 2018 at 16:52 Comment(5)
Which python are u using?Lamkin
@Nuts I'm using Python3Deflect
what version exactly of python 3? Also, can you provide the full pip install output? Not just the error but the whole outputDoi
Could you post the exact error-message?Froissart
It really doesn't matter which version of Python you're running, this is an ongoing issue in Windows. Go to lfd.uci.edu/~gohlke/pythonlibs and download the required Twisted package. Also keep the the installer so you can use it on future projects because the packages are regularly updated and the previous versions aren't available on the site.Plated
F
15

Download the .whl file from Unofficial Windows Binaries for Python Extension Packages then after you are in the virtualenv

pip install C:\...yourpath...\Downlaods\<filename>

e.g.

pip install C:\...yourpath...\Downlaods\Twisted‑20.3.0‑cp38‑cp38‑win_amd64.whl

This worked for me..

Felloe answered 7/4, 2020 at 11:24 Comment(2)
Hey I am getting ERROR: Could not find a version that satisfies the requirement Twisted-20.3.0-cp39-cp39-win_amd64 (from versions: none) ERROR: No matching distribution found for Twisted-20.3.0-cp39-cp39-win_amd64 How can I resolve this? I already downloaded latest versionPrevost
Make sure that you download the whl file that has the same cp number as your python version. I use python 3.8, so I downloaded this: Twisted‑20.3.0‑cp38‑cp38‑win_amd64.whlMountaineering
N
4

Download Twister package from releases and install it eg.

pip install C:\...yourpath...\Downlaods\Twisted‑20.3.0‑cp38‑cp38‑win_amd64.whl
Numerology answered 25/6, 2020 at 7:31 Comment(0)
B
3

Install Twisted Using pip

Or Download https://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted at this location pip install Twisted-18.9.0-cp27-cp27m-win_amd64.whl

Broddie answered 21/1, 2019 at 9:57 Comment(0)
A
1

No conda install or Microsoft Studio.

Follow:

  1. Download Twisted : https://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted
  2. In CMD: cd C:\Users\USERNAME\Downloads
  3. pip install Twisted-version.whl
Athodyd answered 17/5, 2020 at 21:10 Comment(0)
E
0

If you don't already have Microsoft Visual C++ installed do so from the following link. Make sure you match the correct version for the Python you have installed. https://wiki.python.org/moin/WindowsCompilers#Microsoft_Visual_C.2B-.2B-_14.0_standalone:_Build_Tools_for_Visual_Studio_2017_.28x86.2C_x64.2C_ARM.2C_ARM64.29

Then install Twisted with: pip install Twisted[windows_platform]

Ensure you have [windows_platform] included.

Eckhardt answered 1/4, 2019 at 9:11 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.