mirror of
https://github.com/electron/node-gyp.git
synced 2025-08-15 12:58:19 +02:00
doc: note in README that Python 3.8 is supported (#2072)
PR-URL: https://github.com/nodejs/node-gyp/pull/2072 Refs: https://github.com/nodejs/node-gyp/issues/2071 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
This commit is contained in:
parent
e18a61afc1
commit
473cfa283f
1 changed files with 3 additions and 3 deletions
|
@ -31,13 +31,13 @@ Depending on your operating system, you will need to install:
|
|||
|
||||
### On Unix
|
||||
|
||||
* Python v2.7, v3.5, v3.6, or v3.7
|
||||
* Python v2.7, v3.5, v3.6, v3.7, or v3.8
|
||||
* `make`
|
||||
* A proper C/C++ compiler toolchain, like [GCC](https://gcc.gnu.org)
|
||||
|
||||
### On macOS
|
||||
|
||||
* Python v2.7, v3.5, v3.6, or v3.7
|
||||
* Python v2.7, v3.5, v3.6, v3.7, or v3.8
|
||||
* [Xcode](https://developer.apple.com/xcode/download/)
|
||||
* You also need to install the `XCode Command Line Tools` by running `xcode-select --install`. Alternatively, if you already have the full Xcode installed, you can find them under the menu `Xcode -> Open Developer Tool -> More Developer Tools...`. This step will install `clang`, `clang++`, and `make`.
|
||||
* If your Mac has been _upgraded_ to macOS Catalina (10.15), please read [macOS_Catalina.md](macOS_Catalina.md).
|
||||
|
@ -65,7 +65,7 @@ Install tools and configuration manually:
|
|||
### Configuring Python Dependency
|
||||
|
||||
`node-gyp` requires that you have installed a compatible version of Python, one of: v2.7, v3.5, v3.6,
|
||||
or v3.7. If you have multiple Python versions installed, you can identify which Python
|
||||
v3.7, or v3.8. If you have multiple Python versions installed, you can identify which Python
|
||||
version `node-gyp` should use in one of the following ways:
|
||||
|
||||
1. by setting the `--python` command-line option, e.g.:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue