Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Nick_C
on Sept 13, 2012
|
parent
|
context
|
favorite
| on:
Using /usr/local
Most of the Linux distros I've used have the generic executable linked to a specific version: ls -l /usr/bin/python -> python2.6
If you need a specific version because of libraries or whatever, just use: #!/usr/bin/env python2.7
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
If you need a specific version because of libraries or whatever, just use: #!/usr/bin/env python2.7