5G-MAG / rt-5gms-application-server

5G Media Streaming - Application Server
https://www.5g-mag.com/streaming
Other
4 stars 5 forks source link

Error, following the build instructions #43

Closed tlohmar closed 1 year ago

tlohmar commented 1 year ago

Describe the bug

Executing "python3 -m build --sdist" as described in the build instructions (https://github.com/5G-MAG/rt-5gms-application-server#building-a-python-distribution) fails with error: "/usr/bin/python3: No module named build".

OS: Ubuntu 20.04.5 LTS

dsilhavy commented 1 year ago

@tlohmar I think I also saw this once, can you please try running this before: pip install build

davidjwbbc commented 1 year ago

You need the pip, build and setuptools Python modules present on your system in order to produce an sdist tar file or to install the application server locally. Looks like this needs to be made clear in the instructions in the README.

tlohmar commented 1 year ago

ok, 'build' was missing. I also needed to add 'apt install python3.8-venv'.

jordijoangimenez commented 1 year ago

I suggest we add to the documentation how to install the dependencies. This was done here: https://github.com/5G-MAG/Documentation-and-Architecture/wiki/MBMS-Modem See step 1.

If we dont want to include the commands, a link to another place where to find the commands would be also useful. I'm going to open a similar issue under the 5GMS-AF

jordijoangimenez commented 1 year ago

This should be resolved with the new documentation.