Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyInstaller error #2352

Open
febian-frl opened this issue Aug 15, 2024 · 0 comments
Open

PyInstaller error #2352

febian-frl opened this issue Aug 15, 2024 · 0 comments

Comments

@febian-frl
Copy link

I get an error when I use the packaged program.

After packaging the program with reproducible_build.sh, I get an error when running the command ./pupil_capture in the pupil/deployment/pupil_core_v3.6-12-g634d13a4_linux_x64/Pupil Capture folder

Process world:
Traceback (most recent call last):
  File "launchables/world.py", line 149, in world
  File "PyInstaller/loader/pyimod02_importers.py", line 352, in exec_module
  File "calibration_choreography/__init__.py", line 11, in <module>
  File "PyInstaller/loader/pyimod02_importers.py", line 352, in exec_module
  File "calibration_choreography/base_plugin.py", line 18, in <module>
  File "PyInstaller/loader/pyimod02_importers.py", line 352, in exec_module
  File "gaze_mapping/__init__.py", line 14, in <module>
  File "PyInstaller/loader/pyimod02_importers.py", line 352, in exec_module
  File "gaze_mapping/gazer_2d.py", line 17, in <module>
  File "PyInstaller/loader/pyimod02_importers.py", line 352, in exec_module
  File "sklearn/__init__.py", line 84, in <module>
  File "PyInstaller/loader/pyimod02_importers.py", line 352, in exec_module
  File "sklearn/base.py", line 19, in <module>
  File "PyInstaller/loader/pyimod02_importers.py", line 352, in exec_module
  File "sklearn/utils/__init__.py", line 11, in <module>
  File "PyInstaller/loader/pyimod02_importers.py", line 352, in exec_module
  File "sklearn/utils/_chunking.py", line 8, in <module>
  File "PyInstaller/loader/pyimod02_importers.py", line 352, in exec_module
  File "sklearn/utils/_param_validation.py", line 14, in <module>
  File "PyInstaller/loader/pyimod02_importers.py", line 352, in exec_module
  File "sklearn/utils/validation.py", line 26, in <module>
  File "PyInstaller/loader/pyimod02_importers.py", line 352, in exec_module
  File "sklearn/utils/_array_api.py", line 8, in <module>
  File "PyInstaller/loader/pyimod02_importers.py", line 352, in exec_module
  File "scipy/special/__init__.py", line 777, in <module>
  File "scipy/special/_ufuncs.pyx", line 1, in init scipy.special._ufuncs
ModuleNotFoundError: No module named 'scipy.special._cdflib'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "multiprocessing/process.py", line 315, in _bootstrap
  File "multiprocessing/process.py", line 108, in run
  File "launchables/world.py", line 841, in world
UnboundLocalError: local variable 'g_pool' referenced before assignment
[19:14:39] ERROR    world - launchables.world: Process Capture      world.py:837
                    crashed with trace:                                         
                    Traceback (most recent call last):                          
                      File "launchables/world.py", line 149, in                 
                    world                                                       
                      File                                                      
                    "PyInstaller/loader/pyimod02_importers.py",                 
                    line 352, in exec_module                                    
                      File "calibration_choreography/__init__.py",              
                    line 11, in <module>                                        
                      File                                                      
                    "PyInstaller/loader/pyimod02_importers.py",                 
                    line 352, in exec_module                                    
                      File                                                      
                    "calibration_choreography/base_plugin.py", line             
                    18, in <module>                                             
                      File                                                      
                    "PyInstaller/loader/pyimod02_importers.py",                 
                    line 352, in exec_module                                    
                      File "gaze_mapping/__init__.py", line 14, in              
                    <module>                                                    
                      File                                                      
                    "PyInstaller/loader/pyimod02_importers.py",                 
                    line 352, in exec_module                                    
                      File "gaze_mapping/gazer_2d.py", line 17, in              
                    <module>                                                    
                      File                                                      
                    "PyInstaller/loader/pyimod02_importers.py",                 
                    line 352, in exec_module                                    
                      File "sklearn/__init__.py", line 84, in                   
                    <module>                                                    
                      File                                                      
                    "PyInstaller/loader/pyimod02_importers.py",                 
                    line 352, in exec_module                                    
                      File "sklearn/base.py", line 19, in <module>              
                      File                                                      
                    "PyInstaller/loader/pyimod02_importers.py",                 
                    line 352, in exec_module                                    
                      File "sklearn/utils/__init__.py", line 11, in             
                    <module>                                                    
                      File                                                      
                    "PyInstaller/loader/pyimod02_importers.py",                 
                    line 352, in exec_module                                    
                      File "sklearn/utils/_chunking.py", line 8, in             
                    <module>                                                    
                      File                                                      
                    "PyInstaller/loader/pyimod02_importers.py",                 
                    line 352, in exec_module                                    
                      File "sklearn/utils/_param_validation.py",                
                    line 14, in <module>                                        
                      File                                                      
                    "PyInstaller/loader/pyimod02_importers.py",                 
                    line 352, in exec_module                                    
                      File "sklearn/utils/validation.py", line 26,              
                    in <module>                                                 
                      File                                                      
                    "PyInstaller/loader/pyimod02_importers.py",                 
                    line 352, in exec_module                                    
                      File "sklearn/utils/_array_api.py", line 8,               
                    in <module>                                                 
                      File                                                      
                    "PyInstaller/loader/pyimod02_importers.py",                 
                    line 352, in exec_module                                    
                      File "scipy/special/__init__.py", line 777,               
                    in <module>                                                 
                      File "scipy/special/_ufuncs.pyx", line 1, in              
                    init scipy.special._ufuncs                                  
                    ModuleNotFoundError: No module named                        
                    'scipy.special._cdflib' 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant