TresAmigosSD / SMV

Spark Modularized View
Apache License 2.0
42 stars 22 forks source link

add `--user` option during pip install for publish_to_pypi #1544

Closed cloudysail closed 5 years ago

cloudysail commented 5 years ago

We have publish_to_pypi which calls python -m pip install twine wheel during SMV release. This will have the following error when I execute the command directly:

Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/bin/pygmentize'
Consider using the `--user` option or check the permissions.

Also there is suggestion to use --user option in https://packaging.python.org/guides/making-a-pypi-friendly-readme/