Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to find python on path (~/bin) #166

Closed
pytoxbot opened this issue Sep 17, 2016 · 1 comment
Closed

Unable to find python on path (~/bin) #166

pytoxbot opened this issue Sep 17, 2016 · 1 comment

Comments

@pytoxbot
Copy link

I have my own path with symlinked custom built pythons, linked in ~/bin.

$ cat ~/.bashrc
...
# Add ~/bin to path
export PATH="~/bin:$PATH"
...
$ ll ~/bin
...
lrwxrwxrwx 1 ivo ivo   34 Feb 28 01:09 python2.6 -> /home/ivo/local/py26/bin/python2.6
lrwxrwxrwx 1 ivo ivo   34 Feb 28 01:09 python3.2 -> /home/ivo/local/py32/bin/python3.2
...
$ which python2.6
/home/ivo/bin/python2.6

Tox can't find these pythons. It's because of a bug in py - https://bitbucket.org/hpk42/py/issue/44/cant-handle-standard-unix-when-using

$ tox -e py26
GLOB sdist-make: /home/ivo/code/pypa/pip/setup.py
py26 create: /home/ivo/code/pypa/pip/.tox/py26
ERROR: InterpreterNotFound: python2.6
_____________________________________________________________________________________________________ summary ______________________________________________________________________________________________________
ERROR:   py26: InterpreterNotFound: python2.6

Ronny on IRC asked me to file an associated issue for tox as well.

@obestwalter
Copy link
Member

That referenced py bug has been lost in time, so I don't know if this has ever been fixed. I guess not though. Basically there is a bigger picture which is about more intelligent interpreter discovery, which is one thing I'd like to tackle after I waded through all the open issues, so watch this space ... or better that one:

Closing this in favour of #421 with generally better discovery hopefully coming up soonish.

@tox-dev tox-dev locked and limited conversation to collaborators Jan 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants