Posts

Showing posts from February, 2024

UserWarning: NumPy was imported from a Python sub-interpreter

Image
  Whe you get the error message like: [Fri Feb 09 14 : 44 : 16.693488 2024 ] [wsgi:error] [pid 13012 :tid 281472973443264 ] [remote 81.82 . 223.150 : 61164 ] /usr/local/venvs/django_ner/lib/python3. 10 /site-packages/thinc/__init__.py: 2 : UserWarning: NumPy was imported from a Python sub-interpreter but NumPy does not properly support sub-interpreters. This will likely work for most users but might cause hard to track down issues or subtle bugs. A common user of the rare sub-interpreter feature is wsgi which also allows single-interpreter mode. [Fri Feb 09 14 : 44 : 16.693987 2024 ] [wsgi:error] [pid 13012 :tid 281472973443264 ] [remote 81.82 . 223.150 : 61164 ] Improvements in the case of bugs are welcome, but is not on the NumPy roadmap, and full support may require significant effort to achieve. [Fri Feb 09 14 : 44 : 16.694006 2024 ] [wsgi:error] [pid 13012 :tid 281472973443264