Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在我的应用程序中编写一些功能,从 pypi 安装 python 包。例如,在我的代码中,我希望看到:
import pip pip.install('some_pgk')
在不使用子流程等的情况下,最好的方法是什么?