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
1 answer

UnicodeDecodeError in PyCharm debugger

Its a reference to UnicodeDecodeError while using cyryllic . I have same problem with Python 3.3 and Pycharm 2.7.2 Tryed to hardcode encoding in code, manually specifying encoding in Pycharm options, but no effect. It still tries to open utf-8 file…
Alex T
  • 489
  • 1
  • 6
  • 9
7
votes
3 answers

Autocomplete for OpenCV-Python in Windows not working

I cannot get autocomplete working for OpenCV (Python) on Windows. According to Abid's instructions here, I pasted the cv2.pyd file in the C:\Python27\Lib\site-packages. In the Python code, I import as follows: import cv2.cv as cv I have also…
ApoorvaJ
  • 830
  • 1
  • 7
  • 24
7
votes
2 answers

ImportError: No module named 'com.android'

I'm writing a simple test for Android app and it fails while trying to connect my device with this log: Traceback (most recent call last): File "D:/MonkeyRunnerTest/test/LaunchTest.py", line 3, in from com.android.monkeyrunner import…
7
votes
4 answers

How to find undocumented methods in my code?

I am writing documentation for a project and I would like to make sure I did not miss any method. The code is written in Python and I am using PyCharm as an IDE. Basically, I would need a REGEX to match something like: def method_name(with,…
Ciprian Tomoiagă
  • 3,773
  • 4
  • 41
  • 65
7
votes
2 answers

Pycharm - How do I access the "Watches" pane?

I'm somewhat new to Pycharm, and I suppose this should be an easy question, but I'm not finding the answer anywhere... The Pycharm documentation has instructions for adding/editing items in the Watches pane, but the documentation assumes the Watches…
Troy
  • 21,172
  • 20
  • 74
  • 103
7
votes
4 answers

Running Django with Run can not find LESS CSS

I have a Django project that uses buildout. When running or debugging the application it runs fine by using my buildout script. I also use django-compressor to compress and compile my LESS files. I installed LESS server side with node and you can…
pistacchio
  • 56,889
  • 107
  • 278
  • 420
7
votes
2 answers

How do I find my project name in a Django project?

I have a pycharm project and, presumably, a Django project. Perhaps they are one and the same, perhaps not - I'm unsure as to the distinction. Anyway, in my settings.py file (which is in the root of project directory, which is what I presume is my…
bharal
  • 15,461
  • 36
  • 117
  • 195
7
votes
2 answers

PyCharm highlight occurrences

In eclipse, when i click on a variable with the mouse (you know, the cursor is somewhere in the variable name), eclipse is useful enough to highlight all other occurrences of that variable in the file. I assume pycharm has this, but have no idea how…
bharal
  • 15,461
  • 36
  • 117
  • 195
6
votes
1 answer

Using virtualenv in Pycharm as Django IDE

Please help me on this. I am doing this on Fedora 16. My virtual environment is /home/username/Desktop/.pythonenv Now, notice the dot. Because it is a hidden directory, I had to make a symbolic link in order to for Pycharm to "enter" the…
CppLearner
  • 16,273
  • 32
  • 108
  • 163
6
votes
3 answers

How to use PyCharm in 32 bit mode

There is a way to run Pycharm in 32bit mode for reducing memory consumption. Where can I set that. (Pycharm has documented this, but I can't find the google phrase to get me to that page.)
shabda
  • 1,668
  • 1
  • 18
  • 28
6
votes
2 answers

Using the emacs bindings in pycharm in OS X Lion

I am trying to use the emacs keybindings in Pycharm 1.5 in OS X 10.7. They all work except that ALT+B inserts a beta symbol rather than moving back a word. It's puzzling since ALT+F does correctly move forward a word. Also, I was wondering if…
lolball
  • 111
  • 1
  • 5
6
votes
0 answers

How to accept only the next word in PyCharm GitHub copilot suggestion

I would like to be able to accept only the next word of a github Copilot suggestion instead of the full suggestion. This is possible with VS Code as documented here. Is there a way to do this in PyCharm too?
Corram
  • 233
  • 1
  • 3
  • 13
6
votes
0 answers

pycharm syntax error for correct sqlalchemy code?

I'm getting a sytax error for the following statement, the problem section being (Player.name == data["name"]) | (Player.account == data["account"])): player_from_db = db.session.execute(select(Player).where((Player.name == data["name"]) |…
am1234
  • 93
  • 1
  • 9
6
votes
2 answers

Error setting up Docker Compose interpreter in PyCharm: 'executable file not found in $PATH: unknown

I am trying to set up a Django project in PyCharm on Ubuntu and configure the Docker Compose interpreter. However, when I try to create the interpreter (Step 6), I get the following error: Error response from daemon: failed to create shim task: OCI…
Nori
  • 2,340
  • 1
  • 18
  • 41
6
votes
0 answers

PyCharm showing "Download grammar and spelling checker for Asturian"

PyCharm has recently started showing me a suggestion to download spell checker for Asturian. What is this Asturian? I couldn't find anything useful with a simple Google search. PS: I use PyCharm to write deep learning code in Python.
Nagabhushan S N
  • 6,407
  • 8
  • 44
  • 87