Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'module' object has no attribute 'StrictRedis' #188

Closed
samrat opened this issue Sep 3, 2011 · 5 comments
Closed

'module' object has no attribute 'StrictRedis' #188

samrat opened this issue Sep 3, 2011 · 5 comments

Comments

@samrat
Copy link

samrat commented Sep 3, 2011

When I tried

>>> import redis
>>> r = redis.StrictRedis(host='localhost', port=6379, db=0)

as instructed in the readme file, I get this error:

  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'StrictRedis'. 

@andymccurdy
Copy link
Contributor

The docs pertain to what's in master right now, which will soon become 2.4.10. I assume you have 2.4.9 (the currently released version) or older installed. I'll try to get 2.4.10 out sometime next week at DjangoCon.

@pors
Copy link

pors commented Sep 25, 2011

I also get this error after a clean install on Ubuntu (server 2:2.0.1-2 and python-redis 2.0.0-1). Any advice?

@samrat
Copy link
Author

samrat commented Sep 25, 2011

@pors- I used Redis instead of StrictRedis and it worked fine for me.

@samrat samrat closed this as completed Sep 25, 2011
@samrat samrat reopened this Sep 25, 2011
@pors
Copy link

pors commented Sep 25, 2011

Ah thanks man, works for me! :)

@andymccurdy
Copy link
Contributor

2.4.10 has been released, this is resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants