Problem due to fastAI library in using PyInstaller

28 views
Skip to first unread message

Sanjay Gupta

unread,
Nov 29, 2024, 7:02:08 AM11/29/24
to PyInstaller

I am facing an issue while using PyInstaller to create an executable from Python script/application.

The problem/error and solutions tried by me are attached with mail. Any suggestion how this issue can be fixed ? Details Below:

Version of Python running in a Virtual Environment Python 3.12.3

 

////////////////////////////////////////////////////////////////////

///////////////Outcome of Execution////////////////////

///////////////////////////////////////////////////////////////////

(PipelineRun) :~/Desktop/PipelineRun/IRDM_Rail_Inspection_Pipeline_June2024/Code/dist$ ./PipelineRun

Traceback (most recent call last):

  File "PipelineRun.py", line 12, in <module>

  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load

  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked

  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked

  File "PyInstaller/loader/pyimod02_importers.py", line 384, in exec_module

  File "modules/fastai_foreground/DetectForeground.py", line 3, in <module>

  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load

  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked

  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked

  File "PyInstaller/loader/pyimod02_importers.py", line 384, in exec_module

  File "Utils/fastai_patch_inference/FastaiPatchInference.py", line 1, in <module>

  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load

  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked

  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked

  File "PyInstaller/loader/pyimod02_importers.py", line 384, in exec_module

  File "fastai/vision/__init__.py", line 1, in <module>

  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load

  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked

  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked

  File "PyInstaller/loader/pyimod02_importers.py", line 384, in exec_module

  File "fastai/basics.py", line 1, in <module>

  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load

  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked

  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked

  File "PyInstaller/loader/pyimod02_importers.py", line 384, in exec_module

  File "fastai/basic_train.py", line 2, in <module>

  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load

  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked

  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked

  File "PyInstaller/loader/pyimod02_importers.py", line 384, in exec_module

  File "fastai/torch_core.py", line 2, in <module>

  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load

  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked

  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked

  File "PyInstaller/loader/pyimod02_importers.py", line 384, in exec_module

  File "fastai/imports/__init__.py", line 1, in <module>

  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load

  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked

  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked

  File "PyInstaller/loader/pyimod02_importers.py", line 384, in exec_module

  File "fastai/imports/core.py", line 30, in <module>

  File "pkg_resources/__init__.py", line 926, in require

  File "pkg_resources/__init__.py", line 787, in resolve

  File "pkg_resources/__init__.py", line 828, in _resolve_dist

pkg_resources.DistributionNotFound: The 'fastprogress>=0.2.1' distribution was not found and is required by the application

[PYI-30566:ERROR] Failed to execute script 'PipelineRun' due to unhandled exception!

(PipelineRun) :~/Desktop/PipelineRun/IRDM_Rail_Inspection_Pipeline_June2024/Code/dist$ pip install --upgrade pyinstaller

Requirement already satisfied: pyinstaller in /home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages (6.11.0)

Collecting pyinstaller

  Downloading pyinstaller-6.11.1-py3-none-manylinux2014_x86_64.whl.metadata (8.3 kB)

Requirement already satisfied: setuptools>=42.0.0 in /home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages (from pyinstaller) (70.0.0)

Requirement already satisfied: altgraph in /home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages (from pyinstaller) (0.17.4)

Collecting pyinstaller-hooks-contrib>=2024.9 (from pyinstaller)

  Downloading pyinstaller_hooks_contrib-2024.10-py3-none-any.whl.metadata (16 kB)

Requirement already satisfied: packaging>=22.0 in /home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages (from pyinstaller) (24.0)

Downloading pyinstaller-6.11.1-py3-none-manylinux2014_x86_64.whl (710 kB)

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 710.1/710.1 kB 8.7 MB/s eta 0:00:00

Downloading pyinstaller_hooks_contrib-2024.10-py3-none-any.whl (338 kB)

Installing collected packages: pyinstaller-hooks-contrib, pyinstaller

  Attempting uninstall: pyinstaller-hooks-contrib

    Found existing installation: pyinstaller-hooks-contrib 2024.8

    Uninstalling pyinstaller-hooks-contrib-2024.8:

      Successfully uninstalled pyinstaller-hooks-contrib-2024.8

  Attempting uninstall: pyinstaller

    Found existing installation: pyinstaller 6.11.0

    Uninstalling pyinstaller-6.11.0:

      Successfully uninstalled pyinstaller-6.11.0

Successfully installed pyinstaller-6.11.1 pyinstaller-hooks-contrib-2024.10

 

