Libc version (ldd -v): ldd (Ubuntu GLIBC 2.23-0ubuntu11.3)
compiler version: gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12)
Description of the problem
In order to install and run DCE, I downloaded the Ubuntu 16.04 from ubuntu.com, and installed it on Virtualbox (i.e., a brandy-new operating system). After "apt-get update" and "apt-get upgrade", I tried to install DCE1.11 according to the "QUICK START" (https://ns-3-dce.readthedocs.io/en/latest/getting-started.html).
But when I executed "./bake.py configure -e dce-ns3-1.11", there were following errors:
">>> Error: missing Python 'distro' package; please install"
so I ran "pip install distro", the output was as follows:
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-WcLXWq/distro/
You are using pip version 8.1.1, however version 22.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command
However, I tried to upgrade setuptools and pip were failed:
*pip install --upgrade setuptools***
Collecting setuptools
Using cached https://files.pythonhosted.org/packages/b6/21/cb9a8d0b2c8597c83fce8e9c02884bce3d4951e41e807fc35791c6b23d9a/setuptools-65.6.3.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "setuptools/init.py", line 8, in
import _distutils_hack.override # noqa: F401
File "_distutils_hack/init.py", line 194
f'specfor{name}',
^
SyntaxError: invalid syntax
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-YEAw3L/setuptools/
You are using pip version 8.1.1, however version 22.3.1 is available.
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-Cv3kd0/pip/
You are using pip version 8.1.1, however version 22.3.1 is ava
It seems this is a problem related to python version? Currently, my OS has installed both python2(Version: 2.7.12) and python3(3.5.2):
Description of the problem
In order to install and run DCE, I downloaded the Ubuntu 16.04 from ubuntu.com, and installed it on Virtualbox (i.e., a brandy-new operating system). After "apt-get update" and "apt-get upgrade", I tried to install DCE1.11 according to the "QUICK START" (https://ns-3-dce.readthedocs.io/en/latest/getting-started.html). But when I executed "./bake.py configure -e dce-ns3-1.11", there were following errors: ">>> Error: missing Python 'distro' package; please install"
so I ran "pip install distro", the output was as follows:
Collecting distro Using cached https://files.pythonhosted.org/packages/4b/89/eaa3a3587ebf8bed93e45aa79be8c2af77d50790d15b53f6dfc85b57f398/distro-1.8.0.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in
IOError: [Errno 2] No such file or directory: '/tmp/pip-build-WcLXWq/distro/setup.py'
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-WcLXWq/distro/ You are using pip version 8.1.1, however version 22.3.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command
However, I tried to upgrade setuptools and pip were failed: *pip install --upgrade setuptools*** Collecting setuptools Using cached https://files.pythonhosted.org/packages/b6/21/cb9a8d0b2c8597c83fce8e9c02884bce3d4951e41e807fc35791c6b23d9a/setuptools-65.6.3.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in
File "setuptools/init.py", line 8, in
import _distutils_hack.override # noqa: F401
File "_distutils_hack/init.py", line 194
f'specfor{name}',
^
SyntaxError: invalid syntax
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-YEAw3L/setuptools/ You are using pip version 8.1.1, however version 22.3.1 is available.
***pip install --upgrade pip**** Collecting pip Using cached https://files.pythonhosted.org/packages/a3/50/c4d2727b99052780aad92c7297465af5fe6eec2dbae490aa9763273ffdc1/pip-22.3.1.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in
File "/tmp/pip-build-Cv3kd0/pip/setup.py", line 7
def read(rel_path: str) -> str:
^
SyntaxError: invalid syntax
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-Cv3kd0/pip/ You are using pip version 8.1.1, however version 22.3.1 is ava
It seems this is a problem related to python version? Currently, my OS has installed both python2(Version: 2.7.12) and python3(3.5.2):
So how to fix this problem? Thanks in advance.