prastut / bubble-frontend

Bubble Social
https://bubble.social/
0 stars 0 forks source link

Python Version #52

Closed harwee closed 6 years ago

harwee commented 6 years ago

npm install --python=python2.7

Use Python 3.6 for all use cases which require Python

harwee commented 6 years ago

If you get node-gyp errors in installation, check the error log. Most probably your default python environment flag has been changed to v3 instead of 2.7. JsDOM (one of the dev dependencies) has an internal dependency on node-gyp which requires python2.7 to compile. Run the following to ensure proper installation:

My default Python Version is 3.6 and it compiled fine enough I guess,

prastut commented 6 years ago

It was an explicit error inside my installation therefore mentioned it.

harwee commented 6 years ago

Wont be a problem I guess, if it didn't compile with 3 for you, just use 2, this is a stupid issue though.