Skip to content

Tag: pip

Pip Install hangs

I currently have Python 3.5 on my Windows machine. I’m trying to install a Python package using the command “pip install” but as soon as I hit enter nothing happens. The action hangs for such a long time and when I try to exit the command line, it freezes. How do I get pip install to work? A…

Zsh: Conda/Pip installs command not found

So I installed Anaconda and everything is working. After I installed it I decided to switch to oh-my-zsh. I am now getting: when trying to use pip or conda installs 5.0.5 I have added to my zshenv.sh What is it that I’m missing? Answer It appears that my PATH is broken in my .zshrc file. Open it and add…

Installing Hiredis with pip on windows machine

I´ve been trying to install Hiredis in my virtual environment. I developing in windows 7. At first i got the vcvarsall.bat error (or something like that). I read a lot of blogs and suggestions to this problem but i found no suitable answer. I tried “Windows GCC (MinGW) binaries for Python developers&#82…

Pip build option to use multicore

I found that pip only use single core when it compiles packages. Since some python packages takes some time to build using pip, I’d like to utilize multicore on the machine. When using Makefile, I can do that like following command: How can I achieve same thing for pip? Answer From what I can tell it do…

Running bpython inside a virtualenv

I have created a virtualenv and installed SQLAlchemy in it: import works in python: But it does not work in bpython: Why can’t bpython find the package installed in the virtualenv, even though it is executed after source alchemy/bin/activate is called? Answer bpython must be installed in the virtualenv,…

Pip freeze vs. pip list

Why does pip list generate a more comprehensive list than pip freeze? Pip’s documentation states:     freeze Output installed packages in requirements format. list List installed packages. What is a “requirements format”? Answer One may generate a requirements.txt via: A user can use this re…

Pip install Matplotlib error with virtualenv

I am trying to install matplotlib in a new virtualenv. When I do: or I get this error: Anyone have an idea what is going on? Any help much appreciated. Answer Building Matplotlib requires libpng (and freetype, as well) which isn’t a python library, so pip doesn’t handle installing it (or freetype)…