Advertisement
Pastehsjsjs

Untitled

Apr 24th, 2023
1,090
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 6.37 KB | Source Code | 0 0
  1. _thread_init: pthread_create failed for thread 46 of 48: Resource temporarily unavailable
  2. OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
  3. OpenBLAS blas_thread_init: pthread_create failed for thread 47 of 48: Resource temporarily unavailable
  4. OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
  5. Traceback (most recent call last):
  6.   File "/opt/conda/lib/python3.10/site-packages/numpy/core/__init__.py", line 23, in <module>
  7.     from . import multiarray
  8.   File "/opt/conda/lib/python3.10/site-packages/numpy/core/multiarray.py", line 10, in <module>
  9.     from . import overrides
  10.   File "/opt/conda/lib/python3.10/site-packages/numpy/core/overrides.py", line 6, in <module>
  11.     from numpy.core._multiarray_umath import (
  12. ImportError: PyCapsule_Import could not import module "datetime"
  13.  
  14. During handling of the above exception, another exception occurred:
  15.  
  16. Traceback (most recent call last):
  17.   File "<string>", line 1, in <module>
  18.   File "/opt/conda/lib/python3.10/multiprocessing/spawn.py", line 116, in spawn_main
  19.     exitcode = _main(fd, parent_sentinel)
  20.   File "/opt/conda/lib/python3.10/multiprocessing/spawn.py", line 125, in _main
  21.     prepare(preparation_data)
  22.   File "/opt/conda/lib/python3.10/multiprocessing/spawn.py", line 236, in prepare
  23.     _fixup_main_from_path(data['init_main_from_path'])
  24.   File "/opt/conda/lib/python3.10/multiprocessing/spawn.py", line 287, in _fixup_main_from_path
  25.     main_content = runpy.run_path(main_path,
  26.   File "/opt/conda/lib/python3.10/runpy.py", line 289, in run_path
  27.     return _run_module_code(code, init_globals, run_name,
  28.   File "/opt/conda/lib/python3.10/runpy.py", line 96, in _run_module_code
  29.     _run_code(code, mod_globals, init_globals,
  30.   File "/opt/conda/lib/python3.10/runpy.py", line 86, in _run_code
  31.     exec(code, run_globals)
  32.   File "/workspace/ddp-stablediff_train.py", line 4, in <module>
  33.     import timm
  34.   File "/opt/conda/lib/python3.10/site-packages/timm/__init__.py", line 2, in <module>
  35.     from .models import create_model, list_models, is_model, list_modules, model_entrypoint, \
  36.   File "/opt/conda/lib/python3.10/site-packages/timm/models/__init__.py", line 1, in <module>
  37.     from .beit import *
  38.   File "/opt/conda/lib/python3.10/site-packages/timm/models/beit.py", line 44, in <module>
  39.     import torch
  40.   File "/opt/conda/lib/python3.10/site-packages/torch/__init__.py", line 676, in <module>
  41.     from .storage import _StorageBase, TypedStorage, _LegacyStorage, UntypedStorage
  42.   File "/opt/conda/lib/python3.10/site-packages/torch/storage.py", line 11, in <module>
  43.     import numpy as np
  44.   File "/opt/conda/lib/python3.10/site-packages/numpy/__init__.py", line 141, in <module>
  45.     from . import core
  46.   File "/opt/conda/lib/python3.10/site-packages/numpy/core/__init__.py", line 49, in <module>
  47.     raise ImportError(msg)
  48. ImportError:
  49.  
  50. IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
  51.  
  52. Importing the numpy C-extensions failed. This error can happen for
  53. many reasons, often due to issues with your setup or how NumPy was
  54. installed.
  55.  
  56. We have compiled some common reasons and troubleshooting tips at:
  57.  
  58.     https://numpy.org/devdocs/user/troubleshooting-importerror.html
  59.  
  60. Please note and check the following:
  61.  
  62.   * The Python version is: Python3.10 from "/opt/conda/bin/python"
  63.   * The NumPy version is: "1.24.3"
  64.  
  65. and make sure that they are the versions you expect.
  66. Please carefully study the documentation linked above for further help.
  67.  
  68. Original error was: PyCapsule_Import could not import module "datetime"
  69.  
  70. OpenBLAS blas_thread_init: pthread_create failed for thread 46 of 48: Resource temporarily unavailable
  71. OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
  72. OpenBLAS blas_thread_init: pthread_create failed for thread 47 of 48: Resource temporarily unavailable
  73. OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
  74. Traceback (most recent call last):
  75.   File "<string>", line 1, in <module>
  76.   File "/opt/conda/lib/python3.10/multiprocessing/spawn.py", line 116, in spawn_main
  77.     exitcode = _main(fd, parent_sentinel)
  78.   File "/opt/conda/lib/python3.10/multiprocessing/spawn.py", line 125, in _main
  79.     prepare(preparation_data)
  80.   File "/opt/conda/lib/python3.10/multiprocessing/spawn.py", line 236, in prepare
  81.     _fixup_main_from_path(data['init_main_from_path'])
  82.   File "/opt/conda/lib/python3.10/multiprocessing/spawn.py", line 287, in _fixup_main_from_path
  83.     main_content = runpy.run_path(main_path,
  84.   File "/opt/conda/lib/python3.10/runpy.py", line 289, in run_path
  85.     return _run_module_code(code, init_globals, run_name,
  86.   File "/opt/conda/lib/python3.10/runpy.py", line 96, in _run_module_code
  87.     _run_code(code, mod_globals, init_globals,
  88.   File "/opt/conda/lib/python3.10/runpy.py", line 86, in _run_code
  89.     exec(code, run_globals)
  90.   File "/workspace/ddp-stablediff_train.py", line 11, in <module>
  91.     from scipy import spatial
  92.   File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist
  93.   File "/opt/conda/lib/python3.10/site-packages/scipy/__init__.py", line 200, in __getattr__
  94.     return _importlib.import_module(f'scipy.{name}')
  95.   File "/opt/conda/lib/python3.10/importlib/__init__.py", line 126, in import_module
  96.     return _bootstrap._gcd_import(name[level:], package, level)
  97.   File "/opt/conda/lib/python3.10/site-packages/scipy/spatial/__init__.py", line 105, in <module>
  98.     from ._kdtree import *
  99.   File "/opt/conda/lib/python3.10/site-packages/scipy/spatial/_kdtree.py", line 4, in <module>
  100.     from ._ckdtree import cKDTree, cKDTreeNode
  101.   File "_ckdtree.pyx", line 10, in init scipy.spatial._ckdtree
  102.   File "/opt/conda/lib/python3.10/site-packages/scipy/sparse/__init__.py", line 283, in <module>
  103.     from . import csgraph
  104.   File "/opt/conda/lib/python3.10/site-packages/scipy/sparse/csgraph/__init__.py", line 185, in <module>
  105.     from ._laplacian import laplacian
  106.   File "/opt/conda/lib/python3.10/site-packages/scipy/sparse/csgraph/_laplacian.py", line 7, in <module>
  107.     from scipy.sparse.linalg import LinearOperator
  108.   File "/opt/conda/lib/python3.10/site-packages/scipy/sparse/linalg/__init__.py", line 120, in <module>
  109.     from ._isolve import *
  110.   File "/opt/conda/lib/python3.10/site-packages/scipy/sparse/linalg/_isolve/__init__.py", line 4, in <module>
  111.     from .iterative import *
  112.   File "/opt/conda/lib/python3.10/site-packages/scipy/sparse/linalg/_isolve/iterative.py", line 9, in <module>
  113.     from . import _iterative
  114. KeyboardInterrupt
  115.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement