WebFaction
Community site: login faq

Hi,

My django webapp appears setup using python 2.7, however, when I enter the command "python" in my ssh, it says its python 2.6.5? How can I make it 2.7?

asked 11 Dec '11, 04:42

jackliu
111
accept rate: 0%


Hi,

You can start a specific Python version by running pythonX.X from the command line, for example: python2.7

permanent link

answered 11 Dec '11, 04:48

todork
1.2k5
accept rate: 34%

You can edit your .bash_profile file to alias 'python' to whichever version you want to use. Just remember to do 'source .bash_profile' to reload changes.

permanent link

answered 11 Dec '11, 16:18

tclancy
861615
accept rate: 6%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×909
×337

question asked: 11 Dec '11, 04:42

question was seen: 3,201 times

last updated: 11 Dec '11, 16:18

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM