Why could be simpler than running a relay?

pip install nostr-relay

nostr-relay serve

Reply to this note

Please Login to reply.

Discussion

Getting requirements to build wheel ... error

error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.

│ exit code: 1

╰─> [1 lines of output]

'pkg-config' is required to install this package. Please see the README for details.

[end of output]

and after installing pkg-config-lite (btw why do I have a packet manager, when I have to manually install binaries to installl a python program?!) I ran into

error: Microsoft Visual C++ 14.0 or greater is required.

OMG I'll nether get, why all this console nonsense from the 60s of the last century of the last millenium ist still so popular. Of course I installed MS build tools from the recommended source in the error message. But the error message remains. Maybe some path thing, but there is no hint where to search.

Any tips on how I can move forward?

and found I have to modify the MS VC tools after installation. It gets tha a bit further but I run into

aiohttp/_websocket.c(3042): error C2039: "ob_digit" is not a member of "_longobject"

🙁 ... searching the web leads to open issues and to install betas.

My advice… use python on WSL not directly Windows. I expect you could serve straight out of WSL but I’m not sure.

I'll give it a try

on WSL i was able to install pyhton, pip, then pip install nostr-relay.

pip list | grep nostr-relay

nostr-relay 1.13

nostr-relay

nostr-relay: command not found

python -m nostr-relay

/usr/bin/python: No module named nostr-relay

🙈🤷‍♂️

😔

Try making a venv with the latest python you have on your computer and pip install it in venv.

Stop using Python, this is madness.

I can’t believe Microsoft introduced Python integration in Excel. They’ve released a whole new beast.

There it will "just work" because the Python stuff runs on Azure directly from your spreadsheet and back.

Or Windows

I can't. Need it for work.

Very cool!

Not sure if it works on local networks with other devices. Would be great if it did.