flypenguin / okta-cli

A command line interface to Okta
MIT License
41 stars 12 forks source link

Unable to install Okta-CLi #25

Open kam-git-rep opened 6 months ago

kam-git-rep commented 6 months ago

I followed your brew install and received the following error message:

`Last 15 lines from /Users/JohnDoe/Library/Logs/Homebrew/okta-cli/10.python3.10:

note: This error originates from a subprocess, and is likely not a problem with pip. full command: /opt/homebrew/Cellar/okta-cli/18.0.4/libexec/bin/python /opt/homebrew/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py get_requires_for_build_wheel /private/tmp/tmp7muom6x9 cwd: /private/tmp/okta-cli--PyYAML-20240209-54334-9u4l7i/PyYAML-6.0 Getting requirements to build wheel: finished with status 'error' error: subprocess-exited-with-error `

My machine is currently running python version 3.10.13

tanng1999 commented 3 months ago

I also have error when I try to reinstall okta-cli. okta-cli was working before until today.

I use pipx 1.5.0 with python Python 3.10.10.

I got this error message.

pipx install okta-cli --python $(which python)
Fatal error from pip prevented installation. Full pip output in file:
    /Users/<my-name>/.local/pipx/logs/cmd_2024-05-17_11.08.26_pip_errors.log

Some possibly relevant errors from pip install:
    ERROR: Could not find a version that satisfies the requirement okta-cli (from versions: none)
    ERROR: No matching distribution found for okta-cli

Error installing okta-cli.

Does anyone experience similar issue? Thanks.

tanng1999 commented 3 months ago

I have fixed my issue.

The pip_error.log file shows some issue with SSL in Python.

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.

I have reinstalled Python and Okta-CLI.

pyenv uninstall 3.10.10
pyenv install 3.10.10
pyenv global 3.10.10
pipx install okta-cli --python $(which python)