PDA

View Full Version : installing


willpower2727
03-11-2015, 06:52 AM
Hi I am trying to figure out how to install "Yappi" (yet another python profiler) to profile a multi-thread script. The installation instructions from Yappi say I can install using "easy_install" or "pip install" methods.

I am running Vizard 4 (Python 2.7), which appears to have the pip package already installed. However, I can't figure out how to use it. I've tried the following commands in the python shell:

python -m pip install yappi-0.94.tar.gz

py -2.7 -m pip install yappi-0.94.tar.gz

I get nothing but a syntax error. Can anyone help me figure out my error? How can I make use of the pip package?

Jeff
03-17-2015, 02:27 AM
It seems that package requires building binary files from the source and a compatible compiler such as Visual Studio.

willpower2727
03-17-2015, 07:25 AM
Thanks! i'll look into using VS to build

Jeff
03-17-2015, 10:00 AM
Are you planning to upgrade to Vizard 5? If so, the unofficial binary for yappi listed on this (http://www.lfd.uci.edu/~gohlke/pythonlibs/) page installs fine with the version of pip included with Vizard 5.