Skip to content

Problem when LD_LIBRARY_PATH is required to run python #22

@ajanin

Description

@ajanin

I'm in a managed environment using my own version of python. As a result, I need to set LD_LIBRARY_PATH to get python to work. In clonevirtualenv.py, around line 63, a python subprocess is opened, but the environment it uses is set to {}. To get it to work in my environment, I changed that to:

     env={'LD_LIBRARY_PATH': os.environ.get('LD_LIBRARY_PATH')},            

I'm adding this issue mostly just to document it in case others search for it rather than suggesting it as a general solution.

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