Skip to content

Please use the user-specified Python, not the system Python #1

@shamichatterjee

Description

@shamichatterjee

In e.g. the mjd script,
#!/usr/bin/python --> #!/usr/bin/env python
That way, the script executes the python I've specified on my path, instead of the system python which doesn't know about modules like astropy.

(Randomly encountered this script while trying to figure out a log-y labeling issue.)

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