When importing a ".so" library (platform linux) I am getting different results between jupyterlab and ipython.
Inside jupyterlab:
import poly2cart as pc
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-2-da886bba5df7> in <module>
----> 1 import poly2cart as pc
ImportError: dlopen: cannot load any more object with static TLS
but it loads without any problems in ipython:
Python 3.6.5 (default, Jun 21 2022, 15:30:47)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.16.3 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import poly2cart as ps
In [2]:
what I have checked in jupyterlab:
from platform import python_version
print(python_version())
3.6.5
So both are using the same python. Furthermore, this library was created using f2py shipped with the same version. How can this issue be resolved?