Skip to content

python-config in python3 setup #91

Description

@aragon999

The python-config script is not properly replaced, after using the setup-python action:

$ which python 
/opt/hostedtoolcache/Python/3.8.2/x64/bin/python
$ which python3
/opt/hostedtoolcache/Python/3.8.2/x64/bin/python3
$ which python-config
/usr/bin/python-config
$ which python3-config
/opt/hostedtoolcache/Python/3.8.2/x64/bin/python3-config

which will probably cause hard to debug issues, so my suggestion is, to either not replace "python" itself (probably a bad idea) or to properly replace (symlink) python-config to python3-config.

I have not tested what happens when using Python 2.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleThe issue has been open for a year without any activity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions