pip --version
./node_modules/.bin/pip: line 1: syntax error near unexpected token ('
./node_modules/.bin/pip: line 1:
var freckle = require('freckle')
I have already reinstalled Python and whenever I try and use the pip command this comes up. Any help would be awesome!
Do sudo pip install
. You might have other installed tools that are imposing on the install, such as homebrew.
This is not python's pip. A nodejs module exposes an executable with
the same name. You may want to use python -m pip install
to install
python packages.
Provided by @cel