Giter Site home page Giter Site logo

Can't execute ninja run about scrcpy HOT 5 CLOSED

genymobile avatar genymobile commented on May 22, 2024 3
Can't execute ninja run

from scrcpy.

Comments (5)

rayworks avatar rayworks commented on May 22, 2024 3

@vincent-paing
I came across the same issue yesterday.

It seems the python 3.6 causes meson failure. See also this reported issue on homebrew.

You can reinstall python3 with another version (e.g. 3.5.2_3), and then reinstall meson again.
Then it's good to go.

from scrcpy.

marcin-kozinski avatar marcin-kozinski commented on May 22, 2024 1

I had the same problem, but managed to fix it without downgrading python. I've followed @rayworks's link to the issue on homebrew and found a fix in a comment there: Homebrew/homebrew-core#8418 (comment)

Turns out, I was victim of another issue caused by brew installs on Mac OS High Sierra not allowing for chown to be called on /usr/local directory. I recently upgraded from Yosemite to High Sierra and this was the first time using homebrew since.

While attempting to install meson, one of the dependencies (python) required symlinking into the non existent /usr/local/Frameworks directory. When this failed, I was still getting a successful response to python being installed so I didn't notice it at first.

To fix, I had to manually create the Frameworks directory with correct ownership set to my current user and then reinstall python and meson via brew. Once I did that, this error stopped appearing.

I remembered having the same problem with /usr/local/Frameworks, so I fixed that and now ninja run works!

from scrcpy.

vincent-paing avatar vincent-paing commented on May 22, 2024 1

For me, Python 3.6 was installed under root Library/Frameworks folder, I chmod it to allow read/write, and then run chown to change permission. After that, I start the setup process from the beginning. It's working flawlessly for me now.

from scrcpy.

vincent-paing avatar vincent-paing commented on May 22, 2024

@rayworks that's too bad. I'll wait till the bug got fixed on homebrew

from scrcpy.

butelo avatar butelo commented on May 22, 2024

#25 (comment)
didn't work for me :(

from scrcpy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.