install numba-0.19 on fedora-25 llvm-3.8

0 views
Skip to first unread message

Neal Becker

unread,
Dec 9, 2016, 9:53:32 AM12/9/16
to Numba Public Discussion - Public
I attempted to install numba via pip3.

I used alternatives to point llvm-config to llvm-3.8 (because numba didn't 
seem to want to build with llvm-3.7).
alternatives --display llvm-config

$ llvm-config - status is manual.
 link currently points to /usr/bin/llvm-config-64
/usr/bin/llvm-config-64-3.7 - priority 64
/usr/bin/llvm-config-64 - priority 64
Current `best' version is /usr/bin/llvm-config-64-3.7.

$ llvm-config --version
3.8.0

Install went OK, but when I tested:
In [100]: find_runs(df)
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
/home/nbecker/.local/lib/python3.5/site-packages/numba/bytecode.py in 
_fetch_opcode(self)
    250         try:
--> 251             info = BYTECODE_TABLE[opcode]
    252         except KeyError:

KeyError: 121

During handling of the above exception, another exception occurred:

NotImplementedError                       Traceback (most recent call last)
<ipython-input-103-e18a660e554b> in <module>()
----> 1 find_runs(df)

/home/nbecker/.local/lib/python3.5/site-packages/numba/dispatcher.py in 
_compile_for_args(self, *args, **kws)
    284                 argtypes.append(self.typeof_pyval(a))
    285         try:
--> 286             return self.compile(tuple(argtypes))
    287         except errors.TypingError as e:
    288             # Intercept typing error that may be due to an argument

/home/nbecker/.local/lib/python3.5/site-packages/numba/dispatcher.py in 
compile(self, sig)
    530 
    531             self._cache_misses[sig] += 1
--> 532             cres = self._compiler.compile(args, return_type)
    533             self.add_overload(cres)
    534             self._cache.save_overload(sig, cres)

/home/nbecker/.local/lib/python3.5/site-packages/numba/dispatcher.py in 
compile(self, args, return_type)
     79                                       impl,
     80                                       args=args, 
return_type=return_type,
---> 81                                       flags=flags, 
locals=self.locals)
     82         # Check typing error if object mode is used
     83         if cres.typing_error is not None and not 
flags.enable_pyobject:

/home/nbecker/.local/lib/python3.5/site-packages/numba/

Stanley Seibert

unread,
Dec 9, 2016, 11:55:11 AM12/9/16
to Numba Public Discussion - Public
Hi,

I'm not sure if your subject line is a typo (Numba 0.19 is pretty old), but with LLVM 3.8 and Python 3.5, you should make sure to use
  • llvmlite 0.14.0
  • Numba 0.29.0
Python 3.5 did not exist when Numba 0.19 was released.


--
You received this message because you are subscribed to the Google Groups "Numba Public Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to numba-users+unsubscribe@continuum.io.
To post to this group, send email to numba...@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/numba-users/ce14c4ab-4345-4437-8f69-7dfc8ed58155%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

Neal Becker

unread,
Dec 9, 2016, 11:53:18 PM12/9/16
to numba...@continuum.io
Yes, that was a typo, here is what pip3 installed:
...
Successfully built llvmlite
Installing collected packages: llvmlite, numba
Successfully installed llvmlite-0.14.0 numba-0.29.0

Stanley Seibert wrote:

> Hi,
>
> I'm not sure if your subject line is a typo (Numba 0.19 is pretty old),
> but with LLVM 3.8 and Python 3.5, you should make sure to use
>
> - llvmlite 0.14.0
> - Numba 0.29.0
>> email to numba-users...@continuum.io.
>> To post to this group, send email to
>> numba...@continuum.io. To view this
>> discussion on the web visit https://groups.google.com/a/co
>> ntinuum.io/d/msgid/numba-users/ce14c4ab-4345-4437-8f69-7dfc8
>> ed58155%40continuum.io
>> <https://groups.google.com/a/continuum.io/d/msgid/numba-users/ce14c4ab-4345-4437-8f69-7dfc8ed58155%40continuum.io?utm_medium=email&utm_source=footer>
>> . For more options, visit
>> https://groups.google.com/a/continuum.io/d/optout.
>>
>


Reply all
Reply to author
Forward
0 new messages