Skip to content
Advertisement

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? Answer @JBernardo ‘s

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”, I installed the Microsoft Windows SDK for Windows

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 does not look like

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, otherwise the external, system-wide bpython is called:

Using an extra python package index url with setup.py

Is there a way to use an extra Python package index (ala pip –extra-index-url pypi.example.org mypackage) with setup.py so that running python setup.py install can find the packages hosted on pypi.example.org? Answer If you’re the package maintainer, and you want to host one or more dependencies for your package somewhere other than PyPi, you can use the dependency_links option of

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 requirements.txt file to install all the dependencies. For instance: The packages need to be in

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). You’ll need to install something along the lines

Advertisement