Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
pypi 0.4.3: "#!/usr/bin/env python3" gets changed to "#!/bin/python" on install #29
Comments
|
Huh. I'm not seeing any problems here. You install by running |
|
I would ask additionally for: At least the bad interpreter error looks like /bin and /usr/bin are separate things |
|
Yep, what Narrat said :) |
ghost
commented
Jun 8, 2015
|
Oops sorry. Yes, installed via However, if I fully remove greg and then install from here on git, it works just fine!
If I install using python2.7 with
So then if I edit
|
If /bin is a link to /usr/bin for example One point of notice. iirc greg doesn't run under python2 (hence the encoding issue). Changing in the python2 environment the interpreter to py3 causes the problem, that it searches for the py3 module and cannot find it. If running the correctly py3 pip version producing the error for file not found. hm
to
|
ghost
commented
Jun 9, 2015
|
Ok, my /bin and /usr/bin are separate directory. I just did a fresh install of greg from pypi using So I looked in the file of /usr/local/bin/greg and see on first line: So this is a problem because I do not have /bin/python at all on my Ubuntu. So why on installation does that first line get changed to |
ghost
changed the title from
pypi 0.4.3: no such file or directory
to
pypi 0.4.3: #!/usr/bin/env python3 gets changed to #!/bin/python on install
Jun 9, 2015
ghost
changed the title from
pypi 0.4.3: #!/usr/bin/env python3 gets changed to #!/bin/python on install
to
pypi 0.4.3: `#!/usr/bin/env python3` gets changed to #!/bin/python on install
Jun 9, 2015
ghost
changed the title from
pypi 0.4.3: `#!/usr/bin/env python3` gets changed to #!/bin/python on install
to
pypi 0.4.3: "#!/usr/bin/env python3" gets changed to "#!/bin/python" on install
Jun 9, 2015
ghost
commented
Jun 9, 2015
|
Ok when I do a build from git using I think I wonder if my environment is messed up somehow. At any rate I'll stay with the git build for now instead of using pypi. |
|
Thanks for the report, I will try to understand what's going on and get back to you. |
|
All right, I've uploaded a test package to testpypi in which I only use setuptools. If you can, please install it with
and let me know if this behaves. |
ghost
commented
Jun 10, 2015
|
Yes! That works well for me, it installs correctly, and launches correctly. And the shebang of /usr/local/bin/greg is set correctly to Thanks again for making greg and for fixing the problems as they come up!! |
ghost
commented
Jun 12, 2015
|
Is there anything you need from me to help close this issue or help push the test version live? Thanks again. |
Nudging me from time to time works fine ;) |
ghost
commented
Jun 13, 2015
|
Awesome, thanks again! I updated and everything is working well. |
ghost commentedJun 6, 2015
Thanks for pushing the update to pypi, However I encounter the following problem:
When I run greg I'll see the following:
bash: /usr/local/bin/greg: /bin/python3: bad interpreter: No such file or directory