Skip to content

Commit

Permalink
Doc: Add OSX FAQ
Browse files Browse the repository at this point in the history
  • Loading branch information
gmuloc committed Feb 7, 2024
1 parent 850fd90 commit 4f33691
Showing 1 changed file with 15 additions and 3 deletions.
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).

0 comments on commit 4f33691

Please sign in to comment.