import ctypes
File “/usr/local/lib/python3.10/ctypes/init.py”, line 8, in
from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named ‘_ctypes’
Python 3.10.9 (main, May 28 2024, 09:54:48) on linux
Type “help”, “copyright”, “credits” or “license” for more information.
import pandas as pd
Traceback (most recent call last):
File “”, line 1, in
File “/root/.local/lib/python3.10/site-packages/pandas/init.py”, line 49, in
from pandas.core.api import (
File “/root/.local/lib/python3.10/site-packages/pandas/core/api.py”, line 9, in
from pandas.core.dtypes.dtypes import (
File “/root/.local/lib/python3.10/site-packages/pandas/core/dtypes/dtypes.py”, line 47, in
from pandas.errors import PerformanceWarning
File “/root/.local/lib/python3.10/site-packages/pandas/errors/init.py”, line 6, in
import ctypes
File “/usr/local/lib/python3.10/ctypes/init.py”, line 8, in
from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named ‘_ctypes’
Cutiee Darlss is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.