[notice] A new release of pip is available: 24.2 -> 24.3.1

[notice] To update, run: pip install --upgrade pip

(PipelineRun) :~/Desktop/PipelineRun/IRDM_Rail_Inspection_Pipeline_June2024/Code/dist$ cd ..

(PipelineRun) :~/.local/share/Trash/files$ cd -

bash: cd: /home/consultant/Desktop/PipelineRun/IRDM_Rail_Inspection_Pipeline_June2024/Code/dist: No such file or directory

(PipelineRun) :~/.local/share/Trash/files$ cd ~/Desktop/PipelineRun/IRDM_Rail_Inspection_Pipeline_June2024/Code

(PipelineRun) :~/Desktop/PipelineRun/IRDM_Rail_Inspection_Pipeline_June2024/Code$ pyinstaller --hidden-import=fastprogress --onefile PipelineRun.py

202 INFO: PyInstaller: 6.11.1, contrib hooks: 2024.10

203 INFO: Python: 3.12.3

205 INFO: Platform: Linux-6.8.0-36-generic-x86_64-with-glibc2.39

205 INFO: Python environment: /home/consultant/Desktop/PipelineRun

206 INFO: wrote /home/consultant/Desktop/PipelineRun/IRDM_Rail_Inspection_Pipeline_June2024/Code/PipelineRun.spec

209 INFO: Module search paths (PYTHONPATH):

['/usr/lib/python312.zip',

 '/usr/lib/python3.12',

 '/usr/lib/python3.12/lib-dynload',

 '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages',

 '/home/consultant/Desktop/PipelineRun/IRDM_Rail_Inspection_Pipeline_June2024/Code']

837 INFO: checking Analysis

837 INFO: Building Analysis because Analysis-00.toc is non existent

837 INFO: Running Analysis Analysis-00.toc

837 INFO: Target bytecode optimization level: 0

837 INFO: Initializing module dependency graph...

839 INFO: Initializing module graph hook caches...

852 INFO: Analyzing base_library.zip ...

2469 INFO: Processing standard module hook 'hook-encodings.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

4834 INFO: Processing standard module hook 'hook-pickle.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

6250 INFO: Processing standard module hook 'hook-heapq.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

6806 INFO: Caching module dependency graph...

6923 INFO: Looking for Python shared library...

6947 INFO: Using Python shared library: /lib/x86_64-linux-gnu/libpython3.12.so.1.0

6947 INFO: Analyzing /home/consultant/Desktop/PipelineRun/IRDM_Rail_Inspection_Pipeline_June2024/Code/PipelineRun.py

6974 INFO: Processing standard module hook 'hook-cv2.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

7593 INFO: Processing standard module hook 'hook-numpy.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

8805 INFO: Processing standard module hook 'hook-platform.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

9189 INFO: Processing standard module hook 'hook-sysconfig.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

10671 INFO: Processing standard module hook 'hook-difflib.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

10961 INFO: Processing standard module hook 'hook-multiprocessing.util.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

11096 INFO: Processing standard module hook 'hook-xml.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

12366 INFO: Processing standard module hook 'hook-psutil.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

13917 INFO: Processing standard module hook 'hook-charset_normalizer.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

14542 INFO: Processing standard module hook 'hook-torch.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

2217 WARNING: Failed to collect submodules for 'torch.utils.tensorboard' because importing 'torch.utils.tensorboard' raised: ModuleNotFoundError: No module named 'tensorboard'

