Original error was: PyCapsule_Import could not import module “datetime”
Please carefully study the documentation linked above for further help.
and make sure that they are the versions you expect.
- The NumPy version is: “1.25.0”
- The Python version is: Python3.10 from “”
Please note and check the following:
https://numpy.org/devdocs/user/troubleshooting-importerror.html
We have compiled some common reasons and troubleshooting tips at:
installed.
many reasons, often due to issues with your setup or how NumPy was
Importing the numpy C-extensions failed. This error can happen for
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
numpy:
ImportError: Unable to import required dependencies:
raise ImportError(
Line 16 in (/usr/local/lib/python3.10/dist-packages/pandas/init.py)
import pandas as pd
Line 1 in (_driver.py)
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 3 of 4: Resource temporarily unavailable
I am getting this error while running pandas code on leetcode IDE
I checked numpy and datetime modules on my vscode , they are working fine ,so what can i do now ?
New contributor
SHOBHIT GUPTA is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.