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
0 answers

Any sensible ReST editor for Pycharm?

Without plugins, when editing ReST (rst) files in Pycharm with "Wrap on typing" option on (from Editor -> Code Style), lines wrap, which is not what you'd want (as described here https://snakeycode.wordpress.com/2015/01/22/pycharm-and-rst/) It seems…
zvezda
  • 1,223
  • 9
  • 16
7
votes
1 answer

Pycharm import does not recognize other files in the same module

Say, my project structure is as following: project_folder: __init__.py another_folder: __init__.py main_file.py other_file.py And main_file.py contains next code: import other_file as whatever PyCharm (PEP8) highlights this line as…
y.selivonchyk
  • 8,987
  • 8
  • 54
  • 77
7
votes
3 answers

JetBrains: How to watch the return value of a function?

I have a question about debugging mode in JetBrains IDEs (PyCharm, WebStorm, IntelliJ ..). Let's say I have a line in the code that looks like this: ....func1()...func2()...func3()... Several functinos are called in the same line, and none of…
CrazySynthax
  • 13,662
  • 34
  • 99
  • 183
7
votes
1 answer

PyCharm, how to change the font of the Quick Documentation window

I'm using PyCharm 2016.1 on windows 7 with its locale set to PRC-Chinese. In the Quick Documentation window, the first-2-lines look odd (some Chinese-SimSun font?). However, the last line is fine. How can I change the font of those odd…
caoanan
  • 554
  • 5
  • 20
7
votes
2 answers

Pycharm anaconda import tensor flow library issue

The following program works well under anaconda from command line interface (I am using Mac OS), but it has errors about cannot import/find tensorflow module from PyCharm (using Python 2.7). I already set Python interpreter to be anaconda in…
Lin Ma
  • 9,739
  • 32
  • 105
  • 175
7
votes
1 answer

Pycharm : How to forcefully stop a server if it is already running

Is there a way for me to tell pycharm that "start the debug server and if its already running then stop it and run it again"
James Franco
  • 4,516
  • 10
  • 38
  • 80
7
votes
3 answers

Cannot import from Python six library

Cannot import anything from six. Both of these lines yield errors: from six.moves.urllib.request import urlretrieve --> Unresolved reference "urlretrieve" from six.moves import cPickle as pickle --> Unresolved reference "cPickle" OSX 10.11.5.…
Ron Cohen
  • 2,815
  • 5
  • 30
  • 45
7
votes
1 answer

iPython notebook not working in Pycharm

I did exactly as the official guide told. For me I didn't have this window pop up when I click the Run button However, when I click the Run button it was just not working and showed a * in the bracket. In terminal: ipython notebook [I 21:25:20.940…
jinglei
  • 3,269
  • 11
  • 27
  • 46
7
votes
1 answer

Load environment variable from script in PyCharm

I have a script which executes python unit tests. What this script does is firstly prepare the PYTHONPATH variable and then executes the python unit tests. I now want to run my python tests in PyCharm, however I want to reuse the script which builds…
Vasil Daskalov
  • 121
  • 1
  • 7
7
votes
5 answers

Trying to clear/overwrite standard output using os.system('cls') in PyCharm does not work but prints a rectangle symbol

I'm trying to make a tic-tac-toe game in Python and I've run into a problem. As you can see on the picture it rewrites the playing board after input, what I want it to do is to clear the output and then rewrite the board. So instead of just…
Anton M
  • 81
  • 1
  • 1
  • 5
7
votes
2 answers

Pycharm (Jetbrains): Disable non-project files access dialog

This window pops up everytime I run pycharm and try to edit something (auto-loading the default project): https://www.jetbrains.com/help/idea/2016.1/non-project-files-access-dialog.html?origin=old_help How do I disable it?
Zohar Levi
  • 614
  • 6
  • 16
7
votes
2 answers

JetBrains IDEs scrolling on touchscreen

I'm having a problem scrolling in all the JetBrains IDEs (PyCharm, PhpStorm) using touch screen. I have a Dell XPS 15 with a touchscreen. When I try to scroll it just selects code. I have tried in regular Notepad and Notepad++ and there works as…
Samuel
  • 346
  • 1
  • 9
7
votes
2 answers

Pycharm shows "Unresolved reference" all of a sudden

I have no idea what I could have done but Pycharm now decides to claim that it doesn't know things like TaggedDocument or Doc2Vec although it worked an hour ago. This is my project structure: I can't remember doing anything that could have cause…
Stefan Falk
  • 23,898
  • 50
  • 191
  • 378
7
votes
1 answer

Pycharm fullscreen across 2 monitors: is this possible?

I am using pycharm, and my code is on the split screen. When I run debug, the debug/run window pops up and it is very distracting and cramps the amount of code I can look at while debugging...but I would like to keep it up, since I am going back…
Chris
  • 28,822
  • 27
  • 83
  • 158
7
votes
2 answers

Can't install python module: PyCharm Error: "byte-compiling is disabled, skipping"

I just installed PyCharm 5 for the first time and trying to get things working. I have a simple python script that tries to import pandas (import pandas as pd). It fails because the pandas isn't installed... So I go to install it and then get an…
Afflatus
  • 2,302
  • 5
  • 25
  • 40