Смотреть видео: python - How to set environment variables in PyCharm? - Stack Overflow