Skip to content

Commit de6be69

Browse files
authored
Merge pull request #1 from osmhpi/add-readme
Add a readme with install instructions and troubleshooting hints
2 parents b434bd9 + cc9ff02 commit de6be69

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

README.md

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Python Wheels for different simulators
2+
3+
This repository contains python wheels for the simulators used by [cohydra](https://github.com/osmhpi/cohydra).
4+
5+
## Installation
6+
7+
It so far tested with **Python 3.7**.
8+
Use the following command to install *ns-3.30* from the wheel:
9+
10+
```
11+
sudo pip3 install "https://github.com/osmhpi/python-wheels/releases/latest/download/ns-3.30-cp37-cp37m-linux_x86_64.whl"
12+
```
13+
14+
## Troubleshooting
15+
16+
### Problems with nacl dependency
17+
After installing the wheel and trying to run cohydra with the dependencies from the wheel, it can happen that `nacl` does not work anymore.
18+
During the execution of cohydra it tried to use `nacl._sodium` as part of the dependency `paramiko`, but didn't found it anymore.
19+
20+
To solve this problem, reinstall `nacl`:
21+
22+
```
23+
sudo pip3 uninstall pynacl
24+
sudo pip3 install pynacl
25+
```
26+
27+
If you are facing issues during the uninstall of `pynacl` (pip does not want to uninstall the package), run:
28+
29+
```
30+
sudo apt remove python3-pip
31+
```
32+
33+
and reinstall it like it is described here: [https://pip.pypa.io/en/stable/installing/](https://pip.pypa.io/en/stable/installing/)
34+
35+
### I have python 3.6.x or older
36+
37+
Run:
38+
39+
```
40+
sudo apt install python3.7
41+
```
42+
43+
to install python 3.7.
44+
And follow these instructions afterwards: [https://jcutrer.com/linux/upgrade-python37-ubuntu1810](https://jcutrer.com/linux/upgrade-python37-ubuntu1810)

0 commit comments

Comments
 (0)