-
Notifications
You must be signed in to change notification settings - Fork 98
Description
Hi,
Thanks for the tutorial. I run the container after following your instructions and was able to create one. However, I am facing issue with running your test1.py file, as whenever, I run it I get the following error, despite setting the correct python path:
File "/workspaces/vscode-python-template/tests/test1.py", line 1, in
import pandas as pd
File "/opt/conda/envs/my_project_name/lib/python3.10/site-packages/pandas/init.py", line 22, in
from pandas.compat import is_numpy_dev as _is_numpy_dev # pyright: ignore # noqa:F401
File "/opt/conda/envs/my_project_name/lib/python3.10/site-packages/pandas/compat/init.py", line 25, in
from pandas.compat.numpy import (
File "/opt/conda/envs/my_project_name/lib/python3.10/site-packages/pandas/compat/numpy/init.py", line 4, in
from pandas.util.version import Version
File "/opt/conda/envs/my_project_name/lib/python3.10/site-packages/pandas/util/init.py", line 2, in
from pandas.util._decorators import ( # noqa:F401
File "/opt/conda/envs/my_project_name/lib/python3.10/site-packages/pandas/util/_decorators.py", line 14, in
from pandas._libs.properties import cache_readonly
File "/opt/conda/envs/my_project_name/lib/python3.10/site-packages/pandas/_libs/init.py", line 13, in
from pandas._libs.interval import Interval
File "pandas/_libs/interval.pyx", line 1, in init pandas._libs.interval
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
I tried changing the path as well, but still no success. Could you please let me know how can I fix the issue?