Open arnavb opened 6 years ago
@arnavb I already have pipenv installed via brew and I don't want to mess with that now, but I've had success with installing tools that require my pyenv version by doing it this way. Could you try it this way.
Let's first assume that you want to do this, I typically want my pyenv versions always running a newer pip so I don't have to do this every virtualenv.
pyenv install 3.6.6
# enable pyenv version to update pip etc
pyenv global 3.6.6
pip install --upgrade pip setuptools
# disable it to back on the system default python
pyenv global system
Then it'd simply become
pipsi install --python $PYENV_ROOT/versions/3.6.6/bin/python pipenv
This way you also don't need to activate that specific version of pyenv to run the tools, but this may not be what you want.
I've only used pipenv briefly, so this may not be a great, but at first glance I think this would work ok assuming you're not looking for a specific version of pipenv in any specific pyenv virtualenv. Don't know, mileage may vary on all, so you should probably test it out.
I'm trying to install Pipenv through Pipsi, but I'm having issues, as evident:
As evident, there are some issues here, the first being that the correct
pip
instance isn't being used when installing pipsi (bold text), and the second problem being that the virtualenv cannot be created for installing pipenv in. I'm not entirely sure if these two issues are related or not, but I'm including the information for the sake of completeness.How do I fix this?