Hmmm....
[email protected]:~$ sudo pip uninstall tornado
Cannot uninstall requirement tornado, not installed
Storing debug log for failure in /root/.pip/pip.log----------
Installation the Tprnado v3.2.2 is done:
Code:
[email protected]:~$ sudo pip install tornado==3.2.2
Downloading/unpacking tornado==3.2.2
Downloading tornado-3.2.2.tar.gz (405kB): 405kB downloaded
Running setup.py (path:/tmp/pip_build_root/tornado/setup.py) egg_info for package tornado
Downloading/unpacking backports.ssl-match-hostname (from tornado==3.2.2)
Downloading backports.ssl_match_hostname-3.4.0.2.tar.gz
Running setup.py (path:/tmp/pip_build_root/backports.ssl-match-hostname/setup.py) egg_info for package backports.ssl-match-hostname
Installing collected packages: tornado, backports.ssl-match-hostname
Running setup.py install for tornado
building 'tornado.speedups' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c tornado/speedups.c -o build/temp.linux-x86_64-2.7/tornado/speedups.o
tornado/speedups.c:2:20: fatal error: Python.h: No such file or directory
compilation terminated.
/tmp/pip_build_root/tornado/setup.py:104: UserWarning:
********************************************************************
WARNING: The tornado.speedups extension module could not
be compiled. No C extensions are essential for Tornado to run,
although they do result in significant speed improvements for
websockets.
The output above this warning shows how the compilation failed.
Here are some hints for popular operating systems:
If you are seeing this message on Linux you probably need to
install GCC and/or the Python development package for your
version of Python.
Debian and Ubuntu users should issue the following command:
$ sudo apt-get install build-essential python-dev
RedHat, CentOS, and Fedora users should issue the following command:
$ sudo yum install gcc python-devel
If you are seeing this message on OSX please read the documentation
here:
http://api.mongodb.org/python/current/installation.html#osx
********************************************************************
"The output above "
command 'gcc' failed with exit status 1
Running setup.py install for backports.ssl-match-hostname
Successfully installed tornado backports.ssl-match-hostname
---------
But I see still the error, when I try to use gns3:
Code:
[email protected]:~/Education/GNS3/Software$ gns3
GNS3 GUI version 1.0beta1
Copyright (c) 2007-2014 GNS3 Technologies Inc.
[I 140823 11:37:57 main:75] current locale is en_US.UTF-8
[I 140823 11:37:59 __init__:444] Dynamips module reset
[I 140823 11:37:59 __init__:413] IOU module reset
[I 140823 11:37:59 __init__:274] vpcs module reset
[I 140823 11:37:59 __init__:369] VirtualBox module reset
[I 140823 11:37:59 topology:256] topology has been reset
[I 140823 11:37:59 main_window:1175] creating temporary topology file: /tmp/gns3-p4hw_2bh
[I 140823 11:37:59 main_window:1178] creating temporary project files directory: /tmp/gns3-p4hw_2bh-files
[I 140823 11:37:59 __init__:175] local working directory for Dynamips module: /tmp/gns3-p4hw_2bh-files
[I 140823 11:37:59 __init__:140] local working directory for IOU module: /tmp/gns3-p4hw_2bh-files
[I 140823 11:37:59 __init__:82] local working directory for VPCS module: /tmp/gns3-p4hw_2bh-files
[I 140823 11:37:59 __init__:154] local working directory for VirtualBox module: /tmp/gns3-p4hw_2bh-files
[I 140823 11:38:01 servers:212] new local server connection ws://127.0.0.1:8000 registered
[I 140823 11:38:01 main_window:954] starting local server /usr/local/bin/gns3server on 127.0.0.1:8000
[I 140823 11:38:01 servers:160] starting local server process with "/usr/local/bin/gns3server" --host=127.0.0.1 --port=8000
GNS3 server version 1.0a8
Copyright (c) 2007-2014 GNS3 Technologies Inc.
Running with Python 3.4.0 and has PID 5736
[I 140823 11:38:03 main:75] current locale is en_US.UTF-8
[W 140823 11:38:03 config:82] no configuration file could be found or read
[W 140823 11:38:03 __init__:125] dynamips binary couldn't be found!
[I 140823 11:38:03 base:131] dynamips module running with PID 5739
[I 140823 11:38:03 base:84] ZeroMQ client (dynamips) connecting to 127.0.0.1:33854
[W 140823 11:38:03 __init__:77] VPCS binary couldn't be found!
[I 140823 11:38:03 base:131] vpcs module running with PID 5742
[I 140823 11:38:03 base:84] ZeroMQ client (vpcs) connecting to 127.0.0.1:33854
[W 140823 11:38:03 __init__:82] iouyap binary couldn't be found!
[I 140823 11:38:03 base:131] iou module running with PID 5745
[I 140823 11:38:03 server:219] ZeroMQ server listening to 127.0.0.1:33854
[I 140823 11:38:03 base:84] ZeroMQ client (iou) connecting to 127.0.0.1:33854
Starting server on 127.0.0.1:8000 (Tornado v4.0, PyZMQ v14.3.1, ZMQ v4.0.4)
[W 140823 11:38:03 web:1811] 403 GET / (127.0.0.1) 2.12ms
[I 140823 11:38:03 websocket_client:300] connection closed with server 127.0.0.1:8000
[E 140823 11:38:03 websocket_client:131] could to connect ws://127.0.0.1:8000: Invalid response status: b'403' b'Forbidden'
I don't understand, why I see Tornado v4.0:
Starting server on 127.0.0.1:8000 (Tornado v4.0, PyZMQ v14.3.1, ZMQ v4.0.4)
[W 140823 11:41:42 web:1811] 403 GET / (127.0.0.1) 2.10ms
[I 140823 11:41:42 websocket_client:300] connection closed with server 127.0.0.1:8000
[E 140823 11:41:42 websocket_client:131] could to connect ws://127.0.0.1:8000: Invalid response status: b'403' b'Forbidden'*********************************
UPDATE:
topic11410.html?hilit=Invalid%20response%20status:%20b%27403%27%20b%27ForbiddenCode:
[email protected]:~/Education/GNS3/Software$ sudo apt-get install python3-tornado
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-tornado is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Code:
[email protected]:~/Education/GNS3/Software$ dpkg -l | grep tornado
ii python3-tornado 2.3-2 all scalable, non-blocking web server and tools - Python 3 package