patri9ck / a2ln-server

A way to display Android phone notifications on Linux (Server)
GNU General Public License v3.0
98 stars 8 forks source link

Dependencies not installed automatically #3

Closed Domi04151309 closed 2 years ago

Domi04151309 commented 2 years ago

After following the guide in the readme this happens

image

I am not able to install the missing module. Using pip install <package> fails too.

patri9ck commented 2 years ago

Hey, thank you for your issue. Bascially this is how you are supposed to install it:

$ git clone https://github.com/patri9ck/a2ln-server.git
$ cd a2ln-server
$ pip install -r requirements.txt
# make install
$ a2ln 5000

We should probably automate/improve parts of this or at least clarify the README.md.

Domi04151309 commented 2 years ago

image Still the same error message

Domi04151309 commented 2 years ago

I think it works when I run pip as root. The error did not appear anymore after that.

patri9ck commented 2 years ago

Could you install the Python packages without sudo and then run A2LN with a port higher than 1023 (e.g. 5000 as I did)?

Domi04151309 commented 2 years ago

That works too. I'm a bit new to this kind of software.

svdragster commented 2 years ago

Ports below 1024 are reserved https://www.w3.org/Daemon/User/Installation/PrivilegedPorts.html