title: (Pyinstaller, Torch) Exception: Most probably this dynlib/dll was not found when the application was frozen
body: <p>I am trying to convert my python file, which is importing torch, into an executable. It works perfectly fine when I run the script as the .py file.</p>
  
  <p>Additional Information:</p>
  
  <ul>
  <li>Python Version: 3.7</li>
  <li>Torch version: 1.5
  
  <ul>
  <li><code>pip install torch===1.5.0 torchvision===0.6.0 -f https://download.pytorch.org/whl/torch_stable.html)</code></li>
  </ul></li>
  </ul>
  
  <p>Please let me know if you need more information.</p>
  
  <p><strong>My SPEC file:</strong></p>
  
  <pre><code># -*- mode: python ; coding: utf-8 -*-
  
  block_cipher = None
  
  
  a = Analysis(['B:\\boska\\Documents\\Dilan\\Dropbox\\Fiverr\\Jobs\\Work Files\\ank521\\Application.py'],
               pathex=['B:\\Downloads\\Python37\\Lib\\site-packages\\torch\\bin', 'B:\\boska\\Documents\\Dilan\\Dropbox\\Fiverr\\Jobs\\Work Exports'],
               binaries=[],
               datas=[],
               hiddenimports=['tkinter', 'sklearn.utils._cython_blas', 'sklearn.neighbors.typedefs', 'sklearn.neighbors.quad_tree', 'sklearn.tree._utils', 'torch', 'numpy'],
               hookspath=[],
               runtime_hooks=[],
               excludes=['PySide2', 'PyQt5'],
               win_no_prefer_redirects=False,
               win_private_assemblies=False,
               cipher=block_cipher,
               noarchive=False)
  pyz = PYZ(a.pure, a.zipped_data,
               cipher=block_cipher)
  exe = EXE(pyz,
            a.scripts,
            [],
            exclude_binaries=True,
            name='Application',
            debug=False,
            bootloader_ignore_signals=False,
            strip=False,
            upx=True,
            console=True )
  coll = COLLECT(exe,
                 a.binaries,
                 a.zipfiles,
                 a.datas,
                 strip=False,
                 upx=True,
                 upx_exclude=[],
                 name='Application')
  
  </code></pre>
  
  <p><strong>My Error Message:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/o8CMc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/o8CMc.png" alt="Error Image"></a></p>