What is the structure of a valid Python SDK?

What is the minimum file and directory structure required for the "correct" Python SDK (2.7)?

Why am I asking:

I am trying to import virtualenv installed via Cygwin into PyCharm ID file location C:\cygwin64\home\MyUser\.virtualenvs\MyVirtualEnv\bin\python2.7. PyCharm crashes with the message "Cannot configure the python SDK in C: \ cygwin64 \ home \ MyUser \ .virtualenvs \ MyVirtualEnv \ bin \ python2.7. The SDK seems to be invalid." However, I can successfully import the global Cygwin Python interpreter located at C:\cygwin64\bin\python2.7.exe. Diff does not show the binary difference between the files, so I assume PyCharm does not find something elusive.

+4
source share

Source: https://habr.com/ru/post/1533252/


All Articles