Closed mapy1874 closed 3 years ago
If you haven't already, install Xcode's command-line tools (xcode-select --install
)
If you already have, you could try reinstalling them:
xcode-select --print-ath
sudo rm -r -f /Library/Developer/CommandLineTools
xcode-select --install
What version of Python are you on?
node-pre-gyp WARN Using request for node-pre-gyp https download
File "<string>", line 1
import sys; print sys.byteorder
^
SyntaxError: invalid syntax
gyp: Call to 'python -c "import sys; print sys.byteorder"' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
I'm trying to run the following command but it failed. I'm using macOS Catalina 10.15.5
I've tried running
sudo npm install -g node-gyp
but it did not work In the terminal it prompted:Here is the log