Skip to content

WinError 5 when trying to install open-simulator-interface #716

@ntscheppe

Description

@ntscheppe

Hey,
so when trying to install open-simulator-interface using
python -m pip install git+https://github.com/OpenSimulationInterface/open-simulation-interface
I get the followin error output. Any suggestions on how to fix this?

Collecting git+https://github.com/OpenSimulationInterface/open-simulation-interface
Cloning https://github.com/OpenSimulationInterface/open-simulation-interface to c:\temp\pip-req-build-teq59xjl
Running command git clone --filter=blob:none --quiet https://github.com/OpenSimulationInterface/open-simulation-interface 'C:\Temp\pip-req-build-teq59xjl'
Resolved https://github.com/OpenSimulationInterface/open-simulation-interface to commit f52aeb3
Running command git submodule update --init --recursive -q
Preparing metadata (setup.py) ... done
Requirement already satisfied: protobuf in c:\users\u24p72\appdata\local\programs\python\python39\lib\site-packages (from open-simulation-interface==3.5.0) (4.21.12)
Building wheels for collected packages: open-simulation-interface
Building wheel for open-simulation-interface (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [5 lines of output]
running bdist_wheel
running build
running build_py
error: [WinError 5] Zugriff verweigert
Protobuf-compiling osi_common.proto
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for open-simulation-interface
Running setup.py clean for open-simulation-interface
Failed to build open-simulation-interface
Installing collected packages: open-simulation-interface
Running setup.py install for open-simulation-interface ... error
error: subprocess-exited-with-error

× Running setup.py install for open-simulation-interface did not run successfully.
│ exit code: 1
╰─> [5 lines of output]
running install
running build
running build_py
error: [WinError 5] Zugriff verweigert
Protobuf-compiling osi_common.proto
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> open-simulation-interface

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    HelpWantedI have tried my best - please help me!

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions