Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Get Stared failed on Windows #340

Closed
Paroxyste opened this issue Dec 17, 2022 · 4 comments
Closed

[BUG] Get Stared failed on Windows #340

Paroxyste opened this issue Dec 17, 2022 · 4 comments

Comments

@Paroxyste
Copy link

In order to try to solve the problem #339 of the render_template, I wanted to make a fresh install on my windows laptop.

I installed Python 3.10.9, Robyn and Jinja2, then I copy/pasted the Get Started code from the doc and when I launch it I get this error :

image

main.py

from robyn import Robyn

app = Robyn(__file__)

@app.get("/")
async def h(request): # request is an optional parameter
    return "Hello, world!"

app.start(port=5000, url="0.0.0.0")

I launch program with :

python app.py

My package version :

image

And my structure project got only app.py file

Robyn work on windows ? or is it another problem ?

I apologize for bothering you with these problems but I really want to use this great framework for my projects.

@sansyrox
Copy link
Member

I apologize for bothering you with these problems but I really want to use this great framework for my projects.

No worries. I really appreciate you helping with all the support 😄

I will have a look. Ideally, this should work.

@MosTafa2K
Copy link

i have same problem too!

when i lunch code from the doc i get this error.

OS: Windows 10
Python: 3.9.6
Robyn: 0.20.0

@sansyrox
Copy link
Member

@MosTafa2K @Paroxyste , this should be fixed in the latest release. Can you folks please have a look?

@sansyrox
Copy link
Member

I just tested on Windows 10 on the latest version of Robyn and everything is working well :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants