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

TypeError: amax() got an unexpected keyword argument 'keepdims' #3

Closed
bluekite2000 opened this issue Dec 4, 2014 · 2 comments
Closed

Comments

@bluekite2000
Copy link

I ran driver.py and received an error as above. Am I missing something?

@karpathy
Copy link
Owner

karpathy commented Dec 4, 2014

Hi, yes you're missing a requirement of "modern numpy version". Upgrade your numpy to more recent version and it will work fine.

Thanks for bringing it up, I should edit the Readme file to mention this.

@karpathy karpathy closed this as completed Dec 4, 2014
@webeng
Copy link

webeng commented Dec 6, 2014

I had the same issue and I thought I was using the most recent version of numpy (1.9.1) that I installed via pip.
However, the system was using an old version (1.6.1) not installed via pip. I found the version that the script was using by printing "print numpy.version in the script.

I used 'python -c 'import os,numpy;print(numpy.file)' to find the version that the system was using. I deleted that version and now the system uses the version that I installed via pip.

I found the solution here: http://stackoverflow.com/questions/16391335/using-old-version-of-numpy-even-with-a-newer-version-installed

I hope it helps somebody else.

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