Cannot install ryu on mininet VM
govwin opened this issue · comments
govwin commented
Cannot install ryu on mininet VM.
mininet@mininet-vm:~/ryu$ pip install ryu
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
Collecting ryu
Using cached ryu-4.34.tar.gz (1.1 MB)
Collecting eventlet!=0.18.3,!=0.20.1,!=0.21.0,!=0.23.0,>=0.18.2
Using cached eventlet-0.33.3-py2.py3-none-any.whl (226 kB)
Collecting msgpack>=0.3.0
Using cached msgpack-1.0.4.tar.gz (128 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing wheel metadata ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python2 /usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpWaemOM
cwd: /tmp/pip-install-UTXhG2/msgpack
Complete output (2 lines):
running dist_info
error: 'egg_base' must be a directory name (got `/tmp/pip-modern-metadata-K57krI`)
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python2 /usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpWaemOM Check the logs for full command output.
lantz commented
Have you tried pip3 install ryu
?
govwin commented
Thanks, that worked.
But I had already moved on with installation of mininet on ubuntu instead of 'mininet provided VM'. Also installed ryu with apt.