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

I can't make a build #24

Open
SHCDevelops opened this issue Jul 23, 2023 · 3 comments
Open

I can't make a build #24

SHCDevelops opened this issue Jul 23, 2023 · 3 comments

Comments

@SHCDevelops
Copy link

I wanted to make some improvements, but I can't build the application according to the ready-made build.spec file

Code_1cjhB5qnMJ.mp4
@SHCDevelops
Copy link
Author

And I would like to add, I know setup.py ended with an error, so I installed all the packages manually and I still get an error like:

Traceback (most recent call last):
  File "Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_pkgres.py", line 200, in <module>
  File "Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_pkgres.py", line 36, in _pyi_rthook
  File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
  File "pkg_resources\__init__.py", line 35, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
  File "plistlib.py", line 70, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
  File "xml\parsers\expat.py", line 4, in <module>
ModuleNotFoundError: No module named 'pyexpat'

@SHCDevelops
Copy link
Author

And one more addition, even after downloading all the files from the already finished release, I still get an error:

Traceback (most recent call last):
  File "Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth__tkinter.py", line 35, in <module>
  File "Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth__tkinter.py", line 27, in _pyi_rthook
FileNotFoundError: Tcl data directory "C:\Users\admin\Desktop\SmartStitch\build\Build\tcl" not found.

@AbhiMayadam
Copy link
Contributor

Just out of curiosity, what version of python are you targeting when you are trying to build? Also just out of curiosity, could you try building from powershell instead of the terminal built into VSC? I don't think that's the reason why but you never know.

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

2 participants