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

add --python to specify python version #135

Open
luisdavim opened this issue Mar 16, 2018 · 7 comments
Open

add --python to specify python version #135

luisdavim opened this issue Mar 16, 2018 · 7 comments

Comments

@luisdavim
Copy link

it would be nice to be able to do:

pipsi --python=python2.7 install foo
@sanyer
Copy link

sanyer commented Mar 19, 2018

but you can already do this

@benwbooth
Copy link

@sanyer how?

@benwbooth
Copy link

@sanyer nevermind figured it out

@benwbooth
Copy link

e.g.

pipsi install --python python3.6 <package>

@sanyer
Copy link

sanyer commented Apr 4, 2018

$ pipsi install --help

Usage: pipsi install [OPTIONS] PACKAGE
    ...
Options:
    --python TEXT           The python interpreter to use.
    ...

@tedmiston
Copy link

I ended up here through Google looking for something like:

$ pipsi upgrade --python python37 ipython

My goal was to upgrade the python version of my existing ipython virtual environment from 3.6 to 3.7. It would be cool if we supported this use case.

For now, I ended up just uninstalling and doing a fresh install on the new Python version.

@00willo
Copy link

00willo commented Oct 25, 2018

FYI, works with pyenv nicely too.

pipsi install --python $PYENV_ROOT/versions/3.6.6/bin/python molecule

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants