[Solved - sort of] SSL module is not available...

See my next comment to tell what I did…

I'm using PyCharm 2024.3.5 (Community Edition) on a macOS M3 processor running Sequoia 15.3.2.

Back in January, I used PyCharm to query an HTTPS server successfully. Today, I get an error message, “Can't connect to HTTPS URL because the SSL module is not available.”

I don't know what (relevant) thing might have changed. I have been running macOS 15.3 for the duration. I might have upgraded to 15.3.1 or 15.3.2 in the interim.

I have tried using pyenv to compile a new version of Python, but I'm getting stuck with an error (see below).

What other information could I provide? Many thanks.

```

pyenv install 3.7.4
pyenv: /Users/richb/.pyenv/versions/3.7.4 already exists
continue with installation? (y/N) y
python-build: use openssl from homebrew
python-build: use readline from homebrew
Installing Python-3.7.4...
python-build: use tcl-tk from homebrew
python-build: use readline from homebrew
python-build: use ncurses from homebrew
python-build: use zlib from xcode sdk

BUILD FAILED (OS X 15.3.2 using python-build 20180424)

Inspect or clean up the working tree at /var/folders/t7/txh6j62h8xjfkd0059b7m_k00000gn/T/python-build.20250403095419.42173
Results logged to /var/folders/t7/txh6j62h8xjfkd0059b7m_k00000gn/T/python-build.20250403095419.42173.log

Last 10 log lines:
checking size of _Bool... 1
checking size of off_t... 8
checking whether to enable large file support... no
checking size of time_t... 8
checking for pthread_t... yes
checking size of pthread_t... 8
checking size of pthread_key_t... 8
checking whether pthread_key_t is compatible with int... no
configure: error: Unexpected output of 'arch' on OSX
make: *** No targets specified and no makefile found.  Stop.

```

0

请先登录再写评论。