Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Looks like Ryven is completely broken for the indefinite future? #194

Open
Captain-Bacon opened this issue Jul 26, 2024 · 3 comments
Open

Comments

@Captain-Bacon
Copy link

Captain-Bacon commented Jul 26, 2024

I've tried all options - different python versions, virtual and non environments, conda envs, all sorts. I've pip installed, I've built from source.

No matter what, there's always an issue with pyside2 or pyside6. You can follow all the directions that the program gives, but you'll end up DOA.

I find it really confusing as there seem to be closed issues quite recently, but.... well... I dunno.

I even tried using the pre-built Conda install, which should all but guaranteed to work:
LibMambaUnsatisfiableError: Encountered problems while solving:

  • nothing provides pyside2 5.12.4 needed by ryven-3.1.1-pyhd8ed1ab_3

Could not solve for environment specs
The following packages are incompatible
├─ pin-1 is installable and it requires
│ └─ python 3.12.* , which can be installed;
└─ ryven is not installable because there are no viable options
├─ ryven 3.1.1 would require
│ └─ pyside2 5.12.4 , which does not exist (perhaps a missing channel);
└─ ryven [3.4.0|3.4.1|3.4.2|3.4.3|3.5.0] would require
└─ ryvencore-qt 0.4.* but there are no viable options
├─ ryvencore-qt 0.4.0 would require
│ └─ pyside2 but there are no viable options
│ ├─ pyside2 [5.15.5|5.15.6|5.15.7|5.15.8] would require
│ │ └─ python >=3.10,<3.11.0a0 *_cpython, which conflicts with any installable versions previously reported;
│ ├─ pyside2 [5.15.5|5.15.6|5.15.7|5.15.8] would require
│ │ └─ python >=3.8,<3.9.0a0 *_cpython, which conflicts with any installable versions previously reported;
│ ├─ pyside2 [5.15.5|5.15.6|5.15.7|5.15.8] would require
│ │ └─ python >=3.9,<3.10.0a0 *_cpython, which conflicts with any installable versions previously reported;
│ └─ pyside2 [5.15.6|5.15.7|5.15.8] would require
│ └─ python >=3.11,<3.12.0a0 *_cpython, which conflicts with any installable versions previously reported;
└─ ryvencore-qt [0.4.1|0.4.3] would require
└─ python >=3.6,<=3.10 , which conflicts with any installable versions previously reported.

@RubendeBruin
Copy link

Just checked and on my system (windows 11, python 3.11) ryven installs fine:

