#1
在交互式环境中按照如下方法执行下,看看是否安装正确。
localhost:pops renren$ /opt/python3.6/bin/python3
Python 3.6.2 (default, Aug 4 2017, 10:27:08)
[GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyvim
>>>
如果导入报错,很可能安装得不对,或者系统有多个版本python.