Windows 10: Windows 11 Hypervisor_error BSOD while executing python script

Discus and support Windows 11 Hypervisor_error BSOD while executing python script in Windows 10 Gaming to solve the problem; I recently upgraded my PC mother board, CPU and RAM, I did a clean install.I am receiving regular chrashes and blue screen death errors while executing... Discussion in 'Windows 10 Gaming' started by Eray Saltik, Dec 30, 2023.

  1. Windows 11 Hypervisor_error BSOD while executing python script


    I recently upgraded my PC mother board, CPU and RAM, I did a clean install.I am receiving regular chrashes and blue screen death errors while executing python scripts on Windows Visual Studio Code! Please help asap!Below you can see the outcome of minidump results:Minidump file:https://drive.google.com/file/d/1jrcePwuLraBRzMQk4Y2jgBMGT9FxqBRs/view?usp=sharing or analysis of this file, run !analyze -vnt!KeBugCheckEx:fffff800`6b216b00 48894c2408 mov qword ptr [rsp+8],rcx ss:fffff800`6d325cb0=00000000000200010: kd> !analyze -v********************************************

    :)
     
    Eray Saltik, Dec 30, 2023
    #1

  2. Simple Python Scripts

    Hey exodusprime1337,
    Just got in from shoveling snow *Frown Windows 11 Hypervisor_error BSOD while executing python script :(

    I'm all for suggesting Linux to people, but...
    I've also learned to keep my variables to a minimum.
    What I'm saying is, when learning something new,
    Python in this case, you don't want to add Linux and the
    shell into the mix as debugging is harder with 2 unknowns.

    Stick with your tried and true environment when experimenting
    w/ Python and when you have time to focus on Linux only
    start messing w/ shell scripting, perl and tcl/tk.
    Then you'll realize that you can do everything on Linux.

    For now just remove my she-bang line Code: #!/usr/bin/python[/quote] as it's only function is to tell the Linux kernel what interpreter to use.

    I'll have another script for you tonight *Smile Windows 11 Hypervisor_error BSOD while executing python script :)
     
    regexorcist, Dec 30, 2023
    #2
  3. python script does not run from commandline

    hello,

    I'm having problems suddenly running .py scripts from the command line. (CMD)

    Before, *.py was associated with python.exe (The association was created during python installation, associating python scripts (.py) with the proper executable.

    With the proper association of the .py file to python.exe , the location of the python.exe in the %PATH% variable - and the python extension in the %PATHEXT% , just typing '.\myscript.py' would launch the script in using the correct python.exe (using the
    CMD line)

    However, for some reason this suddenly changed last week. Now, typing '.\myscript.py' does nothing - simply shows me the next prompt in the CMD window.

    typing 'python myscript.py' still works, but since there are a load of batch files lingering around running the .py scripts without the explicit 'python' prefix - I have no idea what changed and i'd like to find out what's going on and fix this.

    I browsed various forums - mentioning assoc and ftype, but these do not seem to do the trick

    (in fact, on my tablet, typing .\myscript.py perfectly executes, and assoc/ftype seem to have nothing set for python scripts in the CMD window)

    On the pc in question:

    assoc .py returns 'Python.File' , ftype Python.File shows the path/python.exe to my python executable - yet when typing myscript.py in the CMD line, it does nothing.

    I also tried associating the .py extension using the 'Run with' again, (was still showing 'python') but this too changed nothing.

    I also checked the registry, to see what windows might be doing with .py extension, but although there are some references to the .py extension, some of which referring to the python.exe I like to use, it's hard to see what's going on there (not sure which
    registry items are or used for what or even if they are used in win10.)

    I 'repaired' my python install - then completely reinstalled python (adding registry entries) but nothing changed.

    when typing '.\myscript.py' on the command line - nothing happens, just the next prompt.

    when double clicking the python script - it does seem to be associated with the proper python version, it does start using the right python.exe

    My question(s)

    - if possible, how do I see (using the cmd line) what is windows is actually doing (trying to do) when I type 'myscript.py' (can I start CMD using some debug/verbose options?)

    - How/where in windows do i control how a .py script runs in the commandline? - apart from the 'run with' is there any way to tell windows how to run my python script, when I type myscript.py on the command line?

    - are there additional options for the powershell to deal with this?

    - is there a way, again from windows, to add details to the 'run with' , rather then just starting the .py using a python from the list, to tell it to use certain arguments?

    - When using 'run with' , and seeing a python logo - is there a way to tell the exact path/execution line associated with that logo?

    (if not, i really think it should be possible to see this when that list pops up using some advanced settings or something )

    any help and insights would be much appreciated.

    cheers

    GJ
     
    GertJanOurensma, Dec 30, 2023
    #3
  4. Windows 11 Hypervisor_error BSOD while executing python script

    Simple Python Scripts

    Before we post any more scripts, I'd like to take
    a step back and go over the basic help function
    within the Python interactive console.
    (mine is on linux, not sure if the Windows version is exactly the same) *Confused Windows 11 Hypervisor_error BSOD while executing python script :confused:

    Here I start the Python console, it tells me what
    version I'm using and gives me a >>> prompt


    Windows 11 Hypervisor_error BSOD while executing python script [​IMG]


    Now I use the HELP function to view all the installed modules/libraries
    Code: help("modules")[/quote]
    Windows 11 Hypervisor_error BSOD while executing python script [​IMG]



    Windows 11 Hypervisor_error BSOD while executing python script [​IMG]


    Now to see what functions are contained within a particular module,
    we simply use help again. I'll be looking at the webbrowser module
    which can be seen in the list.
    Code: help("webbrowser")[/quote]
    Windows 11 Hypervisor_error BSOD while executing python script [​IMG]



    Windows 11 Hypervisor_error BSOD while executing python script [​IMG]


    By looking into the module, I see that I want to use the open_new(url) function,
    so my command(s) will look someting like this.
    I have to import the module to use the functions.

    Code: >>> import webbrowser >>> webbrowser.open_new("TechPowerUp")[/quote] As you can see from the image, my default browser opened to
    the specified url from within Python.


    Windows 11 Hypervisor_error BSOD while executing python script [​IMG]


    Help can navigate through any module, exposing the various
    functions which I hope will make your python coding easy and fun *Big Grin Windows 11 Hypervisor_error BSOD while executing python script :D

    Now lets do some scripting. *Wink Windows 11 Hypervisor_error BSOD while executing python script ;)
     
    regexorcist, Dec 30, 2023
    #4
Thema:

Windows 11 Hypervisor_error BSOD while executing python script

Loading...
  1. Windows 11 Hypervisor_error BSOD while executing python script - Similar Threads - Hypervisor_error BSOD while

  2. Python script crashes on windows 11

    in Windows 10 Gaming
    Python script crashes on windows 11: It is windows thread detector bug because i ran tha same script in a pc with the intel 9900k and it runs smootly So the thread detector in windows 11 has bug...
  3. Python script crashes on windows 11

    in Windows 10 Software and Apps
    Python script crashes on windows 11: It is windows thread detector bug because i ran tha same script in a pc with the intel 9900k and it runs smootly So the thread detector in windows 11 has bug...
  4. Windows 11 Hypervisor_error BSOD while executing python script

    in Windows 10 Software and Apps
    Windows 11 Hypervisor_error BSOD while executing python script: I recently upgraded my PC mother board, CPU and RAM, I did a clean install.I am receiving regular chrashes and blue screen death errors while executing python scripts on Windows Visual Studio Code! Please help asap!Below you can see the outcome of minidump results:Minidump...
  5. Python-based executable file

    in Windows 10 Gaming
    Python-based executable file: Hello! I tried to convert from .PY Python file to .EXE Executable. But if I ejected it, the AntiVirus says this program is malware.File converted to EXE: pythoncolorama.pyMalware type: Wacatac.B!ml trojanBut the Antivirus could remove automatically. Whi am I facing this...
  6. Python-based executable file

    in AntiVirus, Firewalls and System Security
    Python-based executable file: Hello! I tried to convert from .PY Python file to .EXE Executable. But if I ejected it, the AntiVirus says this program is malware.File converted to EXE: pythoncolorama.pyMalware type: Wacatac.B!ml trojanBut the Antivirus could remove automatically. Whi am I facing this...
  7. Windows Terminal and Python scripts?

    in Windows 10 Ask Insider
    Windows Terminal and Python scripts?: The new Windows Terminal is so beautiful and well done that I completely switched over to it, but the only thing that bugs me is still seeing the basic console window when running a Python script by double clicking on it... I did manage to make a profile for Python console,...
  8. MTP Python script

    in Windows 10 Ask Insider
    MTP Python script: I want to run a Python script using a MTP path (an external device). How can I write to it? submitted by /u/Geekest07 [link] [comments] https://www.reddit.com/r/Windows10/comments/f2g8ao/mtp_python_script/
  9. Hypervisor_error BSOD on 1803 while running AVD

    in Windows 10 BSOD Crashes and Debugging
    Hypervisor_error BSOD on 1803 while running AVD: I am a developer and I often run AVD (Android Virtual Device) to test programs that I am working on. In the past 2 weeks or so, I've encountered three hypervisor_error BSODs while on windows 1803. After the first BSOD, I went and turned of Hyper-V and Docker but the issue...
  10. Hypervisor_error BSOD

    in Windows 10 Installation and Upgrade
    Hypervisor_error BSOD: I've seen this Hypervisor_Error BSoD 3 times in the past two weeks. Each time that it happens, I am running an AVD (android virtual device) and I am working on a mobile application. I need this issue resolved so that I continue my work without having to worry about the...