Python Forum
Missing required dependencies when using pyinstaller
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Missing required dependencies when using pyinstaller
#11
Actual code is huge, but minimal program below reproduces error:

import pandas
import numpy
import setuptools

print pandas.__version__;
print numpy.__version__;
print setuptools.__version__;

C:\Users\DerekR>python pandastest.py
0.24.1
1.16.2
19.2


C:\Users\DerekR>dist\pandastest\pandastest.exe
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:\python27\Lib\site-packages\PyInstaller\loader\pyi_importers.py", line 270, in load_module
exec(bytecode, module.__dict__)
File "C:\Users\DerekR\build\pandastest\out00-PYZ.pyz\pandas", line 19, in <module>
ImportError: Missing required dependencies ['numpy']

It's python 2.7 if that's relevant
Reply


Messages In This Thread
RE: Missing required dependencies when using pyinstaller - by dmag - Mar-07-2019, 03:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is it possible to see dependencies before installing a package? quazirfan 4 1,124 Dec-06-2022, 02:50 PM
Last Post: snippsat
  TypeError: missing a required argument: 'y' gible 0 2,990 Dec-15-2021, 02:21 AM
Last Post: gible
  TypeError: missing 3 required positional arguments: wardancer84 9 11,153 Aug-19-2021, 04:27 PM
Last Post: deanhystad
  TypeError: run_oracle_job() missing 1 required positional argument: 'connection_strin python_student 1 2,011 Aug-06-2021, 08:05 PM
Last Post: SheeppOSU
  TypeError: max_value() missing 2 required positional arguments: 'alpha' and 'beta' Anldra12 2 4,262 May-15-2021, 04:15 PM
Last Post: Anldra12
  TypeError: sum() missing 1 required positional argument: 'num2' Insen 3 5,571 Jan-06-2021, 04:25 PM
Last Post: Insen
  Managing dependencies with pipenv t4keheart 6 3,025 Aug-05-2020, 12:39 AM
Last Post: t4keheart
  Missing 1 required position argument: 'failure' while starting thread. BradLivingstone 3 4,208 Jun-19-2020, 02:31 PM
Last Post: stullis
  TypeError: forward() missing 1 required positional argument: 'x' sveto4ka 4 12,418 Jun-17-2020, 07:25 PM
Last Post: sveto4ka
  missing 1 required positional argument: 'self' yasser 7 11,688 Jun-07-2020, 06:48 AM
Last Post: ndc85430

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020