Ich versuche Tornado in meiner virtuellen Umgebung zu installieren, damit ich Jupyter zur Arbeit bringen kann. Ich habe versucht pip install tornado
und es scheint wie es läuft, aber es installiert nur andere Module. Ich habe sogar versucht, Tornado zu deinstallieren und dann zu versuchen, es neu zu installieren, aber da es nicht existiert, kann ich es nicht sogar deinstallieren.Warum installiert "pip install tornado" das Tornado-Modul nicht?
Gibt es eine Möglichkeit, Tornado zu installieren, damit ich es sehen kann? Ich fühle mich wie ich alles versucht habe. Irgendein Rat?
Edit1: Ich sollte erwähnen, Aktualisierung pip tat nichts.
virtuelle Umgebung und es
[[email protected] ~]$ virtualenv venv
New python executable in venv/bin/python2.7
Also creating executable in venv/bin/python
Installing setuptools, pip...done.
[[email protected] ~]$ . venv/bin/activate
Dann betrachten wir die Module installiert mit pip list
(venv)[[email protected] ~]$ pip list
You are using pip version 6.0.8, however version 8.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
pip (6.0.8)
setuptools (12.0.5)
Als nächsten wir pip install tornado
(und stellen Sie sicher, dass wir wieder zu aktivieren Die Shell-Ausgabe wird ich unter Einstellung -download es für den Fall, dass es im Cache lebt):
(venv)[[email protected] ~]$ pip install tornado --no-cache-dir
You are using pip version 6.0.8, however version 8.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting tornado
Downloading tornado-4.3.tar.gz (450kB)
100% |################################| 454kB 27.6MB/s
Collecting backports.ssl-match-hostname (from tornado)
Downloading backports.ssl_match_hostname-3.5.0.1.tar.gz
Collecting singledispatch (from tornado)
Downloading singledispatch-3.4.0.3-py2.py3-none-any.whl
Collecting certifi (from tornado)
Downloading certifi-2016.2.28-py2.py3-none-any.whl (366kB)
100% |################################| 368kB 28.2MB/s
Collecting backports-abc>=0.4 (from tornado)
Downloading backports_abc-0.4-py2.py3-none-any.whl
Collecting six (from singledispatch->tornado)
Downloading six-1.10.0-py2.py3-none-any.whl
Installing collected packages: six, backports-abc, certifi, singledispatch, backports.ssl-match-hostname, tornado
Running setup.py install for backports.ssl-match-hostname
Running setup.py install for tornado
building 'tornado.speedups' extension
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c tornado/speedups.c -o build/temp.linux-x86_64-2.7/tornado/speedups.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/tornado/speedups.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/tornado/speedups.so
Successfully installed backports-abc-0.4 backports.ssl-match-hostname-3.5.0.1 certifi-2016.2.28 singledispatch-3.4.0.3 six-1.10.0 tornado
Doppel mit pip list
Kontrolle und wir sehen noch nicht tornado
(venv)[[email protected] ~]$ pip list
You are using pip version 6.0.8, however version 8.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
backports-abc (0.4)
backports.ssl-match-hostname (3.5.0.1)
certifi (2016.2.28)
pip (6.0.8)
setuptools (12.0.5)
singledispatch (3.4.0.3)
six (1.10.0)
Und natürlich, weil wir es nicht sehen können, können wir es nicht deinstallieren.
(venv)[[email protected] ~]$ pip uninstall tornado
You are using pip version 6.0.8, however version 8.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Cannot uninstall requirement tornado, not installed
Ich habe genau das gleiche Problem. Ich benutze Amazon ec2 für das, was es wert ist. Hast du Glück, eine Lösung zu finden? –