WebFaction
Community site: login faq

When you install a TurboGears application you only get the option for Python 2.6. How can I change the populated bin/lib environment to Python 2.7?

asked 19 Jul '12, 18:25

mlb5000
11
accept rate: 0%


I was able to solve this by using VirtualEnv and creating one in the app directory. The real problem was that Fabric you need to prepend every Fabric 'run' command with

$> source .env/bin/source && <your_command>

in order to force it into the virtual environment.

permanent link

answered 19 Jul '12, 20:44

mlb5000
11
accept rate: 0%

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:

×337
×13

question asked: 19 Jul '12, 18:25

question was seen: 1,975 times

last updated: 19 Jul '12, 20:44

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