tensorflowをnpm iする時にでたエラー
node-pre-gyp install failed with error: Error: Command failed: node-pre-gyp install --fallback-to-build
...
ValueError: invalid mode: 'rU' while trying to load binding.gyp
npmのconfigをpython3に変えたら治った
npm config set python /usr/bin/python3
![]() |
