kandi X-RAY | pyUpdater Summary
kandi X-RAY | pyUpdater Summary
pyUpdater
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Check the latest version of the remote server
- Create a directory
- Load a module from a file
- The main entry point
pyUpdater Key Features
pyUpdater Examples and Code Snippets
Community Discussions
Trending Discussions on pyUpdater
QUESTION
I am Using PyUpdater
to Auto Update my kivy
app. I am stuck at a situation where my app get crashed (after so many warnings in terminal window) when I import pyupdater
's Client class (in my app).
What I know from different sources that (May be I am wrong), it happens due to clash between pyupdater
and kivy
to get logger (as pyupdater
try to get root logger). How can I resolve this issue ? Any help would be highly appreciable.
Note: The app works Ok, if I import pyupdater
before kivy
. But I want to import pyupdater
in another file.
ANSWER
Answered 2021-Jan-01 at 16:38Kivy does (sadly) also take/set the root logger, we hope to change that, but we have to evaluate if that would cause issues.
If you can still import PyUpdater as long as you import it before Kivy, then you can decide to import it in your main module (before kivy), even if you don't use it there, as python modules are singletons (importing them in another place of the same running program gives you access to the same namespace, that is global to the application), that would allow you to import it safely later in another module.
QUESTION
After I run:
...ANSWER
Answered 2020-Nov-30 at 12:38It is explained in the github issue
Add
C:\Users(username)\AppData\Roaming\Python\Python37\Scripts
to user path: open'Run' app -> Open 'sysdm.cpl' -> 'Advanced' -> 'Environment Variables' -> Edit 'path'
in User VariableCopy the
.py
file (the one holding your python code) toC:\Users(username)\AppData\Roaming\Python\Python37\Scripts
Run
python -m pip install pyinstaller
in terminal to install pyinstallerRun
.\pyinstaller -w -F (your file name).py
in your terminal to convert python file to .exe
Now the .exe tool should already be available in C:\Users(username)\AppData\Roaming\Python\Python37\Scripts\dist
folder.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install pyUpdater
You can use pyUpdater like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page