Skip to content

ShapeOut2 won't start on Windows #64

@phidahl

Description

@phidahl

I tried installing the last 5 releases (Windows installer) of ShapeOut2

The same problem: Error Window showing: "Failed to execute Script ShapeOut2"

Installing with pip3 (Python38) didn't help either. By manually calling "python3.exe Scripts/shapout2.exe" I get the following error:

C:\Users\ZMD\AppData\Local\Programs\Python\Python38>python.exe Scripts\shapeout2.exe
 ** On entry to DGEBAL parameter number  3 had an illegal value
 ** On entry to DGEHRD  parameter number  2 had an illegal value
 ** On entry to DORGHR DORGQR parameter number  2 had an illegal value
 ** On entry to DHSEQR parameter number  4 had an illegal value
Traceback (most recent call last):
  File "C:\Users\ZMD\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\ZMD\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "Scripts\shapeout2.exe\__main__.py", line 7, in <module>
  File "C:\Users\ZMD\AppData\Local\Programs\Python\Python38\lib\site-packages\shapeout2\__main__.py", line 9, in main
    import pyqtgraph  # noqa: F401
  File "C:\Users\ZMD\AppData\Local\Programs\Python\Python38\lib\site-packages\pyqtgraph\__init__.py", line 19, in <module>
    import numpy  ## pyqtgraph requires numpy
  File "C:\Users\ZMD\AppData\Local\Programs\Python\Python38\lib\site-packages\numpy\__init__.py", line 305, in <module>
    _win_os_check()
  File "C:\Users\ZMD\AppData\Local\Programs\Python\Python38\lib\site-packages\numpy\__init__.py", line 302, in _win_os_check
    raise RuntimeError(msg.format(__file__)) from None
RuntimeError: The current Numpy installation ('C:\\Users\\ZMD\\AppData\\Local\\Programs\\Python\\Python38\\lib\\site-packages\\numpy\\__init__.py') fails to pass a sanity check due to a bug in the windows runtime. See this issue for more information: https://tinyurl.com/y3dm3h86

There seems to be a problem with numpy and windows runtime in version 2004. Is there a workaround? Or should we maybe just wait a bit? - I already installed an update for windows to version 20H2 which didn't help.

P.S.

I installed an older version of numpy: pip3 install numpy==1.19.3 and with that it works. But the bug is still there, I guess. The question is, if ShapeOut2 is affected by it or not.

P.P.S

The pip version of ShapeOut2 only works if I start it with

C:\Users\ZMD>cd C:\Users\ZMD\AppData\Local\Programs\Python\Python38

C:\Users\ZMD\AppData\Local\Programs\Python\Python38>python2 Scripts\shapeout2.exe

simple shapeout2 results in:

 ---------------------------
Fatal Error in Launcher
---------------------------
Unable to create process using '"c:\users\zmd\appdata\local\programs\python\python38\pythonw3.exe"  "C:\Users\ZMD\AppData\Local\Programs\Python\Python38\Scripts\shapeout2.exe" ': Das System kann die angegebene Datei nicht finden.


---------------------------
OK   
---------------------------

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions