*Edit [SOLVED]: a have no idea what happened, but i've tried re-emerging the package one more time today to see if I could spot any build errors and now it works fine
So i'm getting the following error when trying to import pandas on a python3.8 shell:
Code: Select all
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/pandas/__init__.py", line 30, in <module>
from pandas._libs import hashtable as _hashtable, lib as _lib, tslib as _tslib
File "/usr/lib/python3.8/site-packages/pandas/_libs/__init__.py", line 13, in <module>
from pandas._libs.interval import Interval
File "pandas/_libs/interval.pyx", line 1, in init pandas._libs.interval
File "pandas/_libs/hashtable.pyx", line 1, in init pandas._libs.hashtable
File "pandas/_libs/missing.pyx", line 1, in init pandas._libs.missing
File "/usr/lib/python3.8/site-packages/pandas/_libs/tslibs/__init__.py", line 30, in <module>
from .conversion import OutOfBoundsTimedelta, localize_pydatetime
ImportError: /usr/lib/python3.8/site-packages/pandas/_libs/tslibs/conversion.cpython-38-x86_64-linux-gnu.so: undefined symbol: pandas_datetime_to_datetimestruct
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.8/site-packages/pandas/__init__.py", line 34, in <module>
raise ImportError(
ImportError: C extension: /usr/lib/python3.8/site-packages/pandas/_libs/tslibs/conversion.cpython-38-x86_64-linux-gnu.so: undefined symbol: pandas_datetime_to_datetimestruct not built. If you want to import pandas from the source directory, you may need to run 'python setup.py build_ext --inplace --force' to build the C extensions first.
I'm emerging pandas with USE:
Code: Select all
USE="X (-doc) -full-support -minimal -test" ABI_X86="(64)" PYTHON_TARGETS="python3_7 python3_8 -python3_6 -python3_9"Could you please help me solving this issue?
Thanks!
