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
6
votes
3 answers

Is it possible to SSH in AWS instances using any IDEs such PYCHARM?

I am stuck in a technical issue on a project and I think you the forum could help me out. I have an EC2 Instance Type:p2.xlarge running on AWS, I cloned a repository in this instance which requires pytorch and cuda dependencies(this point has been…
Anu
  • 3,198
  • 5
  • 28
  • 49
6
votes
2 answers

How to enable code completion for a dictionary from method in Python?

I am using Python 3.6 with PyCharm and it's kind of frustrating that there's no support for code completion for special cases of dictionary objects (with fixed key schema). Say for example I create and try to access a simple dictionary object like…
rv.kvetch
  • 9,940
  • 3
  • 24
  • 53
6
votes
2 answers

How to swap CTRL/CMD for all of my shortcuts?

I'm using Emacs mode for keymap in PyCharm, except in Emacs I'm used to swaps CMD with CTRL. This is setting is enabled in Emacs with (setq mac-command-modifier 'control) Is there some way to swap CMD/CTRL keys in my Emacs PyCharm keymap that is…
Yaroslav Bulatov
  • 57,332
  • 22
  • 139
  • 197
6
votes
1 answer

How to view the implementation of python's built-in functions in pycharm?

When I try to view the built-in function all() in PyCharm, I could just see "pass" in the function body. How to view the actual implementation so that I could know what exactly the built-in function is doing? def all(*args, **kwargs): # real…
Luk Aron
  • 1,235
  • 11
  • 34
6
votes
1 answer

PyCharm: Reformat code breaks django template

If I run "reformat code" PyCharm changes this line: {% ajax_dialog_opener url=duplicate_url|add:'?hide_messages=true' reload_on_success=False label='FoooBaar' dialog_title='Foo foo baaar' type='link' After reformat code: {%…
guettli
  • 25,042
  • 81
  • 346
  • 663
6
votes
2 answers

Pycharm: Is there a way to save a break point state and debug going forward?

When debugging a code in Pycharm is there a way to save current state before proceeding forward? That way I do not have to re-process everything that was already debugged if there is a bug downstream. Thanks
dozyaustin
  • 611
  • 1
  • 6
  • 20
6
votes
2 answers

Debugging not running on PyCharm for my Django project

I am not able to run with debug option for my Django project after an recent update of PyCharm. The last line of stacktrace gives error Process finished with exit code 134 (interrupted by signal 6: SIGABRT) the first few lines of stacktrace gives…
Aishwary Dhare
  • 509
  • 1
  • 6
  • 18
6
votes
1 answer

Disable auto {} insertion for React props in PyCharm

When I type props into my React component in PyCharm, it automatically inserts a pair of curly braces. Like so (cursor position is |):
valignatev
  • 6,020
  • 8
  • 37
  • 61
6
votes
1 answer

python3 import issue on PyCharm

I'm annoyed about the import logic when I write Python3 code in PyCharm Community Edition, Below is my structure. project ├── orm.py ├── app.py ├── coroweb.py in app.py, I import orm use below codes. from . import orm from .coroweb import xxx It…
red_herring
  • 157
  • 2
  • 7
6
votes
4 answers

How to Install a Package in PyCharm when project interpreter is set to conda, and the package is not provided/listed by conda?

I installed pycharm on my computer. I set the project interpreter to acaconda3/bin/python because that is the python3 interpreter I used on my computer before installing pycharm. I was able to install all packages I need using pycharm's package…
Semihcan Doken
  • 776
  • 3
  • 10
  • 23
6
votes
2 answers

How do I export a TensorFlow model as a .tflite file?

Background information: I have written a TensorFlow model very similar to the premade iris classification model provided by TensorFlow. The differences are relatively minor: I am classifying football exercises, not iris species. I have 10 features…
6
votes
1 answer

Process finished with exit code -1073740791 (0xC0000409) pycharm error

I am trying to use fastText with PyCharm. Whenever I run below code: import fastText model=fastText.train_unsupervised("data_parsed.txt") model.save_model("model") The process exits with this error: Process finished with exit code -1073740791…
user9857589
  • 61
  • 1
  • 1
  • 2
6
votes
7 answers

Error running 'filename'. The system cannot find the file specified (PyCharm)

I have a PyCharm project on my Windows, where I am able to run most .py files by pressing Ctrl + Shift + F10 (or running the debugger). In one of the files however I get the error Error running 'test': Cannot run program …
Toke Faurby
  • 5,788
  • 9
  • 41
  • 62
6
votes
2 answers

Importing matplotlib.pyplot fails in PyCharm due to AttributeError: module 'PyQt5.QtGui' has no attribute 'QApplication'

I wanted to change my python compiler to "newer" one (within one project) and use some additional packages with conda. After the installation all my packages worked fine and I could use the console, however matplotlib.pyplot fails to import since…
Anna Semjén
  • 787
  • 5
  • 14
6
votes
2 answers

Pycharm "unresolved reference" on join of os.path

After upgrade pycharm to 2018.1, and upgrade python to 3.6.5, pycharm reports "unresolved reference 'join'". The last version of pycharm doesn't show any warning for the line below: from os.path import join, expanduser May I know why? (I used…
Liu Yong
  • 515
  • 5
  • 16
1 2 3
99
100