MacOS support for guiscrcpy
yuanweize opened this issue · 7 comments
Describe the bug
MacOS can not open guiscrcpy
To Reproduce
Steps to reproduce the behavior:
- install requirements by command
pip install pyqt5 PySide6
- install guiscrcpy by command
pip install guiscrcpy
- and run command
guiscrcpy
Expected behavior
Use guiscrcpy
command in terminal to open guiscrcpy
Screenshots
pip list guiscrcpy
Desktop (please complete the following information):
- MacOS
- Version: 12.6 (21G115)
Additional context
Python 3.10.7
pip 22.3
NO requirements.txt and setup.py in main branch, please add it with correct requirements, thanks
We use pyproject.toml
. Requirements.txt is not a "requirement" anymore for python project. Please use poetry
to use it.
We use
pyproject.toml
. Requirements.txt is not a "requirement" anymore for python project. Please usepoetry
to use it.
Thanks for your reply. I install poetry run poetry install
, poetry run python launcher.py
but not work. I also think these command maybe not correct.
python version 3.8.15
I make a requirements.txt and install it.
cat requirements.txt psutil ~= 5.8.0 pynput ~= 1.6.8 colorama ~= 0.4.4 click ~= 8.0.1 QtPy ~= 1.9.0 PyQt5 ~= 5.15.4 PySide2 ~= 5.15.2 CairoSVG ~=2.5.2 coloredlogs ~= 15.0.1 black ~= 22.3.0
After I use command python -m pip install guiscrcpy
to install guiscrcpy. And run guscrcpy
but have following error output.
The correct command should be
poetry install
poetry run guiscrcpy
From your error log, it seems to be conflicting with the versions of PyQt on your host. You don't seem to be using a virtual environment, which is why you are running into this issue.
The correct command should be
poetry install poetry run guiscrcpy
From your error log, it seems to be conflicting with the versions of PyQt on your host. You don't seem to be using a virtual environment, which is why you are running into this issue.
I use poetry install and poetry run guiscrcpy
and also tried first with poetry shell
and run the command but not work. sad....
After poetry shell
, try pip install PyQt5
I've tried the above, does not work. could you make a guide on how to install on m1 latest os. please