I have built Slicer and always have working pip but now module is empty and I can’t run pip.main([‘install’, ‘module’])
>>> import pip
>>> pip
<module ‘pip’ from ‘/home/software/medical/slicer4.9/Slicer-SuperBuild-Release/python-install/lib/python2.7/site-packages/pip/init.pyc’>
>>> dir(pip)
[‘builtins’, ‘doc’, ‘file’, ‘name’, ‘package’, ‘path’, ‘version’]
I can run for exanple
./Slicer --launch …/python-install/bin/pip install jedi
but can’t import distutils, and can’t run python code from https://github.com/ihnorton/SlicerJupyter/blob/auto_comp/JupyterKernel/qSlicerJupyterKernelModule.cxx