Skip to content

Instantly share code, notes, and snippets.

@tdsmith
Created March 12, 2015 04:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tdsmith/25d9e2fdc2db9d034394 to your computer and use it in GitHub Desktop.
Save tdsmith/25d9e2fdc2db9d034394 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/numpy/core/numerictypes.py", line 243, in bitname
info = typeinfo[english_upper(newname)]
KeyError: 'BYTES'
During handling of the above exception, another exception occurred:
ValueError: invalid literal for int() with base 10: ''
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.5/site-packages/numpy/__init__.py", line 170, in <module>
from . import add_newdocs
File "/usr/local/lib/python3.5/site-packages/numpy/add_newdocs.py", line 13, in <module>
from numpy.lib import add_newdoc
File "/usr/local/lib/python3.5/site-packages/numpy/lib/__init__.py", line 8, in <module>
from .type_check import *
File "/usr/local/lib/python3.5/site-packages/numpy/lib/type_check.py", line 11, in <module>
import numpy.core.numeric as _nx
File "/usr/local/lib/python3.5/site-packages/numpy/core/__init__.py", line 9, in <module>
from . import numerictypes as nt
File "/usr/local/lib/python3.5/site-packages/numpy/core/numerictypes.py", line 335, in <module>
_add_aliases()
File "/usr/local/lib/python3.5/site-packages/numpy/core/numerictypes.py", line 312, in _add_aliases
base, bit, char = bitname(typeobj)
File "/usr/local/lib/python3.5/site-packages/numpy/core/numerictypes.py", line 248, in bitname
base, bits = _evalname(name)
File "/usr/local/lib/python3.5/site-packages/numpy/core/numerictypes.py", line 227, in _evalname
bits = int(name[k:])
SystemError: result with error in PyObject_Call
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment