pyicloud
pyicloud copied to clipboard
unrecognized arguments: --store-in-keyring
The problem
Missing or gone command line option for icloud unrecognized arguments: --store-in-keyring
Environment
- pyiCloud release with the issue (
pip show pyicloud
): Version: 0.10.2 - Last working pyiCloud release (if known):
- Service causing this issue: command line
- Python version (
python -V
): Python 3.9.1 - Operating environment (project deps/Docker/Windows/etc.): macOS
Traceback/Error logs
api = PyiCloudService("[email protected]")
Traceback (most recent call last):
File "/Users/test/PycharmProjects/icloud/main.py", line 119, in <module>
print_icloud('PyCharm')
File "/Users/test/PycharmProjects/icloud/main.py", line 17, in print_icloud
api = PyiCloudService("[email protected]")
File "/Users/test/PycharmProjects/icloud/venv/lib/python3.9/site-packages/pyicloud/base.py", line 214, in __init__
password = get_password_from_keyring(apple_id)
File "/Users/test/PycharmProjects/icloud/venv/lib/python3.9/site-packages/pyicloud/utils.py", line 39, in get_password_from_keyring
raise PyiCloudNoStoredPasswordAvailableException(
pyicloud.exceptions.PyiCloudNoStoredPasswordAvailableException: No pyicloud password for [email protected] could be found in the system keychain.
Use the `--store-in-keyring` command-line option for storing a password for this username.
Process finished with exit code 1
Then I try
icloud [email protected] --store-in-keyring
and get
icloud: error: unrecognized arguments: --store-in-keyring
Same problem here.