menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Parcel

📦🚀 Blazing fast, zero configuration web application bundler

Channels
Team

Which version of Python?

April 15, 2021 at 7:42am

Which version of Python?

April 15, 2021 at 7:42am
Hi everyone, just getting started to debug a problem I'm having with Parcel.
I've just ran "yarn install" for the first time and it's bombing out because I don't have Python installed.
Just wondering which version of Python should I install?

April 15, 2021 at 8:55am
Ok looks like it's Python 2 that's need to compile dependencies.
Now it looks like Visual Studio or something is required to compile the deasync dependency.
Did anyone else have to install Python 2 and Visual Studio or other build tools to get the deasync dependency to build during "yarn install" ?
I installed the VS build tools from here: https://github.com/nodejs/node-gyp
If you follow the link to the VS Code builds tools from Node-gyp you actually end up with the 2019 version which doesn't work!
But you can get the 2017 version through chocolatey: https://community.chocolatey.org/packages/visualstudio2017buildtools
Still getting errors.
I'm running "yarn install" in the Developer Command Prompt for VS 2017.
This might be the main error:
KeyError: '2017' gyp ERR! configure error
I had run this command "npm config set msvs_version 2017" as per the Node-gyp instructions.
Think I'm done anyway. Was really hoping to get some understanding into why Parcel is hanging for my project.
But I'm not sure it's worth the amount of time I'm sinking into getting this setup for debugging.