Table of Content

Jupyter stuck

When create virtualenv project and install new package for example Jupyter, always stuck on pyzmq,

Unable to find vcvarsall.bat

looks like it trying to compile from source code and cannot find right C++ env from windows, I have mingw existing but no good way to force to compile zmq using mingw g++.

virtualenv pip

Finally I found real issue is on pip version from virtualenv, especially for Python 3.4.

this is pip version for python3.4

$ pip -V
8.1.2

$ python -m venv py3venv

however the new pip from venv is 1.5.6

$ python -m pip -V
pip 1.5.6  

This is why it cannot support wheel installation for pyzmq, trying to compile from source code.

remedy

Here is remedy:

$ python -m pip install --upgrade pip
Downloading/unpacking pip from https://pypi.python.org/packages/9c/32/004ce0852e0a127f07f358b715015763273799bd798956fa930814b60f39/pip-8.1.2-py2.py3-none-any.whl#md5=0570520434c5b600d89ec95393b2650b
Installing collected packages: pip
  Found existing installation: pip 1.5.6
    Uninstalling pip:
      Successfully uninstalled pip
Successfully installed pip
Cleaning up...

$ python -m pip list|grep pip
pip (8.1.2)

there is not any issue to install pyzmq which from wheel package.

$ pip list|grep zmq
pyzmq (15.4.0)