Comments (5)
Add this line to the end of the .gn dotfile (after running python2 tools/git-sync-deps
)
script_executable = "python2"
Or whatever command that points to python 2 on your system.
from skia.
I get the same problem, also using "alias python=python2" won't solve the issue. Same thing for me that if I add missing parantheses it complains instead about:
if ('clang' in subprocess.check_output('%s --version' % cc, shell=True) and TypeError: a bytes-like object is required, not 'str'
from skia.
Use this command:
python2 tools/git-sync-deps
from skia.
I am also having this problem on Ubuntu.
from skia.
sudo ln /usr/bin/python2 /usr/bin/python
Only for compile time. This also work for aseprite compilation.
from skia.
Related Issues (18)
- Missing interfaces of Skia HOT 1
- command not found: gn HOT 2
- Can't build skia (macOS) HOT 2
- Trouble trying to build skia from source HOT 3
- Multiple errors in build. HOT 1
- fatal: remote error: Git repository not found HOT 1
- for m1 MacBook build failed proble
- Usr/local/include not included in build includes
- TypeError: a bytes-like object is required, not 'str'
- Build failure: set_sources_assignment_filter no longer included in gn
- Skia build failing (MacOS 12.3) HOT 1
- bin/fetch-gn returned non-zero exit status of 1 HOT 4
- Ninja build stage throwing an error because python is called HOT 3
- Failed to install emsdk when running git-sync-deps on RPi 4 HOT 4
- Is there any skia library file compiled by msvc 2017 debug? HOT 5
- Should we use python2 in the build instructions? HOT 6
- Multiple Build Issues on Ninja HOT 4
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 skia.