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

Not working on Windows 11, Python 3.12 #319

Open
simin75simin opened this issue Feb 21, 2025 · 3 comments
Open

Not working on Windows 11, Python 3.12 #319

simin75simin opened this issue Feb 21, 2025 · 3 comments

Comments

@simin75simin
Copy link

i did something like set LINE_PROFILE=1; python demo_primes.py just like how a normal flask app is ran on windows. but the program ran correctly without giving the line profiling data. i tried the exact same file and instruction in linux (minus the set syntax in powershell) and the profiling worked as well as the program itself.

how do i resolve this in windows 11? thanks in advacne.

@Erotemic
Copy link
Member

Can you replicate with the primes demo itself? Or does it just happen with your flask app? A MWE that demonstrates the issue is needed.

@simin75simin
Copy link
Author

yeah i did replicate with the prime demo. flask was working for my machine before.

@MaragonMH
Copy link

Have you tried $env:LINE_PROFILE=1; python demo_primes.py ?
Works for me.
Image

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