/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/torch/distributed/pipeline/__init__.py:2: UserWarning: torch.distributed.pipeline is deprecated. For up-to-date pipeline parallel implementation, please refer to the PiPPy library under the PyTorch organization (Pipeline Parallelism for PyTorch): https://github.com/pytorch/PiPPy

  warnings.warn(

/usr/lib/python3.12/tempfile.py:1075: ResourceWarning: Implicitly cleaning up <TemporaryDirectory '/tmp/tmpnn_3cx5p'>

  _warnings.warn(warn_message, ResourceWarning)

23999 INFO: hook-torch: inferred hidden imports for CUDA libraries: ['nvidia.cuda_nvrtc', 'nvidia.cuda_runtime', 'nvidia.cuda_cupti', 'nvidia.cudnn', 'nvidia.cublas', 'nvidia.cufft', 'nvidia.curand', 'nvidia.cusolver', 'nvidia.cusparse', 'nvidia.nccl', 'nvidia.nvtx']

24001 INFO: hook-torch: raising recursion limit to 5000

24535 INFO: Processing pre-safe-import-module hook 'hook-typing_extensions.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module'

24536 INFO: SetuptoolsInfo: initializing cached setuptools info...

25071 INFO: Processing standard module hook 'hook-sympy.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

26735 INFO: Processing standard module hook 'hook-matplotlib.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

27115 INFO: Processing pre-safe-import-module hook 'hook-packaging.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module'

27137 INFO: Processing standard module hook 'hook-packaging.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

27254 INFO: Processing pre-safe-import-module hook 'hook-gi.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module'

27334 INFO: Processing standard module hook 'hook-gi.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

27427 INFO: Processing pre-safe-import-module hook 'hook-gi.repository.GLib.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module'

27428 INFO: Processing standard module hook 'hook-gi.repository.GLib.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

27574 INFO: Processing standard module hook 'hook-PIL.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

27733 INFO: Processing standard module hook 'hook-PIL.Image.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

28488 INFO: Processing standard module hook 'hook-pycparser.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

29089 INFO: Processing standard module hook 'hook-setuptools.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

29099 INFO: Processing pre-safe-import-module hook 'hook-distutils.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module'

29572 INFO: Processing pre-safe-import-module hook 'hook-importlib_metadata.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module'

30632 INFO: Processing standard module hook 'hook-pkg_resources.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

33421 INFO: Processing standard module hook 'hook-PIL.ImageFilter.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

35058 INFO: Processing standard module hook 'hook-matplotlib.pyplot.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

35127 INFO: Processing pre-safe-import-module hook 'hook-six.moves.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module'

36361 INFO: Processing standard module hook 'hook-matplotlib.backend_bases.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

39027 INFO: Processing standard module hook 'hook-matplotlib.backends.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

39287 INFO: Processing pre-safe-import-module hook 'hook-importlib_resources.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module'

39362 INFO: Processing standard module hook 'hook-certifi.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

52326 INFO: Processing standard module hook 'hook-scipy.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

53232 INFO: Processing standard module hook 'hook-scipy.linalg.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

54467 INFO: Processing standard module hook 'hook-scipy.sparse.csgraph.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

54572 INFO: Processing standard module hook 'hook-scipy.special._ufuncs.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

54710 INFO: Processing standard module hook 'hook-scipy.special._ellip_harm_2.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

57534 INFO: Processing standard module hook 'hook-scipy.spatial.transform.rotation.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

58860 INFO: Processing standard module hook 'hook-scipy.stats._stats.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

65787 INFO: Processing standard module hook 'hook-xml.dom.domreg.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

68471 INFO: Processing standard module hook 'hook-triton.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

68838 WARNING: collect_data_files - skipping data collection for module 'triton.third_party.cuda' as it is not a package.

69823 INFO: Processing standard module hook 'hook-pandas.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

 

A module that was compiled using NumPy 1.x cannot be run in

NumPy 2.0.0 as it may crash. To support both 1.x and 2.x

versions of NumPy, modules must be compiled with NumPy 2.0.

Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

 

If you are a user of the module, the easiest solution will be to

downgrade to 'numpy<2' or try to upgrade the affected module.

We expect that some modules will need time to support NumPy 2.

 

Traceback (most recent call last):  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/isolated/_child.py", line 100, in <module>

    while run_next_command(read_fh, write_fh):

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/isolated/_child.py", line 63, in run_next_command

    output = function(*args, **kwargs)

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/utils/hooks/__init__.py", line 487, in _is_package

    spec = importlib.util.find_spec(module_name)

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/__init__.py", line 49, in <module>

    from pandas.core.api import (

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/core/api.py", line 28, in <module>

    from pandas.core.arrays import Categorical

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/core/arrays/__init__.py", line 1, in <module>

    from pandas.core.arrays.arrow import ArrowExtensionArray

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/core/arrays/arrow/__init__.py", line 5, in <module>

    from pandas.core.arrays.arrow.array import ArrowExtensionArray

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/core/arrays/arrow/array.py", line 64, in <module>

    from pandas.core.arrays.masked import BaseMaskedArray

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/core/arrays/masked.py", line 60, in <module>

    from pandas.core import (

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/core/nanops.py", line 52, in <module>

    bn = import_optional_dependency("bottleneck", errors="warn")

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/compat/_optional.py", line 135, in import_optional_dependency

    module = importlib.import_module(name)

  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module

    return _bootstrap._gcd_import(name[level:], package, level)

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/bottleneck/__init__.py", line 7, in <module>

    from .move import (move_argmax, move_argmin, move_max, move_mean, move_median,

Traceback (most recent call last):

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__

    raise ImportError(msg)

ImportError:

A module that was compiled using NumPy 1.x cannot be run in

NumPy 2.0.0 as it may crash. To support both 1.x and 2.x

versions of NumPy, modules must be compiled with NumPy 2.0.

Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

 

If you are a user of the module, the easiest solution will be to

downgrade to 'numpy<2' or try to upgrade the affected module.

We expect that some modules will need time to support NumPy 2.

 

 

343 INFO: NumExpr defaulting to 8 threads.

 

A module that was compiled using NumPy 1.x cannot be run in

NumPy 2.0.0 as it may crash. To support both 1.x and 2.x

versions of NumPy, modules must be compiled with NumPy 2.0.

Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

 

If you are a user of the module, the easiest solution will be to

downgrade to 'numpy<2' or try to upgrade the affected module.

We expect that some modules will need time to support NumPy 2.

 

Traceback (most recent call last):  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/isolated/_child.py", line 100, in <module>

    while run_next_command(read_fh, write_fh):

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/isolated/_child.py", line 63, in run_next_command

    output = function(*args, **kwargs)

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/utils/hooks/__init__.py", line 666, in _collect_submodules

    __import__(name)

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/__init__.py", line 49, in <module>

    from pandas.core.api import (

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/core/api.py", line 28, in <module>

    from pandas.core.arrays import Categorical

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/core/arrays/__init__.py", line 1, in <module>

    from pandas.core.arrays.arrow import ArrowExtensionArray

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/core/arrays/arrow/__init__.py", line 5, in <module>

    from pandas.core.arrays.arrow.array import ArrowExtensionArray

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/core/arrays/arrow/array.py", line 64, in <module>

    from pandas.core.arrays.masked import BaseMaskedArray

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/core/arrays/masked.py", line 60, in <module>

    from pandas.core import (

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/core/nanops.py", line 52, in <module>

    bn = import_optional_dependency("bottleneck", errors="warn")

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/compat/_optional.py", line 135, in import_optional_dependency

    module = importlib.import_module(name)

  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module

    return _bootstrap._gcd_import(name[level:], package, level)

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/bottleneck/__init__.py", line 7, in <module>

    from .move import (move_argmax, move_argmin, move_max, move_mean, move_median,

Traceback (most recent call last):

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__

    raise ImportError(msg)

ImportError:

A module that was compiled using NumPy 1.x cannot be run in

NumPy 2.0.0 as it may crash. To support both 1.x and 2.x

versions of NumPy, modules must be compiled with NumPy 2.0.

Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

 

If you are a user of the module, the easiest solution will be to

downgrade to 'numpy<2' or try to upgrade the affected module.

We expect that some modules will need time to support NumPy 2.

 

 

71718 INFO: Processing standard module hook 'hook-pytz.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

75017 INFO: Processing standard module hook 'hook-pandas.io.formats.style.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

 

A module that was compiled using NumPy 1.x cannot be run in

NumPy 2.0.0 as it may crash. To support both 1.x and 2.x

versions of NumPy, modules must be compiled with NumPy 2.0.

Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

 

If you are a user of the module, the easiest solution will be to

downgrade to 'numpy<2' or try to upgrade the affected module.

We expect that some modules will need time to support NumPy 2.

 

Traceback (most recent call last):  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/isolated/_child.py", line 100, in <module>

    while run_next_command(read_fh, write_fh):

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/isolated/_child.py", line 63, in run_next_command

    output = function(*args, **kwargs)

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/utils/hooks/__init__.py", line 487, in _is_package

    spec = importlib.util.find_spec(module_name)

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/__init__.py", line 49, in <module>

    from pandas.core.api import (

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/core/api.py", line 28, in <module>

    from pandas.core.arrays import Categorical

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/core/arrays/__init__.py", line 1, in <module>

    from pandas.core.arrays.arrow import ArrowExtensionArray

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/core/arrays/arrow/__init__.py", line 5, in <module>

    from pandas.core.arrays.arrow.array import ArrowExtensionArray

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/core/arrays/arrow/array.py", line 64, in <module>

    from pandas.core.arrays.masked import BaseMaskedArray

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/core/arrays/masked.py", line 60, in <module>

    from pandas.core import (

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/core/nanops.py", line 52, in <module>

    bn = import_optional_dependency("bottleneck", errors="warn")

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/compat/_optional.py", line 135, in import_optional_dependency

    module = importlib.import_module(name)

  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module

    return _bootstrap._gcd_import(name[level:], package, level)

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/bottleneck/__init__.py", line 7, in <module>

    from .move import (move_argmax, move_argmin, move_max, move_mean, move_median,

Traceback (most recent call last):

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__

    raise ImportError(msg)

ImportError:

A module that was compiled using NumPy 1.x cannot be run in

NumPy 2.0.0 as it may crash. To support both 1.x and 2.x

versions of NumPy, modules must be compiled with NumPy 2.0.

Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

 

If you are a user of the module, the easiest solution will be to

downgrade to 'numpy<2' or try to upgrade the affected module.

We expect that some modules will need time to support NumPy 2.

 

 

 

A module that was compiled using NumPy 1.x cannot be run in

NumPy 2.0.0 as it may crash. To support both 1.x and 2.x

versions of NumPy, modules must be compiled with NumPy 2.0.

Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

 

If you are a user of the module, the easiest solution will be to

downgrade to 'numpy<2' or try to upgrade the affected module.

We expect that some modules will need time to support NumPy 2.

 

Traceback (most recent call last):  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/isolated/_child.py", line 100, in <module>

    while run_next_command(read_fh, write_fh):

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/isolated/_child.py", line 63, in run_next_command

    output = function(*args, **kwargs)

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/utils/hooks/__init__.py", line 516, in _get_package_paths

    spec = importlib.util.find_spec(package)

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/__init__.py", line 49, in <module>

    from pandas.core.api import (

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/core/api.py", line 28, in <module>

    from pandas.core.arrays import Categorical

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/core/arrays/__init__.py", line 1, in <module>

    from pandas.core.arrays.arrow import ArrowExtensionArray

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/core/arrays/arrow/__init__.py", line 5, in <module>

    from pandas.core.arrays.arrow.array import ArrowExtensionArray

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/core/arrays/arrow/array.py", line 64, in <module>

    from pandas.core.arrays.masked import BaseMaskedArray

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/core/arrays/masked.py", line 60, in <module>

    from pandas.core import (

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/core/nanops.py", line 52, in <module>

    bn = import_optional_dependency("bottleneck", errors="warn")

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/pandas/compat/_optional.py", line 135, in import_optional_dependency

    module = importlib.import_module(name)

  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module

    return _bootstrap._gcd_import(name[level:], package, level)

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/bottleneck/__init__.py", line 7, in <module>

    from .move import (move_argmax, move_argmin, move_max, move_mean, move_median,

Traceback (most recent call last):

  File "/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__

    raise ImportError(msg)

ImportError:

A module that was compiled using NumPy 1.x cannot be run in

NumPy 2.0.0 as it may crash. To support both 1.x and 2.x

versions of NumPy, modules must be compiled with NumPy 2.0.

Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

 

If you are a user of the module, the easiest solution will be to

downgrade to 'numpy<2' or try to upgrade the affected module.

We expect that some modules will need time to support NumPy 2.

 

 

77070 INFO: Processing standard module hook 'hook-botocore.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

79599 INFO: Processing standard module hook 'hook-pandas.plotting.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

81386 INFO: Processing standard module hook 'hook-sqlalchemy.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

88164 INFO: Processing standard module hook 'hook-sqlite3.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

88511 INFO: Processing standard module hook 'hook-pandas.io.clipboard.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

89695 INFO: Processing standard module hook 'hook-xml.etree.cElementTree.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

98610 INFO: Processing standard module hook 'hook-torchvision.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

109106 INFO: Processing standard module hook 'hook-jinja2.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

112378 INFO: Processing standard module hook 'hook-torchvision.io.image.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

112737 INFO: Processing standard module hook 'hook-scipy.io.matlab.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

115690 INFO: Processing pre-safe-import-module hook 'hook-win32com.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/pre_safe_import_module'

119200 INFO: Processing standard module hook 'hook-pygments.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

126662 INFO: Processing standard module hook 'hook-shapely.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

126897 INFO: Processing standard module hook 'hook-skimage.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

127017 INFO: Processing standard module hook 'hook-skimage.exposure.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

128181 INFO: Processing standard module hook 'hook-skimage.data.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

129287 INFO: Processing standard module hook 'hook-sklearn.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

129595 INFO: Processing standard module hook 'hook-sklearn.utils.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

130675 INFO: Processing standard module hook 'hook-sklearn.metrics.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

133239 INFO: Processing standard module hook 'hook-sklearn.metrics.cluster.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

133717 INFO: Processing standard module hook 'hook-sklearn.cluster.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

133816 INFO: Processing standard module hook 'hook-sklearn.metrics.pairwise.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

134375 INFO: Processing standard module hook 'hook-sklearn.neighbors.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

134554 INFO: Processing standard module hook 'hook-sklearn.linear_model.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

136188 INFO: Processing standard module hook 'hook-fastai.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

136364 INFO: Processing pre-safe-import-module hook 'hook-urllib3.packages.six.moves.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module'

137589 INFO: Processing standard module hook 'hook-cryptography.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

139100 INFO: Processing standard module hook 'hook-bcrypt.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/fastai/gen_doc/gen_notebooks.py:63: SyntaxWarning: invalid escape sequence '\s'

  match = re.match(f"^({key})\s*=\s*.*", codestr)

/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/fastai/gen_doc/gen_notebooks.py:216: SyntaxWarning: invalid escape sequence '\('

  if re.search(f"update_nb_metadata\('{fn}'", c['source']): return c

/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/fastai/gen_doc/nbdoc.py:27: SyntaxWarning: invalid escape sequence '\*'

  arg_prefixes = {inspect._VAR_POSITIONAL: '\*', inspect._VAR_KEYWORD:'\*\*'}

/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/fastai/gen_doc/nbdoc.py:27: SyntaxWarning: invalid escape sequence '\*'

  arg_prefixes = {inspect._VAR_POSITIONAL: '\*', inspect._VAR_KEYWORD:'\*\*'}

/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/fastai/gen_doc/nbdoc.py:57: SyntaxWarning: invalid escape sequence '\['

  return f'`Optional`\[{type_repr(args[0])}\]'

/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/fastai/gen_doc/nbdoc.py:57: SyntaxWarning: invalid escape sequence '\]'

  return f'`Optional`\[{type_repr(args[0])}\]'

/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/fastai/gen_doc/nbdoc.py:59: SyntaxWarning: invalid escape sequence '\['

  return f'{link_type(t)}\[{reprs}\]'

/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/fastai/gen_doc/nbdoc.py:59: SyntaxWarning: invalid escape sequence '\]'

  return f'{link_type(t)}\[{reprs}\]'

/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/fastai/gen_doc/nbdoc.py:173: SyntaxWarning: invalid escape sequence '\['

  BT_REGEX = re.compile("\[`([^`]*)`\](?:\([^)]*\))|`([^`]*)`") # matches [`key`](link) or `key`

/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/fastai/gen_doc/docstrings.py:26: SyntaxWarning: invalid escape sequence '\*'

  NEW_REGEX = re.compile(f":(?P<field>{FIELDS}) (?P<name>[\*\w]+): (?P<doc>.*?)"

/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/fastai/gen_doc/docstrings.py:27: SyntaxWarning: invalid escape sequence '\Z'

  f"(?:(?=:(?:{FIELDS}|return|raises))|\Z)", re.S)

/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/fastai/gen_doc/nbtest.py:111: SyntaxWarning: invalid escape sequence '\w'

  exact_re = '' if exact_match else '\w*'

/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/fastai/gen_doc/nbtest.py:112: SyntaxWarning: invalid escape sequence '\w'

  return re.match(f'test_{subdir}\w*{Path(fp).stem}{exact_re}\.py', file_name)

/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/fastai/gen_doc/nbtest.py:112: SyntaxWarning: invalid escape sequence '\.'

  return re.match(f'test_{subdir}\w*{Path(fp).stem}{exact_re}\.py', file_name)

/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/fastai/gen_doc/nbtest.py:155: SyntaxWarning: invalid escape sequence '\s'

  if re.match(f'.*[\s\.\(]{fn_name}[\.\(]', line):

/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/fastai/gen_doc/nbtest.py:155: SyntaxWarning: invalid escape sequence '\.'

  if re.match(f'.*[\s\.\(]{fn_name}[\.\(]', line):

/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/fastai/gen_doc/nbtest.py:164: SyntaxWarning: invalid escape sequence '\s'

  test_name = re.match(f'\s*def (test_\w*)', line_text).groups(0)[0]

/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/fastai/gen_doc/doctest.py:121: SyntaxWarning: invalid escape sequence '\s'

  if re.match(f'\s*def test', l):  return (lineno - idx), l # 1 based index for github

/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/fastai/gen_doc/doctest.py:122: SyntaxWarning: invalid escape sequence '\w'

  if re.match(f'\w+', l):  break # top level indent - out of function scope

140158 INFO: Processing module hooks (post-graph stage)...

141656 INFO: Processing pre-safe-import-module hook 'hook-tensorflow.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/pre_safe_import_module'

151595 INFO: Processing standard module hook 'hook-nvidia.cuda_cupti.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

151722 INFO: Processing standard module hook 'hook-skimage.color.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

152913 INFO: Processing standard module hook 'hook-nvidia.cuda_runtime.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

153031 INFO: Processing standard module hook 'hook-sklearn.tree.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

153122 INFO: Processing standard module hook 'hook-nvidia.cudnn.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

153235 INFO: Processing standard module hook 'hook-nvidia.cusolver.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

153345 INFO: Processing standard module hook 'hook-nvidia.curand.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

153608 INFO: Processing standard module hook 'hook-skimage.io.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

158801 INFO: Processing pre-find-module-path hook 'hook-tkinter.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks/pre_find_module_path'

158801 INFO: TclTkInfo: initializing cached Tcl/Tk info...

158898 WARNING: TclTkInfo: Tcl module directory '/usr/share/tcltk/tcl8' does not exist!

159125 INFO: Processing standard module hook 'hook-_tkinter.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

159254 INFO: Processing standard module hook 'hook-nvidia.cuda_nvrtc.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

159367 INFO: Processing standard module hook 'hook-nvidia.nvtx.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

159482 INFO: Processing standard module hook 'hook-nvidia.nccl.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

159606 INFO: Processing standard module hook 'hook-nvidia.cufft.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

159765 INFO: Processing standard module hook 'hook-_tkinter.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

159766 INFO: Processing standard module hook 'hook-gi.repository.GLib.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

160823 INFO: Processing standard module hook 'hook-matplotlib.backends.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

160824 INFO: Matplotlib backend selection method: automatic discovery of used backends

160876 INFO: Discovered Matplotlib backend(s) via `matplotlib.use()` call in module 'sympy.testing.runtests': ['Agg', 'Agg']

161008 INFO: The following Matplotlib backends were discovered by scanning for `matplotlib.use()` calls: ['Agg']. If your backend of choice is not in this list, either add a `matplotlib.use()` call to your code, or configure the backend collection via hook options (see: https://pyinstaller.org/en/stable/hooks-config.html#matplotlib-hooks).

161008 INFO: Selected matplotlib backends: ['Agg']

161239 INFO: Processing standard module hook 'hook-setuptools._vendor.importlib_metadata.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

161380 INFO: Processing standard module hook 'hook-setuptools._vendor.jaraco.text.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

161620 INFO: Processing standard module hook 'hook-sqlalchemy.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

162162 WARNING: Hidden import "pysqlite2" not found!

162162 WARNING: Hidden import "MySQLdb" not found!

162162 WARNING: Hidden import "psycopg2" not found!

164475 INFO: Processing pre-safe-import-module hook 'hook-platformdirs.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks/pre_safe_import_module'

164972 INFO: Processing standard module hook 'hook-PIL.SpiderImagePlugin.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

169114 INFO: Processing standard module hook 'hook-nvidia.cusparse.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

169228 INFO: Processing standard module hook 'hook-nvidia.cublas.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

169352 INFO: Processing standard module hook 'hook-imageio.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

171855 INFO: Processing standard module hook 'hook-backports.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks'

172222 INFO: Performing binary vs. data reclassification (3172 entries)

172508 INFO: Looking for ctypes DLLs

172707 WARNING: Library user32 required via ctypes not found

172922 WARNING: Library msvcrt required via ctypes not found

173043 WARNING: Ignoring /usr/lib64/libgomp.so.1 imported from /home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/torch/_inductor/codecache.py - only basenames are supported with ctypes imports!

173245 INFO: Analyzing run-time hooks ...

173294 INFO: Including run-time hook 'pyi_rth_pkgutil.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks/rthooks'

173297 INFO: Including run-time hook 'pyi_rth_multiprocessing.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks/rthooks'

173301 INFO: Including run-time hook 'pyi_rth_setuptools.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks/rthooks'

173303 INFO: Including run-time hook 'pyi_rth_pkgres.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks/rthooks'

173310 INFO: Including run-time hook 'pyi_rth_glib.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks/rthooks'

173312 INFO: Including run-time hook 'pyi_rth_gi.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks/rthooks'

173314 INFO: Including run-time hook 'pyi_rth_mplconfig.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks/rthooks'

173315 INFO: Processing pre-find-module-path hook 'hook-_pyi_rth_utils.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks/pre_find_module_path'

173318 INFO: Processing standard module hook 'hook-_pyi_rth_utils.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks'

173321 INFO: Including run-time hook 'pyi_rth_inspect.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks/rthooks'

173326 INFO: Including run-time hook 'pyi_rth_cryptography_openssl.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/rthooks'

173328 INFO: Including run-time hook 'pyi_rth__tkinter.py' from '/home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/hooks/rthooks'

173531 INFO: Compiling collected GLib schema files in '/home/consultant/Desktop/PipelineRun/IRDM_Rail_Inspection_Pipeline_June2024/Code/build/PipelineRun/_pyi_gschema_compilation'...

173750 INFO: Looking for dynamic libraries

179834 INFO: Warnings written to /home/consultant/Desktop/PipelineRun/IRDM_Rail_Inspection_Pipeline_June2024/Code/build/PipelineRun/warn-PipelineRun.txt

180486 INFO: Graph cross-reference written to /home/consultant/Desktop/PipelineRun/IRDM_Rail_Inspection_Pipeline_June2024/Code/build/PipelineRun/xref-PipelineRun.html

180831 INFO: checking PYZ

180831 INFO: Building PYZ because PYZ-00.toc is non existent

180831 INFO: Building PYZ (ZlibArchive) /home/consultant/Desktop/PipelineRun/IRDM_Rail_Inspection_Pipeline_June2024/Code/build/PipelineRun/PYZ-00.pyz

190450 INFO: Building PYZ (ZlibArchive) /home/consultant/Desktop/PipelineRun/IRDM_Rail_Inspection_Pipeline_June2024/Code/build/PipelineRun/PYZ-00.pyz completed successfully.

190943 INFO: checking PKG

190943 INFO: Building PKG because PKG-00.toc is non existent

190943 INFO: Building PKG (CArchive) PipelineRun.pkg

1133372 INFO: Building PKG (CArchive) PipelineRun.pkg completed successfully.

1133528 INFO: Bootloader /home/consultant/Desktop/PipelineRun/lib/python3.12/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run

1133529 INFO: checking EXE

1133529 INFO: Building EXE because EXE-00.toc is non existent

1133529 INFO: Building EXE from EXE-00.toc

1133529 INFO: Copying bootloader EXE to /home/consultant/Desktop/PipelineRun/IRDM_Rail_Inspection_Pipeline_June2024/Code/dist/PipelineRun

1133529 INFO: Appending PKG archive to custom ELF section in EXE

1148888 INFO: Building EXE from EXE-00.toc completed successfully.

(PipelineRun) :~/Desktop/PipelineRun/IRDM_Rail_Inspection_Pipeline_June2024/Code$ ls

build  log_file_annomoly.csv  PipelineRun.py    __pycache__  temp.jpg

dist   modules                PipelineRun.spec  retinanet    Utils

(PipelineRun) :~/Desktop/PipelineRun/IRDM_Rail_Inspection_Pipeline_June2024/Code$ ./dist/PipelineRun

Traceback (most recent call last):

  File "PipelineRun.py", line 12, in <module>

    from modules.fastai_foreground import DetectForeground

  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load

  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked

  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked

  File "PyInstaller/loader/pyimod02_importers.py", line 384, in exec_module

  File "modules/fastai_foreground/DetectForeground.py", line 3, in <module>

    from Utils.fastai_patch_inference import FastaiPatchInference

  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load

  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked

  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked

  File "PyInstaller/loader/pyimod02_importers.py", line 384, in exec_module

  File "Utils/fastai_patch_inference/FastaiPatchInference.py", line 1, in <module>

    from fastai.vision import *

  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load

  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked

  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked

  File "PyInstaller/loader/pyimod02_importers.py", line 384, in exec_module

  File "fastai/vision/__init__.py", line 1, in <module>

  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load

  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked

  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked

  File "PyInstaller/loader/pyimod02_importers.py", line 384, in exec_module

  File "fastai/basics.py", line 1, in <module>

  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load

  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked

  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked

  File "PyInstaller/loader/pyimod02_importers.py", line 384, in exec_module

  File "fastai/basic_train.py", line 2, in <module>

  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load

  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked

  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked

  File "PyInstaller/loader/pyimod02_importers.py", line 384, in exec_module

  File "fastai/torch_core.py", line 2, in <module>

  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load

  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked

  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked

  File "PyInstaller/loader/pyimod02_importers.py", line 384, in exec_module

  File "fastai/imports/__init__.py", line 1, in <module>

  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load

  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked

  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked

  File "PyInstaller/loader/pyimod02_importers.py", line 384, in exec_module

  File "fastai/imports/core.py", line 30, in <module>

  File "pkg_resources/__init__.py", line 926, in require

  File "pkg_resources/__init__.py", line 787, in resolve

  File "pkg_resources/__init__.py", line 828, in _resolve_dist

pkg_resources.DistributionNotFound: The 'fastprogress>=0.2.1' distribution was not found and is required by the application

[PYI-36936:ERROR] Failed to execute script 'PipelineRun' due to unhandled exception!

(PipelineRun) ~/Desktop/PipelineRun/IRDM_Rail_Inspection_Pipeline_June2024/Code$



Reply all
Reply to author
Forward
0 new messages