import-file-stix connector Error: unable to import required numpy module.
Description
Error: unable to import required numpy module.
See https://pypi.python.org/pypi/numpy.Listing Threat-Actors with filters null.
OpenCTI API is not reachable. Waiting for OpenCTI API to start or check your configuration...
Result in looping task
Environment
- OS (where OpenCTI server runs): { docker }
- OpenCTI version: { 5.3.13}
- OpenCTI client: { frontend }
- Other environment details:
Screenshots (optional)

numpy.distutils is deprecated since NumPy 1.23.0, as a result of the deprecation of distutils itself. It will be removed for
Python >= 3.12. For older Python versions it will remain present.
It is recommended to use setuptools < 60.0 for those Python versions. For more details, see: https://numpy.org/devdocs/reference/distutils_status_migration.html
Hello @symsal,
Can you please share the logs of the connector. Numpy is not an OpenCTI dependency.
Kind regards, Samuel
How can I kill al this tasks?
Yes, it just seems your connector has no access to your platform. numpy is not used anywhere in our source code. Are you sure you are using the latest version of the connector?
I used the 5.3.13 version. I used docker stack and It has always worked until 5.3.12 -> 5.3.13
Hello @symsal,
Just delete the file. It was a bug in previous versions of the platform that looping tasks.
Kind regards, Samuel
FYI, this should be fixed in PR #1022 - the offending module was the maec Python module, which started including numpy in one part of it