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

doc: Add OSX FAQ #558

Merged
merged 1 commit into from
Feb 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' modu

This error arises due to a compatibility issue between `urllib3` v2.0 and older versions of OpenSSL.

### How can I resolve this error?
#### How can I resolve this error?

1. _Workaround_: Downgrade `urllib3`

Expand All @@ -42,14 +42,26 @@ AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'

The error is a result of incompatibility between `cryptography` and `pyopenssl` when installing `asyncssh` which is a requirement of ANTA.

### How can I resolve this error?
#### How can I resolve this error?

1. Upgrade `pyopenssl`

```bash
pip install -U pyopenssl>22.0
```
---

## `__NSCFConstantString initialize` error on OSX

This error occurs because of added security to restrict multithreading in macOS High Sierra and later versions of macOS. https://www.wefearchange.org/2018/11/forkmacos.rst.html

#### How can I resolve this error?

1. Set the following environment variable

```bash
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
```

## Still facing issues?

If you've tried the above solutions and continue to experience problems, please report the issue in our [GitHub repository](https://github.com/arista-netdevops-community/anta).
Loading