Skip to content

Cannot run ORE not example files cd from Python #30

@p-hatstadt

Description

@p-hatstadt

I am trying to use ORE in python. My goal is to first run some of the python examples, starting with Example_42 and go from there.
My issue is that if I do "pip install open-source-risk-engine" (which works) then I do not have access to the example files. As a result, I cannot do "python run.py" from the Example_42 folder that contains run.py. So what I did was to clone the repo locally, which allows access to the Example_42 folder. However, upon trying to execute run.py, I get this error: "ORE executable not found".
So in order to try and understand what the problem is and debug the code, I tried doing a local installation of the code by doing "pip uninstall open-source-risk-engine", then switch to the "engine" subfolder where I cloned the repo and try to do "pip install -e .". However, upon doing so, I get this error: "ERROR: File "setup.py" or "setup.cfg" not found. Directory cannot be installed in editable mode: C:\Users\Philippe Hatstadt\git\OpenSourceRisk\Engine

So I sort of have nowhere to go right now and help would be appreciated.

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