Hi I am facing the following error after building 0.38.0
(test_new) saksham.kumar@n248-157-240:~/sdc$ python
Python 3.7.11 (default, Jul 27 2021, 14:32:16)
[GCC 7.5.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
import pandas as pd
from numba import njit
@njit
def dataframe_copy():
df = pd.DataFrame({'A': [1.0, 2.0, 3.0, 1.0], 'B': [4, 5, 6, 7]})
new_df = df.copy(deep=True)
return new_df
print(dataframe_copy())
/home/saksham.kumar/miniconda3/envs/test_new/lib/python3.7/site-packages/numba/core/dispatcher.py:237: UserWarning: Numba extension module 'sdc' failed to load due to 'ImportError(cannot import name 'hstr_ext' from 'sdc' (/data00/home/saksham.kumar/sdc/sdc/__init__.py))'.
entrypoints.init_all()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/saksham.kumar/miniconda3/envs/test_new/lib/python3.7/site-packages/numba/core/dispatcher.py", line 414, in _compile_for_args
error_rewrite(e, 'typing')
File "/home/saksham.kumar/miniconda3/envs/test_new/lib/python3.7/site-packages/numba/core/dispatcher.py", line 357, in error_rewrite
raise e.with_traceback(None)
numba.core.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Unknown attribute 'DataFrame' of type Module(<module 'pandas' from '/home/saksham.kumar/miniconda3/envs/test_new/lib/python3.7/site-packages/pandas/__init__.py'>)
Hi I am facing the following error after building 0.38.0
I am at tag 0.38.0
conda list output: