Note that there are some explanatory texts on larger screens.

plurals
  1. POInstalling numba for python
    primarykey
    data
    text
    <p>I am trying to install <a href="http://numba.pydata.org/">numba</a> for python but after following the instruction from the homepage I got this error that the extension_types page can not be found. </p> <p>I would very appreciate if someone knows what I am doing wrong or if I missed something that I should install.</p> <p>Thank you very much in advance.</p> <pre><code>Python 2.7.2+ (default, Jul 20 2012, 22:15:08) Type "copyright", "credits" or "license" for more information. IPython 0.10.2 -- An enhanced Interactive Python. ? -&gt; Introduction and overview of IPython's features. %quickref -&gt; Quick reference. help -&gt; Python's own help system. object? -&gt; Details about 'object'. ?object also works, ?? prints more. In [1]: import numba --------------------------------------------------------------------------- ImportError Traceback (most recent call last) /home/mijc/Downloads/numba/&lt;ipython console&gt; in &lt;module&gt;() /home/mijc/Downloads/numba/numba/__init__.py in &lt;module&gt;() 2 # type inferer 3 from numba.special import * ----&gt; 4 from numba import module_type_inference 5 6 import os /home/mijc/Downloads/numba/numba/module_type_inference.py in &lt;module&gt;() 6 from numba import * 7 from numba.minivect import minitypes ----&gt; 8 from numba import typesystem, symtab 9 10 import numpy.random /home/mijc/Downloads/numba/numba/typesystem/__init__.py in &lt;module&gt;() 2 from exttypes import * 3 from closuretypes import * 4 from ssatypes import * 5 from templatetypes import * 6 from typemapper import * /home/mijc/Downloads/numba/numba/typesystem/basetypes.py in &lt;module&gt;() 6 7 import numba ----&gt; 8 from numba import extension_types, error 9 from numba.minivect.minitypes import * 10 from numba.minivect.minitypes import map_dtype ImportError: cannot import name extension_types </code></pre> <p>EDIT: I installed numba via:</p> <pre><code>git clone https://github.com/numba/numba.git cd numba python setup.py install </code></pre> <p>When I try to install it via pip, I get the following error:</p> <pre><code>pip install numba --upgrade Downloading/unpacking numba Downloading numba-0.5.0.tar.gz (333Kb): 333Kb downloaded Running setup.py egg_info for package numba Traceback (most recent call last): File "&lt;string&gt;", line 14, in &lt;module&gt; File "/home/mijc/Downloads/numba/build/numba/setup.py", line 90, in &lt;module&gt; cython_gdb=True), File "/usr/local/lib/python2.7/dist-packages/Cython/Distutils/extension.py", line 108, in __init__ **kw) TypeError: unbound method __init__() must be called with Extension instance as first argument (got Extension instance instead) Complete output from command python setup.py egg_info: Traceback (most recent call last): File "&lt;string&gt;", line 14, in &lt;module&gt; File "/home/mijc/Downloads/numba/build/numba/setup.py", line 90, in &lt;module&gt; cython_gdb=True), File "/usr/local/lib/python2.7/dist-packages/Cython/Distutils/extension.py", line 108, in __init__ **kw) TypeError: unbound method __init__() must be called with Extension instance as first argument (got Extension instance instead) ---------------------------------------- Command python setup.py egg_info failed with error code 1 </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload