2017-02-16 2 views
2

quand je lanceInstallation sur torsadé python 3.5 et virtualenv en utilisant pip

pip install twisted 

dans la ligne de commande dans les fenêtres, il commence à installer des paquets jusqu'à ce que la ligne d'écoulement arrive. Puis, il s'est écrasé peu après, indiquant que l'installation avait échoué.

pourquoi est-ce?

est-il un moyen de l'installer tordu?

ma version de roue est 0,29, fenêtres 10. torsadés installe bien sur python 2.7

grâce

Répondre

0

Fondamentalement, ce n'est pas une question de programmation (je pense qu'il pourrait aussi bien tenir bien dans https://superuser.com/ ou https://serverfault.com/) .

Pourriez-vous s'il vous plaît fournir un peu plus d'informations? Quel système d'exploitation utilisez-vous? Quelle version?

À titre de comparaison, je suis sous Debian GNU/Linux (test), et

pip3 install twisted 

effectue bien:

collecting twisted 
    Using cached Twisted-17.1.0.tar.bz2 
Collecting zope.interface>=4.0.2 (from twisted) 
    Using cached zope.interface-4.3.3.tar.gz 
Collecting constantly>=15.1 (from twisted) 
    Downloading constantly-15.1.0-py2.py3-none-any.whl 
Collecting incremental>=16.10.1 (from twisted) 
    Downloading incremental-16.10.1-py2.py3-none-any.whl 
Collecting Automat>=0.3.0 (from twisted) 
    Using cached Automat-0.5.0-py2.py3-none-any.whl 
Requirement already satisfied: setuptools in /usr/local/lib/python3.5/dist-packages (from zope.interface>=4.0.2->twisted) 
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from Automat>=0.3.0->twisted) 
Collecting attrs (from Automat>=0.3.0->twisted) 
    Using cached attrs-16.3.0-py2.py3-none-any.whl 
Requirement already satisfied: packaging>=16.8 in /usr/local/lib/python3.5/dist-packages (from setuptools->zope.interface>=4.0.2->twisted) 
Requirement already satisfied: appdirs>=1.4.0 in /usr/local/lib/python3.5/dist-packages (from setuptools->zope.interface>=4.0.2->twisted) 
Requirement already satisfied: pyparsing in /usr/local/lib/python3.5/dist-packages (from packaging>=16.8->setuptools->zope.interface>=4.0.2->twisted) 
Building wheels for collected packages: twisted, zope.interface 
    Running setup.py bdist_wheel for twisted ... done 
    Stored in directory: /root/.cache/pip/wheels/65/e3/44/cd3da92c03926aabc80e658e11d6e64619abce3ef44c1c34df 
    Running setup.py bdist_wheel for zope.interface ... done 
    Stored in directory: /root/.cache/pip/wheels/00/aa/8b/f1d1eb398423e59894b45ee151344e243808156c2d182c9f4e 
Successfully built twisted zope.interface 
Installing collected packages: zope.interface, constantly, incremental, attrs, Automat, twisted 
Successfully installed Automat-0.5.0 attrs-16.3.0 constantly-15.1.0 incremental-16.10.1 twisted-17.1.0 zope.interface-4.3.3 

Je dois admettre que, cette installation a été faite en dehors de virtualenv. Avez-vous essayé d'installer twisted en dehors de votre virtualenv?

+0

Salut merci pour votre commentaire !, j'utilise Windows 10. –

+0

J'ai essayé d'installer en dehors de mon virtualenv et ne fonctionne toujours pas –

+0

il installe également bien avec python 2.7 –

3

je rencontre le même problème comme yours.You peut essayer d'installer les roues Whit Twisted

mais tout d'abord, vous devez installer les roues

pip install wheels 

puis, téléchargez une version appropriée de ce

site: http://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted

vous pouvez obtenir xxxx.whl fichier

utilisation

pip install xxxx/xxxxxx.whl

Fini!