From: Stephen W. <st...@ic...> - 2023-01-30 05:56:09
|
I need Windows help with running a python3 script in github Actions (CI). I'm working on a new regiression test script written in python, and it uses docopt. That works perfectly fine in Linux and MacOS on GitHub actions, but I can't figure out how to get it to work on the Windows targets: I put a "pip3 install docopt" before the tests, and the action is reporting: ``` Run pip3 install docopt Collecting docopt Downloading docopt-0.6.2.tar.gz (25 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: docopt Building wheel for docopt (pyproject.toml): started Building wheel for docopt (pyproject.toml): finished with status 'done' Created wheel for docopt: filename=docopt-0.6.2-py2.py3-none-any.whl size=13705 sha256=6ae8825ae30a321602abfc073c1887bc5378e05ebd0af0ba7e345154a372c216 Stored in directory: /home/runneradmin/.cache/pip/wheels/7c/d7/8d/2156234738063e3d4a39ba77dc677046100e62766b53807189 Successfully built docopt Installing collected packages: docopt Successfully installed docopt-0.6.2 ``` ... and that's great, but later, when the action runs the python script, I get: ``` Traceback (most recent call last): File "D:\a\iverilog\iverilog\ivtest\vvp_reg.py", line 14, in <module> from docopt import docopt ModuleNotFoundError: No module named 'docopt' ``` Github actions are using msys2 here. The PR that I'm working on is here: https://github.com/steveicarus/iverilog/pull/847 Any ideas? -- Steve Williams st...@ic... |