Skip to content

Not working on Windows 11, Python 3.12 #319

Open

Description

@simin75simin

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

  1. Erotemic commented on Feb 21, 2025

    @Erotemic
    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.

  2. simin75simin commented on Feb 23, 2025

    @simin75simin
    Author

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

  3. MaragonMH commented on Feb 24, 2025

    @MaragonMH

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions