Open simkimsia opened 3 years ago
Guys, come on, it's really not difficult. You need what is stated in the requirements, as always on GitHub, and then you literally run the file from the the folder as described on the website. If you have trouble running it on macOS, please open an issue with a precise description of the problem.
Sorry it's not that obvious to me. but I eventually got it to run.
Win64 Python 3.4.0 (v3.4.0:04f714765c13, Mar 16 2014, 19:25:23)
C:\Windows\System32>python D:\Desktop\Ryven-2.4.1\Ryven\Ryven.py
Traceback (most recent call last):
File "D:\Desktop\Ryven-2.4.1\Ryven\Ryven.py", line 4, in <module>
import custom_src.Console.MainConsole as MainConsole
File "D:\Desktop\Ryven-2.4.1\Ryven\custom_src\Console\MainConsole.py", line 75
context = {**old_context, **new_context} # merge dicts
^
SyntaxError: invalid syntax
Please update your Python version :) In this case, the ** syntax was introduced in Python 3.5 I think.
Warning: QT_DEVICE_PIXEL_RATIO is deprecated. Instead use:
QT_AUTO_SCREEN_SCALE_FACTOR to enable platform plugin controlled per-screen factors.
QT_SCREEN_SCALE_FACTORS to set per-screen DPI.
QT_SCALE_FACTOR to set the application global scale factor.
qt.qpa.plugin: Could not find the Qt platform plugin "windows" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
https://www.qt.io/pricing $233? idk
Did you install it? Which version do you have?
For installing use pip install pyside2
, for upgrading use pip install pyside2 --upgrade
In case you still see that error after upgrading: where exactly does it print that? And how did you start the app?
PySide2 is already installed Python\Launcher\py.exe or cmd -> Ryven.py and Ryven NodeManager.py
There may be a problem in Windows?
yes. hm, that doesn't sound like a normal python path, it should be something like programs/Python38/python.exe
. (and on your windows, python
should be an env variable, so you would just need to call ...\Ryven\Ryven> python Ryven.py
from cmd in the inner Ryven folder) Did you try just opening it with python from the file explorer?
and please tell me your pyside2 version (pip freeze
)
I reduced the path for the sake of brevity. Via explorer = via py.exe
PySide2==5.15.1
shiboken2==5.15.1
yeah, but thing is I don't directly use the macros the warning above shows. So the problem probably isn't inside Ryven.
Did you try just opening it with python from the file explorer?
I'm not sure, there may be different pythons messing up your env variables, or something, that's why I ask. So, right now I cant really tell where the problem is, most likely it has something to do with your python on your OS
pip install pyqt5
Python39\Lib\site-packages\PyQt5\Qt\plugins\platforms
to Python39\
(i.e. Python39\platforms
) (Python39 means python root folder like Python38 or Python 26)Warning: QT_DEVICE_PIXEL_RATIO is deprecated. Instead use:
QT_AUTO_SCREEN_SCALE_FACTOR to enable platform plugin controlled per-screen factors.
QT_SCREEN_SCALE_FACTORS to set per-screen DPI.
QT_SCALE_FACTOR to set the application global scale factor.
Done
I don't really see why you do that... In any case, I wouldn't recommend running it like that, PySide2 and PyQt5 are not exactly the same and I would speculate, it's not a good idea to mix the configurations. Might work, though, idk
Is this normal? Judging by the pictures and videos, this should be a big list
I don't really see why you do that... In any case, I wouldn't recommend running it like that, PySide2 and PyQt5 are not exactly the same and I would speculate, it's not a good idea to mix the configurations. Might work, though, idk
The program required qt - I installed qt
The program required qt - I installed qt
Is this normal? Judging by the pictures and videos, this should be a big list
Please read the doc/guides on the website, if the software wouldn't require some instructions, it would be pretty limited :)
How to run the software?
Can you help?
you need to start it with python, seems like you have set .py file extensions in your OS to open in an editor, instead of with Python.
if your python is set up correctly: python Ryven.py
you need to start it with python, seems like you have set .py file extensions in your OS to open in an editor, instead of with Python. if your python is set up correctly:
python Ryven.py
Understood, thank you. Simply running python Ryven.py
solved the issue :)
no worries :)
same, in macos run ryven.py,it's notice, how to fix it! You might be loading two sets of Qt binaries into the same process. Check that all plugins are compiled against the right Qt binaries. Export DYLD_PRINT_LIBRARIES=1 and check that only one set of binaries are being loaded. qt.qpa.plugin: Could not load the Qt platform plugin "cocoa" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: cocoa, minimal, offscreen.
Hi!My system is mac OS Big Sur 11.0.1.It looks so cool,however,I can't make it run properly.
Traceback (most recent call last):
File "/Users/songpingping/Documents/passwords/python file/Ryven-2.4.2/Ryven/Ryven.py", line 4, in
did you install the dependencies as shown in the readme?
such a problem was met when I ran python Ryven/Ryven.py
in the root folder of this project.
qt.qpa.plugin: Could not load the Qt platform plugin "cocoa" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
such a problem was met when I ran
python Ryven/Ryven.py
in the root folder of this project.qt.qpa.plugin: Could not load the Qt platform plugin "cocoa" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Same problem here for me too. Running on macOS big sur 11.1
Similar problem to above trying to run on Chrombook crostini:
Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/home/davesgonechina/.pyenv/versions/3.7.3/bin/platforms" ...
Cannot load library /home/davesgonechina/.local/share/virtualenvs/Ryven-LMfEpAUt/lib/python3.7/site-packages/PySide2/Qt/plugins/platforms/libqxcb.so: (libxcb-util.so.1: cannot open shared object file: No such file or directory)
QLibraryPrivate::loadPlugin failed on "/home/davesgonechina/.local/share/virtualenvs/Ryven-LMfEpAUt/lib/python3.7/site-packages/PySide2/Qt/plugins/platforms/libqxcb.so" : "Cannot load library /home/davesgonechina/.local/share/virtualenvs/Ryven-LMfEpAUt/lib/python3.7/site-packages/PySide2/Qt/plugins/platforms/libqxcb.so: (libxcb-util.so.1: cannot open shared object file: No such file or directory)"
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Running ldd on libqxcb.so
, I see libxcb-util.so.1 => not found
This led me to this known bug for QT on Debian 10 where libxcb-util.so.0 exists but libxcb-util.so.1 does not
I tried symlinking libxcb-util.so.1
to the existing libxcb-util.so.0
but got "Failed to extract plugin meta data from '/usr/lib/x86_64-linux-gnu/libxcb-util.so.0.0.0'" not a plugin
Similar problem to above trying to run on Chrombook crostini:
Got keys from plugin meta data ("xcb") QFactoryLoader::QFactoryLoader() checking directory path "/home/davesgonechina/.pyenv/versions/3.7.3/bin/platforms" ... Cannot load library /home/davesgonechina/.local/share/virtualenvs/Ryven-LMfEpAUt/lib/python3.7/site-packages/PySide2/Qt/plugins/platforms/libqxcb.so: (libxcb-util.so.1: cannot open shared object file: No such file or directory) QLibraryPrivate::loadPlugin failed on "/home/davesgonechina/.local/share/virtualenvs/Ryven-LMfEpAUt/lib/python3.7/site-packages/PySide2/Qt/plugins/platforms/libqxcb.so" : "Cannot load library /home/davesgonechina/.local/share/virtualenvs/Ryven-LMfEpAUt/lib/python3.7/site-packages/PySide2/Qt/plugins/platforms/libqxcb.so: (libxcb-util.so.1: cannot open shared object file: No such file or directory)" qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Running ldd on
libqxcb.so
, I seelibxcb-util.so.1 => not found
This led me to this known bug for QT on Debian 10 where libxcb-util.so.0 exists but libxcb-util.so.1 does not
I tried symlinking
libxcb-util.so.1
to the existinglibxcb-util.so.0
but got"Failed to extract plugin meta data from '/usr/lib/x86_64-linux-gnu/libxcb-util.so.0.0.0'" not a plugin
On linux, I usually do this to in a new directory. This tells python to install requirements separately from your user's python environment.
sudo apt install virtualenv
virtualenv env
source env/bin/activate
pip install -r requirements.txt
I can't get it to work. It hangs when loading the very first window element. I am using Python 3.6 on MacOS Big Sur
I am using macOS cataline 10.15.7