Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install Okta-CLi #25

Open
kam-git-rep opened this issue Feb 9, 2024 · 2 comments
Open

Unable to install Okta-CLi #25

kam-git-rep opened this issue Feb 9, 2024 · 2 comments

Comments

@kam-git-rep
Copy link

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
Copy link

tanng1999 commented May 17, 2024

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
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants