Robyn: Robyn not running on OS X
Bug Description
Hi everybody, First of all, congratulations on your great work. I’m trying to test Robyn on an OS X (Macbook pro M4 Pro, latest Sequoia OS X, Python3.11) environment in order to compare it to Sanic. I’m getting an invalid port error, sanic runs fine on the same port. Is there a known issue with OS X? Thanks in advance André
Steps to Reproduce
hello world program:
from robyn import Robyn
Create an instance of Robyn app
app = Robyn(file)
Define a basic route
@app.get(“/”) async def home(): return “Hello World!”
Start the Robyn server
if name == “main”: app.start(port=8081)
Your operating system
MacOS
Your Python version (python --version)
3.11
Your Robyn version
latest
Additional Info
I’d be happy to do some testing
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 18 (8 by maintainers)
Thanks, it must be something with 8081
Yessss
That is the code that doesn’t work
Hi @sansyrox here is the requested code:
@VishnuSanal , can you try once?