PyCharm terminal does not use venv, but "Python Console" does
Solution 1:
Turned out the error is in the blacked-out path: One of the folders contains special characters in its name. And although spaces and hyphens are generally not a problem, it's a different story for non-ASCII characters like German umlauts. Apparently, PyCharm can handle them - but not venv
.