Getting Windows error "FileNotFoundError"
See original GitHub issueJust installed the package and copied the exact usage example from the docs (active layer). Windows throws this WinError 2 error because apparently I have a 32 bits Python and it’s looking for Photoshop as if it was also 32 bits (which is is not) according to this stack overflow issue.
Using the suggested answer of adding the argument access=winreg.KEY_READ | winreg.KEY_WOW64_64KEY
inside the function _get_install_version
in _core.py
worked for me.
key = winreg.OpenKey(
winreg.HKEY_LOCAL_MACHINE,
self.REG_PATH,
access=winreg.KEY_READ | winreg.KEY_WOW64_64KEY
)
Just in case: Using Windows 10, Python 3.7 and version 0.6.0 of this package.
Issue Analytics
- State:
- Created 3 years ago
- Comments:17 (11 by maintainers)
Top Results From Across the Web
Windows FileNotFoundError: [Errno 2] No such file or ...
I want to use 'os.path.join' to open a file, the file exists, but I can not open it and get an error "FileNotFoundError"...
Read more >FileNotFoundError: [Errno 2] No such file or directory
The error "FileNotFoundError: [Errno 2] No such file or directory" is telling you that there is no file of that name in the...
Read more >File Not Found Error In Preview but the File IS There
I get an error that says "File Not Found Error It may have been moved, edited, or deleted" ERR_FILE_NOT_FOUND I'm getting this in...
Read more >How to Repair Error 15 File Not Found Issue in Windows
Summary: 'Error 15: file not found' error appears due to hard drive corruption, malware attack, or when a certain file from the operating ......
Read more >How to Fix File Not Found Windows 10 Error
Right-click on command prompt and select Run as Administrator. Type sfc/scannow command and press Enter.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
once again Thank for your report, I will update the logic later, I find it may be more accurate to use environment variables to determine.
@loonghao
I’ve put up a pull request to add @tubi-carrillo! 🎉