I use the Ubuntu server, Nginx and uWSGI with Flask. When I import tiktoken
, it raises an exception ‘ImportError: PyO3 modules may only be initialized once per interpreter process’.
with Python 3.10.6 (main, Mar 10 2023, 10:55:28) [GCC 11.3.0] on linux.