37 questions
2
votes
2
answers
2k
views
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 ...
0
votes
1
answer
1k
views
Is there a terminal command to find the path of libraries I installed with "brew install"?
Is there a terminal command to see the location of libraries I installed with brew install? I know they are in /usr/local, but I would like to see the whole path.
Thanks!
3
votes
2
answers
6k
views
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, ...
1
vote
1
answer
1k
views
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 = (
"....
0
votes
0
answers
179
views
Can I specify a target location for my virtual environment with pythonbrew?
When I do this:
pythonbrew venv create proj
pythonbrew venv list
pythonbrew venv use proj
a new virtual environment is installed to my ~/.pythonbrew/venvs/Python-2.7.3 directory, where it puts all my ...
15
votes
3
answers
51k
views
'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#...
2
votes
3
answers
241
views
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, ...
3
votes
2
answers
566
views
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 running:
http://www....
0
votes
1
answer
998
views
How to pass proxy to pythonbrew for downloading setuptools?
I installed pythonbrew on an ubuntu precise system. Had some issues using proxy during the installation (see an earlier post). Now I'm able to install different versions of python and switch between ...
0
votes
0
answers
398
views
python 2.7.5 released in May but not recognized by pythonbrew?
pythonbrew failed some months ago to install 2.7.3 due to a weird compiler error that was never resolved.
Now I ran pythonbrew cleanup and it failed:
OSError: [Errno 13] Permission denied: '/Users/...
0
votes
1
answer
2k
views
brew install gfortran Error: You must `brew link gmp' before gfortran can be installed
I tried installing gfortran using homebrew before I needed to install pythonbrew. I need pythonbrew to install and use the misopy package on my iMac. I keep getting this error when I want to install ...
3
votes
3
answers
1k
views
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....
3
votes
2
answers
933
views
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 ...
4
votes
2
answers
12k
views
import zlib ImportError: No module named zlib [duplicate]
# 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/...
1
vote
1
answer
427
views
Is it possible to relocate pythonbrew
I am trying to create a debian package containing customly built python using pythonbrew.
The compilation and debian construction is successfull.
The problem is that when I install the package on ...
1
vote
1
answer
1k
views
pythonbrew no longer there
so i installed pythonbrew on my ubuntuo 11.04 the other day - yesterday, actually - and now i cannot "find" it. Where before i would switch to 2.7.2, now all my requests for pythonbrew end in errors -...
0
votes
1
answer
220
views
Use interactive python in pythonbrew
I installed pythonbrew and then switch to python3.2.
$pythonbrew install 3.2
$pythonbrew switch 3.2
Then I found I couldn't run python interactively:
$python
Usage: /home/raincole/.pythonbrew/...
0
votes
1
answer
405
views
how to install additional python packages with pythonbrew
I am using pythonbrew to install 2.7.2 on my CentOS.
It has worked before but this time on a separate clean system I am running into an issue.
After installing pythonbrew (which I had to --force ...
38
votes
5
answers
6k
views
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 ...