Comments (6)
requirements.txt states that PyInstaller 3.4 or above is required. In the output you have pasted here, PyInstaller 3.3.1 was being used.
from auto-py-to-exe.
Most of the time this is not an issue with auto-py-to-exe or PyInstaller but incorrect configuration (which is ok). This means you will then need to enable debugging for the project to investigate the issue and hold on to any output.
To enable debugging, go into the "Advanced" section and under the title "How to generate" put 'all' in the box beside --debug. This will print out messages to the console to help you debug.
When debugging, make sure you selected the "Console Based" button and using "One Directory" will help remove basic problems; you can switch back to "One File" when there are no more bugs and then fix the ones associated with "One File".
After re-packaging your project, open up cmd, use the cd command to change directories to where the exe is located and then execute ./my_project.exe (substitute the names). This will run the executable and any errors you were missing before will be output to the console.
from auto-py-to-exe.
thanks for your response,
after following the steps.
I am getting the below error in auto-py-exe window and exe is not generated.
`Cleaning workspace
1712864 INFO: PyInstaller: 3.3.1
1712868 INFO: Python: 3.6.5
1712868 INFO: Platform: Windows-10-10.0.17134-SP0
1712876 INFO: wrote C:\WINDOWS\system32\all.spec
1712884 INFO: UPX is not available.
An error occurred, traceback follows:
Traceback (most recent call last):
File "c:\users\elcot\appdata\local\programs\python\python36\lib\site-packages\auto_py_to_exe\__main__.py", line 193, in convert
pyi.run() # Execute PyInstaller
File "c:\users\elcot\appdata\local\programs\python\python36\lib\site-packages\PyInstaller\__main__.py", line 94, in run
run_build(pyi_config, spec_file, **vars(args))
File "c:\users\elcot\appdata\local\programs\python\python36\lib\site-packages\PyInstaller\__main__.py", line 46, in run_build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File "c:\users\elcot\appdata\local\programs\python\python36\lib\site-packages\PyInstaller\building\build_main.py", line 791, in main
build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
File "c:\users\elcot\appdata\local\programs\python\python36\lib\site-packages\PyInstaller\building\build_main.py", line 737, in build
exec(text, spec_namespace)
File "<string>", line 16, in <module>
File "c:\users\elcot\appdata\local\programs\python\python36\lib\site-packages\PyInstaller\building\build_main.py", line 162, in __init__
raise ValueError("script '%s' not found" % script)
ValueError: script 'C:\WINDOWS\system32\all' not found
Project output will not be moved to output folder
Cleaning workspace
Complete.`
from auto-py-to-exe.
What command is being executed? This is displayed at the bottom of the UI.
from auto-py-to-exe.
This is the command, @brentvollebregt
pyinstaller -y --debug all "D:/Pechi/selenium_link/selenium_link/final/my_tkinter_new.py"
I think I am running cmd in wrong location, it looks for a file called all
in the running directory
from auto-py-to-exe.
Works fine after updating pyinstaller. Thanks for your time @brentvollebregt . You are a life savior
from auto-py-to-exe.
Related Issues (20)
- Missing Module HOT 3
- pyinstaller converted .exe file not saving the images as required . HOT 4
- executing from cmd don't launch it HOT 3
- no issues great work , only thing i just have to make new environment but all good , you did great work on this , thanks HOT 2
- ERROR: Could not build wheels for bottle-websocket, which is required to install pyproject.toml-based projects HOT 2
- Now Windows itself is flagging it?? HOT 2
- python3.11 crossover HOT 3
- Installed auto-py-to-exe but it doesn't runs the ui HOT 5
- data include skips empty folders HOT 6
- WHERE IS THE FUK!GG EXE FILE YOU SMELLY NERDSSS!!!! HOT 9
- Child process died calling import_library() with args=('pyqtgraph.canvas',) and kwargs={} HOT 5
- Admin only GUI appearance HOT 10
- Pyinstaller Version Control HOT 2
- Pyinstaller 5.X.X is better? HOT 7
- auto-py-to-exe and configparser issue HOT 8
- Bug after trying to launch HOT 3
- Clicking the select file button will freeze on macOS 14.4 arm64 HOT 13
- Warning coloring problem HOT 3
- Unused models in the application HOT 3
- The numpy.array_api submodule is still experimental HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auto-py-to-exe.