Closed boltomli closed 5 years ago
I probably made a mistake when I edited the description. Try cloning this repository and running pip install -r requirements.txt
(in the directory where you put the repo).
Oh, it happens only when install from pip. It works well in the repo.
I could add this on setup.py:
install_requires=[
'PySide2',
],
The problem here is that setup.py does not have an argument to install without dependencies and will install from the distribution repositories and also pip repositories, as it can be seen in the package below: https://gitlab.manjaro.org/packages/community/webdad/python-jade-application-kit/blob/master/PKGBUILD
That's why I have requirements.txt instead, can't see a workaround for this if you have one let me know.
File "C:\python\current\lib\site-packages\JAK\Application.py", line 9, in
Also I don't support Windows, so I am not sure if JAK works for you, anyway let me know if it does.
Thanks, I understand. I'll see if there's a way to support both pacman and pip. By the way it's the same behaviour in Linux. I didn't get it work on Windows yet but WSL with X server may work (basically a working Linux env)
BUGS
After a fresh
pip install -U Jade-Application-Kit
it won't work in Python console.Context
Expected Behavior
The basic use of
import
should work.Actual Behavior
The dependency is not available after fresh install.
Possible Fix
Manually install the dependency
pip install -U PySide2
then the issue is gone.Steps to Reproduce
virtualenv -p python3 venv
source venv/bin/activate
pip install -U Jade-Application-Kit
python
from JAK.Application import JWebApp
Context
Your Environment
Pygi version: python version: Linux distro: Link to your project: