I am using pyinstaller for a long time for different programs but now i ran 
in an issue with the pandas_ta module which i use for the first time

Program works fine in vscode and starting from the terminal.

I compiled the py-file as allways with: pyinstaller --onefile StockRT.py
(and it worked fine and created the exe as allways)

But when i want to run the exe i get this error message:
  File "StockRT.py", line 30, in <module>
    import pandas_ta as ta
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "PyInstaller\loader\pyimod03_importers.py", line 531, in exec_module
  File "pandas_ta\__init__.py", line 10, in <module>
  File "pkg_resources\__init__.py", line 480, in get_distribution
  File "pkg_resources\__init__.py", line 356, in get_provider
  File "pkg_resources\__init__.py", line 899, in require
  File "pkg_resources\__init__.py", line 785, in resolve
pkg_resources.DistributionNotFound: The 'pandas_ta' distribution was not 
found and is required by the application
[19892] Failed to execute script StockRT

Tried to compile the exe in the venv (what i normally do - and also in the 
globally environment) - error message keeps the same.

Any tipp / help would be very welcome - thanks in advance!

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/2057ee1c-2868-4306-93c5-8576f1f652afn%40googlegroups.com.

Reply via email to