Questions tagged [pythonbrew]

pythonbrew is a program to automate the building and installation of Python in the users $HOME.

pythonbrew is a program to automate the building and installation of Python in the users $HOME.

https://github.com/utahta/pythonbrew

38 questions
38
votes
5 answers

python: what's the difference between pythonbrew and virtualenv?

I am new to python and I am planning to learn django. I had a bit of experience with ruby (not rails) and I am familiar with RVM however I don't understand the difference between pythonbrew and virtualenv. I know pythonbrew is a mimic of RVM but I…
Jeff
  • 13,079
  • 23
  • 71
  • 102
13
votes
3 answers

'bz2 is module not available' when installing Pandas with pip in python virtual environment

I am going through this post Numpy, Scipy, and Pandas - Oh My!, installing some python packages, but got stuck at the line for installing Pandas: pip install -e git+https://github.com/pydata/pandas#egg=pandas I changed 'wesm' to 'pydata' for the…
qAp
  • 1,139
  • 2
  • 12
  • 26
7
votes
5 answers

How to build pgmagick under pythonbrew on OS X?

I'm not having much success when attempting building pgmagick on OS X Lion with XCode 4.3.1. I've installed both ImageMagick and GraphicsMagick, along side boost, using the following commands (via homebrew): $ brew install graphicsmagick…
Phillip B Oldham
  • 18,807
  • 20
  • 94
  • 134
4
votes
2 answers

import zlib ImportError: No module named zlib

# pythonbrew venv create django1.5 Creating `django1.5` environment into /usr/local/pythonbrew/venvs/Python-2.7.3 Traceback (most recent call last): File "/usr/local/pythonbrew/etc/virtualenv/virtualenv.py", line 19, in import…
chobo
  • 4,830
  • 5
  • 23
  • 36
3
votes
0 answers

Running Django on Tornado - can't load admin styles

I'm running a django application on tornado server. By using this script: #!/usr/bin/env python # # Runs a Tornado web server with a django project # Make sure to edit the DJANGO_SETTINGS_MODULE to point to your settings.py # #…
NeoVe
  • 3,857
  • 8
  • 54
  • 134
3
votes
2 answers

Error when installing Django using pythonbrew

I am currently facing an issue when trying to install Django using pythonbrew. My system is running ubuntu 12.04 (LTS) and I am following these instructions to get django…
Joe
  • 3,120
  • 3
  • 25
  • 30
3
votes
3 answers

How can I run a python script using pythonbrew venv from the command line?

I recently came across this in a cron script at my place of work: /bin/bash -c "[[ -s $HOME/.pythonbrew/etc/bashrc ]] && source $HOME/.pythonbrew/etc/bashrc && pythonbrew use 2.6.7 && pythonbrew venv use someapp && python…
klenwell
  • 6,978
  • 4
  • 45
  • 84
3
votes
2 answers

Can't install pythonbrew 2.6

I'm trying to install python 2.6 with pythonbrew but i received some error while running the command pythonbrew install --configure="--enable-unicode=ucs4" 2.6 I'm running under Archlinux and used python2.7 for a long time on that machine. But I…
cp151
  • 189
  • 2
  • 17
2
votes
2 answers

brew install python/matplotlib not working: No module named _tkinter

I am struggling to make basic plots in matplotlib. It looks like I'm not installing tkinter correctly, which I understand should be installed from the --with-tcl-tk flag. What could be causing my error? How can I better diagnose this problem?…
kilojoules
  • 9,768
  • 18
  • 77
  • 149
2
votes
2 answers

pythonbrew importing bz2 yields: ImportError: No module named '_bz2'

This wtf happens on a Debian, during some dumb pip install, in python3.4.1 Traceback (most recent call last): File "/home/pi/.pythonbrew/pythons/Python-3.4.1/lib/python3.4/tarfile.py", line 1640, in bz2open import bz2 File…
Phlip
  • 5,253
  • 5
  • 32
  • 48
2
votes
1 answer

pythonbrew bashrc awk line no longer works

I recently upgraded my FreeBSD box and now pythonbrew seems to be broken. It bails out of the .pythonbrew/etc/bashrc file on this line: PATH_WITHOUT_PYTHONBREW=$(printf "$PATH" | awk -v RS=: -v ORS=: "/${PATH_ROOT//\//\/}/ {next} {print}" | sed -e…
CaptainThrowup
  • 919
  • 1
  • 7
  • 15
2
votes
3 answers

Using virtualenv within pythonbrew | Installing dependencies

from this question: Manage python version in different virtualenv with pythonbrew I followed the instructions of the answer and typed in: pythonbrew venv create project1 After doing this, virtualenv was installed and this new venv was installed…
Joe
  • 3,120
  • 3
  • 25
  • 30
2
votes
1 answer

Using pip in pythonbrew

I have started using pythonbrew to manage different Python installs. The main reason I wanted to do this is to install third party modules without affecting my system's Python install. Fore example I thought I would install the requests library…
squiguy
  • 32,370
  • 6
  • 56
  • 63
1
vote
1 answer

brew install python - fails OSX

Im trying to install python through brew with: brew install python But get the following error: Stevens-MacBook-Pro :: ~ ‹master*› » brew install python ==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/python-2.7. Already…
user2334197
  • 21
  • 1
  • 3
1
vote
1 answer

How can I run a python script using lighttpd fast-cgi with pyenv?

I am running the script with my own user: # from /etc/lighttpd/lighttpd.conf server.document-root = "/opt/app/current/bin/" server.username = "klenwell" fastcgi.server = ( ".py" => ( "localhost" => ( …
klenwell
  • 6,978
  • 4
  • 45
  • 84
1
2 3