The SDK seems invalid error

Hi there !

Here's my problem. I'm on windows with a map drive pointing on an Ubuntu server (X:/). I'm trying to work with PyCharm (on Windows) on the Linux server. The connexion is O.K for modifying the files.

The problem comes when I try to change the Python Interpreter in PyCharm for the one of my Virtual-Env (on the Linux server). I always get the error:

Cannot set up a python SDK

at: X:\public_html\project\virtual-env\bin\python2.7.

The SDK seems invalid.

Does anybody have an idea about this ? I'm am trying to do somethin impossible here ? I am doing it wrong ?

5 comments

Hello yann,

PyCharm needs to be able to run the Python interpreter that you have specified.

Obviously it is not possible to run a Linux binary on a Windows machine.

You should configure a similar virtualenv on your Windows machine and use

that for the development.

Hi there !

Here's my problem. I'm on windows with a map drive pointing on an

Ubuntu server (X:/). I'm trying to work with PyCharm (on Windows) on

the Linux server. The connexion is O.K for modifying the files.

The problem comes when I try to change the Python Interpreter in

PyCharm for the one of my Virtual-Env (on the Linux server). I always

get the error:

Cannot set up a python SDK

at: X:\public_html\project\virtual-env\bin\python2.7.

The SDK seems invalid.

Does anybody have an idea about this ? I'm am trying to do somethin

impossible here ? I am doing it wrong ?

---

Original message URL:

http://devnet.jetbrains.net/message/5442876#5442876

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0

Thanks for the quick answer ! It makes sense. I didn't see it this way.

0
Is there a known way to do this with Cygwin on Windows 7? I've created a virtualenv in my Cygwin homedir, but I get "The SDK seems invalid" when I point PyCharm at either 'python' (a symlink) or 'python2.7' (probably still a wrapper as it's 8723 bytes, but not a symlink) in /home/myhome/venv/bin/.
0
As far as I am aware PyCharm on Windows does not support the Cygwin version of Python. You have to use a 'standard' version of Python.
0
I've voted for this issue, for anyone else who wants to vote for cygwin support in PyCharm: http://youtrack.jetbrains.com/issue/PY-13229
0

Please sign in to leave a comment.