Comments (17)
For what it's worth, I also do not have C:\Windows\SysWOW64
on PATH.
I guess I don't run enough 32-bit applications on my otherwise 64-bit system.
from fbs.
Hi. You should not be inside the src
folder, but one directory above it when you do python -m fbs freeze
.
from fbs.
When I do it from the folder above I get the error
Traceback (most recent call last):
File "C:\Users\lspmpc\Anaconda3\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\Users\lspmpc\Anaconda3\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\lspmpc\Anaconda3\lib\site-packages\fbs\__main__.py", line 4, in <module>
main()
File "C:\Users\lspmpc\Anaconda3\lib\site-packages\fbs\cmdline.py", line 25, in main
args.fn(*fn_args)
File "C:\Users\lspmpc\Anaconda3\lib\site-packages\fbs\builtin_commands\__init__.py", line 73, in freeze
freeze_windows(debug=debug)
File "C:\Users\lspmpc\Anaconda3\lib\site-packages\fbs\freeze\windows.py", line 21, in freeze_windows
run_pyinstaller(pyinstaller_args + extra_pyinstaller_args, debug)
File "C:\Users\lspmpc\Anaconda3\lib\site-packages\fbs\freeze\__init__.py", line 23, in run_pyinstaller
run(cmdline, check=True)
File "C:\Users\lspmpc\Anaconda3\lib\subprocess.py", line 403, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Users\lspmpc\Anaconda3\lib\subprocess.py", line 709, in __init__
restore_signals, start_new_session)
File "C:\Users\lspmpc\Anaconda3\lib\subprocess.py", line 997, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
from fbs.
Please try again with vanilla Python 3.5, not Anaconda.
from fbs.
@bicarlsen does the problem still occur when you don't use Anaconda?
from fbs.
I get the same error when running with plain Python, using both Python 3.6.5 and 3.5.4.
from fbs.
Thanks. What do you get when you do
pip freeze
?
from fbs.
fbs==0.4.2
from fbs.
You have failed to follow this step mentioned in both the tutorial and the Manual:
pip install fbs PyQt5==5.9.2 PyInstaller==3.4
from fbs.
Thank you. When I switched to plain Python I forgot to install those things. However I am now receiving the error
Traceback (most recent call last):
File "C:\Users\lspmpc\AppData\Local\Programs\Python\Python35\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\Users\lspmpc\AppData\Local\Programs\Python\Python35\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\lspmpc\AppData\Local\Programs\Python\Python35\lib\site-packages\fbs\__main__.py", line 36, in <module>
main()
File "C:\Users\lspmpc\AppData\Local\Programs\Python\Python35\lib\site-packages\fbs\cmdline.py", line 28, in main
fn(*args)
File "C:\Users\lspmpc\AppData\Local\Programs\Python\Python35\lib\site-packages\fbs\builtin_commands\__init__.py", line 103, in freeze
freeze_windows(debug=debug)
File "C:\Users\lspmpc\AppData\Local\Programs\Python\Python35\lib\site-packages\fbs\freeze\windows.py", line 24, in freeze_windows
_add_missing_dlls()
File "C:\Users\lspmpc\AppData\Local\Programs\Python\Python35\lib\site-packages\fbs\freeze\windows.py", line 47, in _add_missing_dlls
_add_missing_dll(dll_name)
File "C:\Users\lspmpc\AppData\Local\Programs\Python\Python35\lib\site-packages\fbs\freeze\windows.py", line 70, in _add_missing_dll
copy(_find_on_path(dll_name), freeze_dir)
File "C:\Users\lspmpc\AppData\Local\Programs\Python\Python35\lib\site-packages\fbs\freeze\windows.py", line 86, in _find_on_path
raise LookupError("Could not find %s on PATH" % file_name)
LookupError: Could not find msvcr110.dll on PATH
pip freeze
gives me
altgraph==0.16.1
fbs==0.4.2
future==0.17.1
macholib==1.11
pefile==2018.8.8
PyInstaller==3.4
PyQt5==5.9.2
pywin32-ctypes==0.2.0
sip==4.19.8
from fbs.
Does it work when you install this: https://www.microsoft.com/en-us/download/details.aspx?id=30679 ?
from fbs.
I get the same error.
from fbs.
Thanks. After installing my above link, do you have msvcr110.dll
somewhere on your system? (Eg. if you search your C:\
drive with Windows Explorer for this file.)
from fbs.
Firstly, thank you very much for all your help, and your quick responses.
Yes, it is located at C:\Windows\SysWOW64\
from fbs.
This is probably not the best solution for you, in this thread, but I figured it could be worth me mentioning that I solved all of my "missing DLL" issues by installing miniconda and having its install directory on PATH.
from fbs.
Thank you Fredrik. I'm surprised @bicarlsen's C:\Windows\SysWOW64\
isn't on the PATH. Can you add it @bicarlsen?
from fbs.
Woop! That fixed it :)
Just, to summarize on the main issues , and how they were resolved:
FileNotFoundError: [WinError 2] The system cannot find the file specified
solved by using Vanilla Python instead of Anaconda, and ensuring that PyQt and PyInstaller were installedLookupError: Could not find msvcr110.dll on PATH
solved by downloading Visual C++ Redistributable for Visual Studio 2012 Update 4 and ensuring the folder is in the PATH.
PS
I'm receiving another error now, but it is unrelated, so I will start another thread
from fbs.
Related Issues (20)
- UnicodeDecodeError: 'utf-8' codec can't decode byte 0xba in position 114: invalid start byte HOT 1
- Pro -- Updates beyond 1 year? HOT 2
- I want to use Sparkle Is that okay
- freeze on macOS Monterey gives warnings HOT 7
- Sentry exception events occurring in main thread are not flushed to Sentry (fbs Pro feature) HOT 3
- Double-clicking <AppName>.app does not launch application on macOS HOT 1
- fbs installer encoding issue + different error messages in and out of IDE
- Icons in src/main/icons are not carried over into the installation HOT 1
- PyInstaller >= 5.6 does not require `_fix_sparkle_delta_updates()` when freezing on MacOS HOT 2
- Issue with openpyxl library when running fbs freeze HOT 1
- FBS with Pyqt6 HOT 4
- "fbs freeze" does not work with the default program HOT 8
- When Running fbs release get cannot upload HOT 1
- FBS cannot find makensis even though it is installed HOT 2
- (Pro) No module named 'fbs_runtime.application_context' when running app that was released via buildvm/runvm HOT 6
- installer exe permission HOT 3
- fbs buildvm ubuntu command failing HOT 3
- QTabwidget Tab text area is white when selected, nothing can be seen HOT 3
- fbs pro experiencing problems with PySide2 (`no module named 'inspect'`) HOT 2
- how to build x86_64 and arm64 target on macos in Apple M1 chip
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 fbs.