Skip to content

PYTHONPATH shadows site-packages install #117

@jsandhu-jpl

Description

@jsandhu-jpl

The install instructions state to create an environment variable PYTHONPATH that should point to the falco source directory. If you do this then python always runs the code from that source directory, NOT from the installed falco code in the corresponding site-packages directory. In fact the setup.py in falco-python is not needed if you have PYTHONPATH set up correctly. Only pip install -r requirements.txt is needed to run falco. Alternative is to not create PYTHONPATH but then the examples will fail because they can't find the data directory where data files are kept, e.g. influence function files. Creating PYTHONPATH is akin to installing with -e option to pip, i.e. pip install -e .

Install instructions should be updated to clarify this confusion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions