我无法使用 pyVim 让我的 python 程序在 Centos 机器上运行。据我所知,所有东西都安装正确并且安装在正确的位置,但它仍然声称找不到。它在不同的机器上正确运行(具有相同的 python/pip 版本),我在该机器上安装了 pyvim,没有发生任何事件,因此代码应该很好。$ python3.8 vm_status_check.pyModuleNotFoundError: No module named 'pyVim'$ python3.8 -m pip 安装 pyvimDefaulting to user installation because normal site-packages is not writeableRequirement already satisfied: pyvim in /home/lab-user/.local/lib/python3.8/site-packages (3.0.2)$ python3.8 -m 站点sys.path = [ '/home/lab-user/Mandalorian-Labs', '/usr/local/lib/python38.zip', '/usr/local/lib/python3.8', '/usr/local/lib/python3.8/lib-dynload', '/home/lab-user/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/site-packages',]USER_BASE: '/home/lab-user/.local' (exists)USER_SITE: '/home/lab-user/.local/lib/python3.8/site-packages' (exists)ENABLE_USER_SITE: True$ ls /home/lab-user/.local/lib/python3.8/site-packagesPygments-2.7.1.dist-info prompt_toolkit pygments six.py__pycache__ prompt_toolkit-3.0.7.dist-info pyvim wcwidthdocopt-0.6.2-py3.8.egg-info pyflakes pyvim-3.0.2.dist-info wcwidth-0.2.5.dist-infodocopt.py pyflakes-2.2.0.dist-info six-1.15.0.dist-info所以,据我所知,一切看起来都井然有序。但“ModuleNotFoundError:没有名为‘pyVim’的模块”仍然存在。还会有其他原因导致这种情况吗?
添加回答
举报
0/150
提交
取消