安装 Python 软件,依赖于 python six 较高版本
然后就升级了一下 six
结果发现
如果是在 python 目录下,/usr/local/lib/python2.7/dist-packages
nlu@node3:/usr/local/lib/python2.7/dist-packages$ python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import six
>>> six.__version__
'1.10.0'
如果是在别的目录下,比如 ~
nlu@node3:~$ python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import six
>>> six.__version__
'1.5.2'
这个问题怎么解决? 谢谢了先
然后就升级了一下 six
结果发现
如果是在 python 目录下,/usr/local/lib/python2.7/dist-packages
nlu@node3:/usr/local/lib/python2.7/dist-packages$ python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import six
>>> six.__version__
'1.10.0'
如果是在别的目录下,比如 ~
nlu@node3:~$ python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import six
>>> six.__version__
'1.5.2'
这个问题怎么解决? 谢谢了先