Category "pycharm"

kivy doesn't show window

i use this code, and run it on py charm import kivy from kivy.app import App from kivy.uix.label import Label class MyApp(App): def build(self): r

PyCharm error: Cannot run program, error=2, No such file or directory

I am getting the following error message when attempting to execute Python code in PyCharm: Cannot run program "/Users/x/.virtualenvs/untitled/bin/python" (in

PyCharm error: Cannot run program, error=2, No such file or directory

I am getting the following error message when attempting to execute Python code in PyCharm: Cannot run program "/Users/x/.virtualenvs/untitled/bin/python" (in

Profiling a python program with PyCharm (or any other IDE) [closed]

I'm running a relatively complex python program and in it there is a montecarlo simulation which takes up most of the time. I would like to fi

Pycharm: "No Python interpreter configured for the project" everytime

Every time I open PyCharm I get this message: No Python interpreter configured for the project. So I set the interpreter, everything works fine, then I close

How to reorder methods in PyCharm

Is there a way to change the order of methods in PyCharm? I would expect a dialog similar to that for changing the order of parameters in a function call, but I

Is it possible in Pycharm to map a tab to produce 4 spaces. If so how? [duplicate]

this is my first time using an IDE. I was wondering if its possible, as I've done in vim with imap, to make it so that when I press tab 4 spa

Pycharm : not displaying files on the left

I used to have my files on the pycharm box on the left of my window, like that : but now Pycharm displays it under the list of directory : I can't change

No warning at undefined variables in PyCharm Community 2017.2 [duplicate]

I have this piece of code in a Python module open in PyCharm Community Edition 2017.2. class Sample(object): def __init__(self):

Pycharm External tools relative to Virtual Environment

Using the PyCharm IDE, when setting up an external tool, how can you set up the external tools with a path relative to use the current virtual env defaults.? A

OSError: [Errno 22] Invalid argument: 'D:\\pyCHram\\<input>'

I use ‘ProcessPoolExecutor’ to handle some data on PyCharm,but i get this error:"OSError: [Errno 22] Invalid argument: 'D:\pyCHram\'"。

How do I get each python import on a different line when using Alt+Enter to magically import in Pycharm?

Currently if i do Alt+Enter on a function in a different module which isn't imported yet it simply adds it to a an existing import line. Say I have: from my_p

Pycharm's code style inspection: ignore/switch off specific rules

I'm trying to import existing project into PyCharm. I can refactor the code so that PyCharm will be pleased, but we like to have spaces around colons in diction

Tensorflow Keras Dataset Filepath within PyCharm

I have seen this question and the answer. This doesn't help. I have MAC environment. Used Anaconda. And there is no .Keras folder under users directory. I was

Matplotlib chart does not display in PyCharm

I run the following code in PyCharm 3.4.1, and it highlighted %matplotlib inline showing syntax error, and I delete the first line, and run, I expect it will pr

Why does PyCharm give unresolved reference errors on some Numpy imports?

The following line in PyCharm is flagged by on-the-fly inspection with unresolved reference errors for each import. (They are underlined red.) from numpy impor

PyCharm with Pyenv

How to use Pyenv virtualenv's with Pycharm 2016.3? In the earlier version of Pycharm, I could easily set up local interpreter to point anything installed on my

PyCharm how to adjust gutter width?

The other day I mis-clicked on and mis-dragged something probably and then the left "side bar" of the editor window got wider than normal. Since this happened

PyCharm warns about unexpected arguments for SQLAlchemy User model

I'm working with Flask-SQLAlchemy in PyCharm. When I try to create instances of my User model by passing keyword arguments to the model, PyCharm highlights the

Compare two Python methods in PyCharm

I've recently switched from Eclipse to PyCharm, and I wonder if PyCharm can compare two methods to each other, like Eclipse can. So far, my searching has failed