如何在linux服务器上使用python3中的python2模块?

2024-04-24 05:25:58 发布

您现在位置:Python中文网/ 问答频道 /正文

Python2.7安装在/usr/lib 包安装在/usr/lib/python2.7/site-packages python3安装在/usr/local/bin

python3 command is not able to fetch the packages/modules from the above mentioned directory. 

$PATH看起来像

^{pr2}$

我如何在python3中获取或使用这些包呢。在


Tags: thetomodulesbinislibpackagesusr