Questions tagged [pycharm]

PyCharm is an integrated development environment (IDE) for Python. It is developed by JetBrains for Windows, Mac OS X and Linux. DO NOT use this tag on questions regarding code which merely happens to be written using PyCharm, use the appropriate language tag [python] instead.

PyCharm is an integrated development environment (IDE) for Python, developed by JetBrains. It is available on Windows, OS X and Linux.

It provides support for common Python frameworks such as Django, Flask, Pyramid and others.

Starting with version 3, a free and open-source edition of PyCharm was released; along with a professional (paid) edition.

If you have found a bug, it is usually better to report it at the public bug tracker.

For more information, browse the following:

  1. The official product page.
  2. The public bugtracker.
  3. Product blog.
  4. Support page.
16686 questions
7
votes
2 answers

can't import is_secure_transport

I am using TwitterAPI of python(ubuntu+pycharm). I install TwitterAPI by "pip install networkx TwitterAPI". I just import TwitterAPI as follows: from TwitterAPI import TwitterAPI When I execute the python file ,there is a mistake as follows: File…
fhlkm
  • 333
  • 1
  • 6
  • 14
7
votes
1 answer

Using nosetests in PyCharm having python 2 and 3 installed side by side

I am trying to use nosetest with python 2 and 3 isntalled side by side in PyCharm (2.7.3). Everything works fine under python 2.7, but any test in python 3.4 fails with the following error: Traceback (most recent call last): File…
SmCaterpillar
  • 6,683
  • 7
  • 42
  • 70
7
votes
2 answers

PyCharm warning about 'not callable'

I write a rule engine with a parameter 'matcher', which could be a string, an Regular expression, or an function. When I test and use this matcher: if hasattr(self.matcher, '__call__'): # 函数 match_this_rule =…
YeRuizhi
  • 953
  • 8
  • 12
7
votes
2 answers

PyCharm - autocomplete for Gtk3 magically stops working

I have this weird problem - I'm learning Gtk3 on Windows 7 with PyCharm Community 3.4.1. When I try to import Gtk: from gi.repository import Gtk it underlines Gtk as unresolved reference, becouse it's a binary module. Then I press Alt+Enter and…
DiPi
  • 99
  • 1
  • 7
7
votes
5 answers

View runs in split mode in PyCharm

I'm running Python, zmq code for a server and a client. I would like to see the runs(console messages) in a side-by-side mode (split mode) for better analysis of the interaction between the two. It has the "split" mode between "Run" and "Terminal"…
flamenco
  • 2,702
  • 5
  • 30
  • 46
7
votes
2 answers

Configuring an Existing Django Project on Pycharm

I´m starting to use Django with Pycharm IDE and have succesfully configured my first project. However, I tried to add a new existing project to Pycharm and when trying to change the Run Configuration to use the manage.py of my…
Pablo Estrada
  • 3,182
  • 4
  • 30
  • 74
7
votes
4 answers

PyCharm doesn't recognize my Python installation path

This is the same question as this else but for Python. The thing is that I've built my own installer package of Python interpreter (I've added modules and extras) and once installed I can't find the way to set the location of my custom Python…
ElektroStudios
  • 19,105
  • 33
  • 200
  • 417
7
votes
2 answers

Ran Pycharm debug which ended with exit code -1

Just a quick question but I ran Pycharm debug on a lengthy series of test scripts and the end result was: "Process finished with exit code -1" I was just wondering what this means given that exit code 0 is a pass and exit code 1 is a fail. (is it…
thewellis
  • 175
  • 2
  • 2
  • 6
7
votes
1 answer

Ruby syntax highlighting in PyCharm?

I love PyCharm, but can't seem to find a way to enable Ruby syntax highlighting. I know about RubyMine, but I'm not going to purchase a license just for this basic functionality. Is it possible to add Ruby syntax highlighting in PyCharm?
garnertb
  • 9,454
  • 36
  • 38
7
votes
4 answers

How to debug SCons script

I have a SCons script that I need to debug. Somewhere down inside of everything that is happening, I have a problem and I need to find out where it is going bad. I'd like to debug the SCons script, but I'm not sure how to get it set up. I have both…
jlconlin
  • 14,206
  • 22
  • 72
  • 105
7
votes
3 answers

PyCharm Python 3.4 issue: unresolved reference

I have a problem with my PyCharm. After I updated Python from 3.3.5 to 3.4, I have an annoying error in PyCharm of the following form: from multiprocessing import Queue, Process PyCharm underlines Queue and Process in red and shows an unresolved…
Sterbic
  • 213
  • 5
  • 15
7
votes
2 answers

Send EOF to PyCharm console in Windows

I'm learning PyCharm IDE on Windows. How can I send end-of-file signal to it's debugging console? CTRL+Z does not work.
ptkvsk
  • 2,096
  • 1
  • 25
  • 47
7
votes
1 answer

Run Django doctests from PyCharm

PyCharm's test runner does a great job with unit tests, likewise the run command contextually recognizes if you are in a unit test in a helpful way. Is there any way to get it to do the same with doctests running within the Django environment? (As…
Ghopper21
  • 10,287
  • 10
  • 63
  • 92
7
votes
1 answer

PyCharm & IronPython Codecompletion?

I have PyCharm 3.0 installed for Windows and installed IronPython 2.7.4 installed. But it appears that i am not able to get references and it wont recognize .net classes to some degree. Let me give you a simple example: import…
Orbital
  • 137
  • 3
  • 10
7
votes
1 answer

How to skip preview window when refactoring through Shift+F6

I am working with PyCharm 3.0.1. When trying to refactor literals with Shift+F6 and pressing Refactor button i am forwarded to preview window where i have to click Refactor button with a mouse to actually apply refactoring. Is there any way to skip…
singleton
  • 326
  • 2
  • 13