You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Activity
Erotemic commentedon Feb 21, 2025
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 commentedon Feb 23, 2025
yeah i did replicate with the prime demo. flask was working for my machine before.
MaragonMH commentedon Feb 24, 2025
Have you tried

$env:LINE_PROFILE=1; python demo_primes.py?Works for me.