Comments (8)
@Strubbl, thanks for the info! Me too, I am neither a python expert, a grade 11 student.
So I learnt a bit today though :).
Seems like I have to update the README.md and reference this issue. Thanks 😊
from guiscrcpy.
Which is your default python version?
You can find out with python --version
your issue looks like it's python2
from guiscrcpy.
Yeah, Python2...
$ python --version
Python 2.7.16
from guiscrcpy.
guiscrcpy needs python3. I do not know if it can be required by the AUR package somehow.
$ cat /usr/bin/guiscrcpy
#!/bin/bash
python /opt/guiscrcpy/__main__.py
So, if you have python3 installed and start guiscrcrpy with python3 /opt/guiscrcpy/__main__.py
, it should work.
from guiscrcpy.
Thanks for your help! I had a Python2-Binary in my $PATH. Don't remember why, but I deleted it and rebuilt the program. It "works" now... in other words: it crashes, but with another error. I'll open another issue
from guiscrcpy.
Why does the binary file not work, even though you have python 2, python3 lib.so libraries are also embedded, so that you can run this anywhere.
(I) did you try 19.04 v or 18.04 v . Guiscrcpy is packaged to support older OSes (those released before Ubuntu 19.04) are released as 18.04, please check that. @logix2, gave an issue (Binary not working in Ubuntu)
(II) can you give the output while running binary?
@Strubbl, how did you understand it's a python2 output, hatsoff to your skills, I am a newbie :)
from guiscrcpy.
@Strubbl The second time I started guiscrcpy
everything works. Will play with your tool for a while 👍
from guiscrcpy.
The binary file did not work, because it calls python only - no specific version. Due to the changed linuxundich's $PATH variable the python command pointed to a python2 binary.
Usually in a default Archlinux installation, python shall point to python3, e.g.:
$ type python
python is /usr/bin/python
$ ls -l /usr/bin/python
lrwxrwxrwx 1 root root 7 Jul 16 09:12 /usr/bin/python -> python3*
I am no python expert, but i googled, and saw the FileNotFoundError was not part of python2.
from guiscrcpy.
Related Issues (20)
- [BUG] guiscrcpy.exe won't start HOT 3
- BUG guiscrcpy report HOT 4
- [BUG] scrcpy gave me a error when starting
- Doesn't download the music
- [BUG] Won't open and mount a disk volume for me. Really annoying!
- BUG both tablets not recognized
- [BUG] Does not support m1 mac. HOT 4
- [BUG] CANT CROP (Steam deck)
- [BUG]qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. HOT 1
- could not install guiscrpy well wtih the scrpy. how do i delete in order to install a new one?[BUG]
- [BUG] Software freezes on loading logo
- [BUG] ModuleNotFoundError coloredlogs, but python-coloredlogs is installed HOT 1
- [BUG] "START SCRCPY" crashes the app HOT 1
- Guiscrcpy screen not displaying HOT 2
- [forwarded audio not getting recorded]
- [BUG]
- [BUG] Guiscrcpy wont show android device HOT 2
- [BUG] AppImage missing libcrypt.so.1
- Mirrored screen not loading HOT 4
- [BUG] arguments passed to setSizePolicy are not in the expected format HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from guiscrcpy.