-
Notifications
You must be signed in to change notification settings - Fork 133
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
get-pipsi custom Python broken #100
Comments
I have a little bit of additional color on this. There is one happy path:
If these three conditions are met, in this order, everything seems to work fine. If virtualenv is installed after the fact or the shebang line isn't changed, pipsi and/or the packages installed by it fail in various weird ways. |
I also used I made a simple sh script to install from git: https://gist.github.com/jedie/513d2f8415af0bebba70229d49f601b2 |
I had a problem today where I specified an installed Python 3.6 on macOS with the |
I had quite a few problems getting Pipsi installed (Python 3.6.2 via Pyenv, macOS High Sierra). I first encountered errors because
and was able to install
One solution might be to install That led me to attempt a fork of @jedie's install script (https://gist.github.com/elgertam/2d50ea280d2395dd2bbedbb169c59d2e/cbc9f2132a945a2b7d44248f93eb749a6296830d) where I install I then revised the install script (https://gist.github.com/elgertam/2d50ea280d2395dd2bbedbb169c59d2e/0bba09f4ced1d702654fe51d5db75133a34749ef). Here I use a bootstrapping approach to first create a "bootstrapping" virtualenv via I mention this only as a way I was able to solve the problem. I haven't dug deep into the code to figure out why I was getting such bad behavior from |
@elgertam I tried using your script and it works with various packages (awscli) but I still get
with boto3 and botocore. |
@wxiv I'm seeing the same problem. I took a look at https://github.com/boto/boto3/blob/1461984ff5cf03a789e7c46c0fac98cb0cc37cc7/setup.py#L35 In this case, |
Unfortunately ran into the following with @elgertam's latest script:
@jedie's script installed, and I could install packages, but
|
@tekumara you can follow instructions from this comment. You need to create |
Some of this is going to be down to virtualenv. See pypa/virtualenv#1051. As far as I can tell you can reproduce this by:
If both virtualenvs are created with either |
Just wanted to mention that I was running into this too so I recently decided to start a project called pipx that combines pipsi's functionality with npx's. It works with Python versions 3.6+. Would love to hear what you think! https://github.com/cs01/pipx |
Followup to #88.
If I remove pipsi and retry with
python
instead ofpython3
, everything works. Both Pythons were installed by Homebrew into/usr/local/bin
.The text was updated successfully, but these errors were encountered: