USER>:py Python 3.12.3 (main, Feb 4 2025, 14:48:35) [GCC 13.3.0] on linux Type quit() or Ctrl-D to exit this shell. >>> import sys >>> sys.path ['/usr/irissys/mgr/python', '/usr/lib/python312.zip', '/usr/lib/python3.12', '/usr/lib/python3.12/lib-dynload', '/usr/local/lib/python3.12/dist-packages', '/usr/lib/python3/dist-packages', '/usr/irissys/mgr/python', '/usr/irissys/lib/python', '/usr/local/lib/python3.12/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3.12/dist-packages'] >>>
did you try /usr/irissys/mgr/python, that's the path expected to be used by IRIS packages
pip install whatever --target /usr/irissys/mgr/python
and another place is /usr/irissys/lib/python, it's a place where InterSystems places Python Embedded support
sys.path, is a list of folders where python will look for the installed modules
- Log in to post comments
.png)
.png)
.png)
.png)