简体   繁体   中英

how to install python package inside pymol

Is there a way to use setuptools inside a Python interpreter for installing a package? When you open PyMOL, there is a Python interpreter running so I thought I could use that one to install the packages since I cannot use the Python and sys.path inside PyMOL directory. What would you advise me?

>>> import pip
>>> pip.main(['install', 'packagename'])

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM