IntelPython / sdc

Numba extension for compiling Pandas data frames, Intel® Scalable Dataframe Compiler
https://intelpython.github.io/sdc-doc/
BSD 2-Clause "Simplified" License
645 stars 61 forks source link

Problem with example from webpage #7

Open uweschmitt opened 6 years ago

uweschmitt commented 6 years ago

I managed to install hpat and tried to run https://intellabs.github.io/hpat/_build/html/source/supported.html#numpy-dot-parallelization

I got

Traceback (most recent call last):
  File "/Users/uweschmitt/miniconda3/envs/HPAT/lib/python3.6/site-packages/numba/targets/options.py", line 17, in from_dict
    ctor = self.OPTIONS[k]
KeyError: 'user_pipeline_funcs'

numba version is 0.37.

Any advice how to fix this ?

ehsantn commented 6 years ago

HPAT needs a specific version of Numba which is available in the channel. I think you are using the regular Numba.

You can try conda install numba -c ehsantn or install HPAT in a new Conda environment from scratch.

uweschmitt commented 6 years ago

Thanks, will try this. Maybe you want to add this to the installation instructions on the website.

ehsantn commented 6 years ago

Sure, I'll see how we can mitigate this. This issue will be resolved since standard Numba will support HPAT sometime soon.