(flow) C:\python\venvs\flow>pip install ryven
Collecting ryven
  Downloading ryven-3.5.0-py3-none-any.whl (4.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.4/4.4 MB 7.8 MB/s eta 0:00:00
Collecting ryvencore-qt==0.5.*
  Downloading ryvencore_qt-0.5.0-py3-none-any.whl (5.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.7/5.7 MB 2.5 MB/s eta 0:00:00
Collecting ryvencore==0.5.*
  Downloading ryvencore-0.5.0-py3-none-any.whl (50 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.6/50.6 kB ? eta 0:00:00
Collecting Jinja2
  Downloading jinja2-3.1.4-py3-none-any.whl (133 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.3/133.3 kB 8.2 MB/s eta 0:00:00
Collecting Pygments
  Downloading pygments-2.18.0-py3-none-any.whl (1.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 12.9 MB/s eta 0:00:00
Collecting textdistance
  Downloading textdistance-4.6.3-py3-none-any.whl (31 kB)
Requirement already satisfied: packaging in c:\python\venvs\flow\lib\site-packages (from ryven) (24.1)
Requirement already satisfied: QtPy in c:\python\venvs\flow\lib\site-packages (from ryvencore-qt==0.5.*->ryven) (2.4.1)
Collecting waiting
  Downloading waiting-1.4.1.tar.gz (7.1 kB)
  Preparing metadata (setup.py) ... done
Collecting MarkupSafe>=2.0
  Downloading MarkupSafe-2.1.5-cp311-cp311-win_amd64.whl (17 kB)
Installing collected packages: waiting, textdistance, ryvencore, Pygments, MarkupSafe, ryvencore-qt, Jinja2, ryven
  DEPRECATION: waiting is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
  Running setup.py install for waiting ... done
Successfully installed Jinja2-3.1.4 MarkupSafe-2.1.5 Pygments-2.18.0 ryven-3.5.0 ryvencore-0.5.0 ryvencore-qt-0.5.0 textdistance-4.6.3 waiting-1.4.1

[notice] A new release of pip available: 22.3.1 -> 24.2
[notice] To update, run: python.exe -m pip install --upgrade pip

(flow) C:\python\venvs\flow>ryven
You are trying to use PySide2 as the Qt API, but it is not available for Python 3.11 and later. Please use PySide6 instead (run `ryven -q pyside6`), or use Python 3.10 or earlier.

(flow) C:\python\venvs\flow>ryven -q pyside6

I did already have PySide6 installed in this venv environment.

Could this just be an issue with Conda? I've had issues with conda and pyside6 in the past.

@shashankbl
Copy link

I created a new python project and used pip 24.2 to install ryven. However, I encounter issues during the installation, which I'm not able to resolve even after installing pyside as suggested.
I'm on Macbook Pro with M2 Pro and macOS Sonoma 14.4.

(venv) (base) X@MacBook-Pro python_pro % pip install ryven Collecting ryven Using cached ryven-3.5.0-py3-none-any.whl.metadata (643 bytes) Collecting ryvencore-qt==0.5.* (from ryven) Using cached ryvencore_qt-0.5.0-py3-none-any.whl.metadata (1.3 kB) Collecting ryvencore==0.5.* (from ryven) Using cached ryvencore-0.5.0-py3-none-any.whl.metadata (2.9 kB) Requirement already satisfied: Jinja2 in ./venv/lib/python3.9/site-packages (from ryven) (3.1.4) Requirement already satisfied: Pygments in ./venv/lib/python3.9/site-packages (from ryven) (2.18.0) Requirement already satisfied: textdistance in ./venv/lib/python3.9/site-packages (from ryven) (4.6.3) Requirement already satisfied: packaging in ./venv/lib/python3.9/site-packages (from ryven) (24.1) Requirement already satisfied: QtPy in ./venv/lib/python3.9/site-packages (from ryvencore-qt==0.5.*->ryven) (2.4.1) Requirement already satisfied: waiting in ./venv/lib/python3.9/site-packages (from ryvencore-qt==0.5.*->ryven) (1.4.1) Requirement already satisfied: MarkupSafe>=2.0 in ./venv/lib/python3.9/site-packages (from Jinja2->ryven) (2.1.5) Using cached ryven-3.5.0-py3-none-any.whl (4.4 MB) Using cached ryvencore-0.5.0-py3-none-any.whl (50 kB) Using cached ryvencore_qt-0.5.0-py3-none-any.whl (5.7 MB) Installing collected packages: ryvencore, ryvencore-qt, ryven Successfully installed ryven-3.5.0 ryvencore-0.5.0 ryvencore-qt-0.5.0 (venv) (base) shashankbangalorelakshman@Shashanks-MacBook-Pro python_pro % python python_pro/main.py You are trying to use PySide2 as the Qt API, but it is not available. Please install it, or use pyside6 as the Qt API. Either of those can installed through pip, e.g. pip install pyside2orpip install 'pyside6<6.7'.

(venv) (base) X@MacBook-Pro python_pro % pip install pyside2 ERROR: Could not find a version that satisfies the requirement pyside2 (from versions: none) ERROR: No matching distribution found for pyside2

`Package Version


contourpy 1.2.1
cycler 0.12.1
fonttools 4.53.1
importlib_resources 6.4.0
Jinja2 3.1.4
joblib 1.4.2
kiwisolver 1.4.5
MarkupSafe 2.1.5
matplotlib 3.9.1.post1
numpy 2.0.1
packaging 24.1
pandas 2.2.2
pillow 10.4.0
pip 24.2
Pygments 2.18.0
pyparsing 3.1.2
PySide6 6.6.3.1
PySide6_Addons 6.6.3.1
PySide6_Essentials 6.6.3.1
python-dateutil 2.9.0.post0
pytz 2024.1
QtPy 2.4.1
ryven 3.5.0
ryvencore 0.5.0
ryvencore-qt 0.5.0
scikit-learn 1.5.1
scipy 1.13.1
setuptools 68.2.0
shiboken6 6.6.3.1
six 1.16.0
textdistance 4.6.3
threadpoolctl 3.5.0
tzdata 2024.1
waiting 1.4.1
wheel 0.41.2
zipp 3.19.2
`

@RubendeBruin
Copy link

Well, it seems that ryven installed just fine:
ryven Successfully installed ryven-3.5.0 ryvencore-0.5.0 ryvencore-qt-0.5.0

the error occurs when you try to start it. The error is because it wants to use PySide2 as default, and you don't have it.
Not a problem. You have PySide6 which is newer and can be used as well.

So you need to tell ryven to use PySide6 instead. You can do that with supplying -q pyside6 as command-line arugment to ryven

ryven -q pyside6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants