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)
- 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
- just gave me a virus when compileing HOT 2
- Script requiring input HOT 17
- symbols-images into pushbutton auto-py-to-exe HOT 5
- File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\gevent\threadpool.py", line 173, in __run_task thread_result.set(func(*args, **kwargs)) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa1 in position 3: invalid start byte HOT 4
- Relative Paths aren't resolved until in the temp directory HOT 5
- it loading all the requirements rather using venv requirements HOT 2
- how can we change the running command ? HOT 6
- Error: tkinter not found HOT 4
- Doesnt open with Run option on linux HOT 2
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.