hyperledger-archives / indy-sdk

indy-sdk
https://wiki.hyperledger.org/display/indy
Apache License 2.0
668 stars 735 forks source link

Python Wrapper #1016

Closed andrewBSTan closed 6 years ago

andrewBSTan commented 6 years ago

Dear Community,

Been trying out the Python wrapper and have been following the steps found in https://github.com/hyperledger/indy-sdk/blob/master/wrappers/python/README.md

However, have gotten the below error when trying to pip install python3-indy. Any idea why?

Andrews-Air:indy-sdk andrewtan$ pip install python3-indy Collecting python3-indy Collecting pytest-asyncio (from python3-indy) Collecting base58 (from python3-indy) Using cached https://files.pythonhosted.org/packages/e8/e0/4205c9203ff14a40ff4ce70e375b3dbc4c39426cb7a2f84179734e2c6e28/base58-1.0.0-py2-none-any.whl Collecting pytest (from python3-indy) Using cached https://files.pythonhosted.org/packages/9e/a1/8166a56ce9d89fdd9efcae5601e71758029d90e5644e0b7b6eda07e67c35/pytest-3.7.0-py2.py3-none-any.whl Collecting atomicwrites>=1.0 (from pytest->python3-indy) Using cached https://files.pythonhosted.org/packages/0a/e8/cd6375e7a59664eeea9e1c77a766eeac0fc3083bb958c2b41ec46b95f29c/atomicwrites-1.1.5-py2.py3-none-any.whl Collecting more-itertools>=4.0.0 (from pytest->python3-indy) Using cached https://files.pythonhosted.org/packages/fb/d3/77f337876600747ae307ea775ff264c5304a691941cd347382c7932c60ad/more_itertools-4.3.0-py2-none-any.whl Collecting py>=1.5.0 (from pytest->python3-indy) Using cached https://files.pythonhosted.org/packages/f3/bd/83369ff2dee18f22f27d16b78dd651e8939825af5f8b0b83c38729069962/py-1.5.4-py2.py3-none-any.whl Collecting attrs>=17.4.0 (from pytest->python3-indy) Using cached https://files.pythonhosted.org/packages/41/59/cedf87e91ed541be7957c501a92102f9cc6363c623a7666d69d51c78ac5b/attrs-18.1.0-py2.py3-none-any.whl Collecting funcsigs; python_version < "3.0" (from pytest->python3-indy) Using cached https://files.pythonhosted.org/packages/69/cb/f5be453359271714c01b9bd06126eaf2e368f1fddfff30818754b5ac2328/funcsigs-1.0.2-py2.py3-none-any.whl Requirement already satisfied: setuptools in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from pytest->python3-indy) (18.5) Collecting six>=1.10.0 (from pytest->python3-indy) Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl Collecting pluggy>=0.7 (from pytest->python3-indy) Using cached https://files.pythonhosted.org/packages/f5/f1/5a93c118663896d83f7bcbfb7f657ce1d0c0d617e6b4a443a53abcc658ca/pluggy-0.7.1-py2.py3-none-any.whl Collecting pathlib2; python_version < "3.6" (from pytest->python3-indy) Using cached https://files.pythonhosted.org/packages/66/a7/9f8d84f31728d78beade9b1271ccbfb290c41c1e4dc13dbd4997ad594dcd/pathlib2-2.3.2-py2.py3-none-any.whl Collecting scandir; python_version < "3.5" (from pathlib2; python_version < "3.6"->pytest->python3-indy) Installing collected packages: atomicwrites, six, more-itertools, py, attrs, funcsigs, pluggy, scandir, pathlib2, pytest, pytest-asyncio, base58, python3-indy Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/atomicwrites' Consider using the --user option or check the permissions.

andrewBSTan commented 6 years ago

Managed to find the workaround using --user