Skip to content
This repository was archived by the owner on Mar 3, 2022. It is now read-only.
This repository was archived by the owner on Mar 3, 2022. It is now read-only.

Distinet Installation errors on Ubuntu 20.04 #67

@bmullan

Description

@bmullan

I am trying to install Distinet on a fresh install of Ubuntu 20.04 following the instructions here:
https://distrinet-emu.github.io/installation.html

I get to the section:

Start the installation by running:

pip3 install -r requirements.txt
sudo python3 setup.py install

I initially get 2 errors:

Successfully built networkx boto3 pulp PyYAML mapping-distrinet
ERROR: launchpadlib 1.10.13 requires testresources, which is not installed.
ERROR: botocore 1.20.100 has requirement urllib3<1.27,>=1.25.4, but you'll have urllib3 1.24.2 which is incompatible.

sudo apt install python3-testresources -y
gets rid of the 1st error

and it ends with:

Installed /usr/local/lib/python3.8/dist-packages/Distrinet-1.2-py3.8.egg
Processing dependencies for Distrinet==1.2
error: urllib3 1.24.2 is installed but urllib3<1.27,>=1.25.4 is required by {'botocore'}

The ubuntu repositories have python3-urllib3 1.25.8

and finally this Error:

Installed /usr/local/lib/python3.8/dist-packages/asyncio-3.4.3-py3.8.egg
Searching for PyYAML==5.1.2
Reading https://pypi.org/simple/PyYAML/
Downloading https://files.pythonhosted.org/packages/e3/e8 /b3212641ee2718d556df0f23f78de8303f068fe29cdaa7a91018849582fe/PyYAML- 5.1.2.tar.gz#sha256=01adf0b6c6f61bd11af6e10ca52b7d4057dd0be0343eb9283c878cf3af56aee4
Best match: PyYAML 5.1.2
Processing PyYAML-5.1.2.tar.gz
Writing /tmp/easy_install-3lsndsep/PyYAML-5.1.2/setup.cfg
Running PyYAML-5.1.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-3lsndsep/PyYAML-5.1.2/egg-dist-tmp-0cyfqq7m
> In file included from ext/_yaml.c:596:
ext/_yaml.h:2:10: fatal error: yaml.h: No such file or directory
2 | #include <yaml.h>
| ^~~~~~~~

compilation terminated.
Error compiling module, falling back to pure Python

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions