Can you run pychecker from virtualenv? -
i want code analysis pychecker when imports python code doesn't use packages virtualenv, uses system wide 1 , import fail.
is there way install pychecker in virtualenv or @ least import packages virtualenv?
set $pythonpath environmental variable site-packages directory.
for me, pychecker not able find configobj module. since use zsh (bash lots of bells , whistles), ran:
find ~/venv-ops -name configobj.py /users/doug/venv-ops/lib/python2.7/site-packages/configobj.py export pythonpath=/users/doug/venv-ops/lib/python2.7/site-packages
and pycheck worked fine.
Comments
Post a Comment