python - Unable to upgrade redis-py package on ubuntu -
got successful message while installing still unable import package !
(testme)ubuntu@msg:~$ sudo pip install redis==2.10.3 downloading/unpacking redis==2.10.3 downloading redis-2.10.3.tar.gz (86kb): 86kb downloaded running setup.py egg_info package redis warning: no previously-included files found matching '__pycache__' warning: no previously-included files matching '*.pyc' found under directory 'tests' installing collected packages: redis found existing installation: redis 2.9.1 uninstalling redis: uninstalled redis running setup.py install redis warning: no previously-included files found matching '__pycache__' warning: no previously-included files matching '*.pyc' found under directory 'tests' installed redis cleaning up...
1.
(testme)ubuntu@msg:~$ pip freeze | grep redis (testme)ubuntu@msg:~$
2.
(testme)ubuntu@msg:~$ python python 2.7.3 (default, feb 27 2014, 19:58:35) [gcc 4.6.3] on linux2 type "help", "copyright", "credits" or "license" more information. >>> import redis traceback (most recent call last): file "<stdin>", line 1, in <module> importerror: no module named redis >>>
i tried uninstall , install found no luck
i found answer. doing sudo pip install redis==2.10.3
while there same package installation outside virtualenv. removed package outside virtualenv , worked.
Comments
Post a Comment