PyCharm interpreters

In PyCharm 2.1 Preview Early Access Link

We have a new feature: Remote interpreters - full integration with Python interpreters running on remote hosts;

How to use it?

I have 2 cars:

  • W7x64 ip 192.168.1.147 - pycharm 2.1
  • Ubuntu ip 192.168.1.4 - python, ssh, celery, django, etc. (vmware virtual machine)

In W7 Pycharm:

enter image description here

I am trying the code:

from celery.task import task @task def add(x, y): return x + y ssh:// echeg@192.168.1.4 :/usr/bin/python2.7 -u C:/Dropbox/my_py/opoveshun/tests/celery/tasks.py /usr/bin/python2.7: can't open file 'C:/Dropbox/my_py/opoveshun/tests/celery/tasks.py': [Errno 2] No such file or directory 
+4
source share

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


All Articles