From 821299e7a678e5766940f24dfce0a12c42849ae2 Mon Sep 17 00:00:00 2001 From: apTalya <99441958+apTalya@users.noreply.github.com> Date: Wed, 18 May 2022 18:35:23 -0700 Subject: [PATCH] chore: update Readme with python note + package version update (#486) Signed-off-by: Nastya Rusina Co-authored-by: Nastya Rusina --- README.md | 18 ++++++++++++++++++ package.json | 4 ++-- packages/zapp/console/package.json | 2 +- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 94feea813..0b35c4583 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,24 @@ For help with installing dependencies look into 4. Explore your local copy at `http://localhost:3000` +### Note: Python errors with OSX + +Recently OSX (12.3) removed python 2.7 from default installation and this can cause build errors for some users depending on it's setup. In this repository you can experience `env: python: No such file or directory` error from gyp ([node-gyp](https://github.com/nodejs/node-gyp)). +The easiest way to fix it: + +- Install the XCode Command Line Tools standalone by running `xcode-select --install` in the terminal + +OR + +``` bash + brew install python # install python with brew + which python # check if python path is properly defined + # if path not defined + where python3 + # Take the version and location from above and run this command (replacing `/usr/bin/python3` with the location of your python instalation). This will symlink python to python3 + ln -s /usr/bin/python3 /usr/local/bin/python +``` + ### Environment Variables * `ADMIN_API_URL` (default: [window.location.origin](https://developer.mozilla.org/en-US/docs/Web/API/Window/location>)) diff --git a/package.json b/package.json index 694d1008c..1567e0af1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "flyteconsole", - "version": "1.1.0-rc1", + "version": "1.1.0", "private": true, "description": "The web UI for the Flyte platform", "repository": { @@ -72,4 +72,4 @@ "@babel/preset-react": "~7.16.7", "@babel/preset-typescript": "~7.16.7" } -} \ No newline at end of file +} diff --git a/packages/zapp/console/package.json b/packages/zapp/console/package.json index 678cb3552..e34a1d523 100644 --- a/packages/zapp/console/package.json +++ b/packages/zapp/console/package.json @@ -1,6 +1,6 @@ { "name": "@flyteconsole/client-app", - "version": "1.1.0-rc1", + "version": "1.1.0", "description": "The web UI for the Flyte platform", "repository": { "type": "git",