The more thing change, the more they stay the same.
I'm trying to migrate my python app from local hosting to the web and this "
pkg_resources is deprecated as an API.
" message is showing up again with the new host. Unfortunately it is followed by a string of other errors ending with "from vpython import *".
Using pip3 list -V I confirm that vpython version 7.6.5 is installed. Am I having a python configuration issue? or a vpython issue? Just trying to figure out where to start. What I think is the relevant shell log follows:
"""
[?2004XXXXXXXX [~/public_html/inglenook/simulator]# python -m main.py
[?2004l
Content-Type: text/html
/home1/XXXXXX/python/lib/python3.12/site-packages/vpython/__init__.py:1: UserWarning: pkg_resources is deprecated as an API. See
https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
from pkg_resources import get_distribution, DistributionNotFound
OpenBLAS blas_thread_init: pthread_create failed for thread 9 of 20: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 25 current, 25 max
OpenBLAS blas_thread_init: pthread_create failed for thread 10 of 20: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 25 current, 25 max
OpenBLAS blas_thread_init: pthread_create failed for thread 11 of 20: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 25 current, 25 max
OpenBLAS blas_thread_init: pthread_create failed for thread 12 of 20: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 25 current, 25 max
OpenBLAS blas_thread_init: pthread_create failed for thread 13 of 20: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 25 current, 25 max
OpenBLAS blas_thread_init: pthread_create failed for thread 14 of 20: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 25 current, 25 max
OpenBLAS blas_thread_init: pthread_create failed for thread 15 of 20: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 25 current, 25 max
OpenBLAS blas_thread_init: pthread_create failed for thread 16 of 20: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 25 current, 25 max
OpenBLAS blas_thread_init: pthread_create failed for thread 17 of 20: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 25 current, 25 max
OpenBLAS blas_thread_init: pthread_create failed for thread 18 of 20: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 25 current, 25 max
OpenBLAS blas_thread_init: pthread_create failed for thread 19 of 20: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 25 current, 25 max
Traceback (most recent call last):
File "<frozen runpy>", line 189, in _run_module_as_main
File "<frozen runpy>", line 112, in _get_module_details
File "/home1/ XXXXXX
/public_html/inglenook/simulator/main.py", line 25, in <module>
import gui
File "/home1/ XXXXXX
/public_html/inglenook/simulator/gui.py", line 12, in <module>
from vpython import * # imports all math functions, clock(), NOT random()
^^^^^^^^^^^^^^^^^^^^^
File "/home1/ XXXXXX
/python/lib/python3.12/site-packages/vpython/__init__.py", line 44, in <module>
from numpy import arange
File "/home1/ XXXXXX
/python/lib/python3.12/site-packages/numpy/__init__.py", line 112, in <module>
from numpy.__config__ import show_config
File "/home1/ XXXXXX
/python/lib/python3.12/site-packages/numpy/__config__.py", line 4, in <module>
from numpy._core._multiarray_umath import (
File "/home1/ XXXXXX
/python/lib/python3.12/site-packages/numpy/_core/__init__.py", line 24, in <module>
from . import multiarray
File "/home1/ XXXXXX
/python/lib/python3.12/site-packages/numpy/_core/multiarray.py", line 11, in <module>
from . import _multiarray_umath, overrides
KeyboardInterrupt