Im a new python developer and my pycharm run button is faded out it is unclickable how can imake it come bach (version-2019.2)
Usually this happens while Pycharm is indexing.
Check if it's the case by looking at the status bar.
Try to reinstall pycharm and make sure your python path is correct saved in your computer system.
Related
Iv'e tried using my folder that I made in school in my own pc but I can't seem to start it as I am assuming that the path to my python3.9 in school and in my house is not the same place. I write these 2 commands:
.\env\Scripts\activate
python app.py
And then I get this back:
No Python at 'C:\Python\Python39\python.exe
I don't understand much in this field because its new to me. If you need another file or something to help me just tell me and I will add it.
Thank you for the help.
First, I would make sure you have Python installed. To do this, at a command prompt, just type 'python' and see if you get a current version.
One 1 of 3 things will happen:
You'll see this...meaning that IT IS installed.
Nothing will happen at all, because you don't have it installed.
Windows will automatically open up the Windows Store so that you can download Python to your computer.
Once it is installed, you need to make sure you have Python set as the language in VS Code.
You can click there and the menu bar at the top will have a drop-down so that you can select Python.
But it just sounds like you need to have Python installed in the first place. But try those things and if that doesn't work, I'll follow up and help get you going.
Use the following methods to choose an interpreter.
Ctrl+Shift+P --> Python:Select Interpreter
Choose the correct interpreter available
Installed PyCharm on the new windows10.
If i create a new project everything works ok - all buttons on the places.
But if i run ANY .py file associated with pycharm i see just the code and no Run or configure buttons. There is also no indexing\something bar at the bottom. I've waited for couple hours and nothing changed.
The same thing on new linux.
What am i doing wrong?
(i also can't rightclick the file cuz 'nothing here' appears)
as you can see - no buttons..?
SOLVED.
solution
1. Uninstall PyCharm 20.x.x
2. Install PyCharm 19.x.x
Seems you started PyCharm in the light edit mode (see https://blog.jetbrains.com/idea/2020/04/lightedit-mode/), try to run PyCharm first and then create project on top of your directory or just open this directory.
Pycharm associated all .py to edit, you will open the source code.
To run, try "right click" and search for "RUN" or click "CTRL+SHIFT+F10"
Here is a link to the jetbrain tutorial on how to open/hide a navigation bar.
Use the navigation bar
This is because when you install Pycharm and start with new scratch file, Pycharm doesn't know which file you want to run so you can see Run. To Run your script Right-Click in the space and then click on Run. After this you will get a Run button in the top-right of the corner.
Hope it helps!
I am trying out IntelliJ. I have installed the Python plugin, and IdeaVim.
I cannot navigate properly across Jupyter Notebook cells using hj. I mean, on normal mode, I cannot go to the next (or previous) cell, even if there is one, using hj.
Is there a way to do it without the mouse, possibly rebindable? I have read the tutorial and tried to find something in the program, but could not.
Ideavim plugin doesn't seem to support Pycharm's notebook implementation as of right now :(
There's an open issue marked as "bug" on Ideavim's issue tracker that was opened back in 2015 and it seems like it doesn't have any progress made since.
However according to the comment in the issue thread you can:
funny way to get into the command mode is type something so that the suggestion panel appears, now press "esc" you will get into Vim command mode
So this might indicate that this could be solved and updated in the future.
As an alternative you can try out jupyter-vim-binding, however it doesn't work with Pycharm either.
So, recently I was using the Python theme function for the IDLE program itself. I downloaded three themes and built my own one, which is selected now. The problem is, I forgot to set colours for the blinker and highlighting, which is hugely problematic. When I went to see if I could change back to the default setting, Python IDLE simply froze up when I selected 'Configure IDLE' under options. I can still scroll through the file, attempt to close the window and minimise it etc, but it has just frozen up. I can't close it or continue working with the file. I've removed Python and then reinstalled it but that hasn't worked, should I just manually delete the themes and force IDLE to use the original one, or is there a way to fix this?
I am running Python 2.7 on Windows 8.1.
Thanks
Turns out one way is manually deleting the faulty theme. This allows the Configure IDLE menu to open. Whoops.
I have a problem with PyCharm v2.7.
it does not show me errors.
I have configured it to show them as here
but nothing.
here a screenshot of what I see (no error displayed)
if I run code analysis it shows the errors marked as INVALID in the window but it does not highlight the code.
any idea?
I had this issue recently on PyCharm 2020.3.3 Community Edition.
What I've found is in the top right corner of the editor there is a Reader Mode button.
If you click it you turn the Reader Mode off and then you can see your errors.
You can re-enable it by clicking the book icon
I found. i've enabled by chance the "power safe mode" that avoid error checking. it can be re-enabled by clicking on the little man on bottom right corner.
In my case, I had some ticks disabled in the Python Inspections menu in Settings > Editor > Inspections > Python. I have ticked everything and applied, and now it is working.
I don't really understand why this happened as the problem arose from one day to another. I had even re-installed the whole PyCharm, trying older versions, and deleted the .pycharm configuration folder from home.
I had the same issue with PyCharm Community Edition, v.2016.3.2. To fix,
go to Preferences... from the PyCharm menu, and open Editor/Colors & Fonts/General
Now go to Errors and Warnings/Error under your current schema.
I also had to set my Project Interpreter under Preferences/Project:<name>/Project Interpreter.
See screenshot.
None of the previous answers worked for me when I ran into this issue, but I was able to fix it by doing a hard reset on my PyCharm settings:
From the main menu, select File | Manage IDE Settings | Restore Default Settings.
You will lose all your custom settings this way of course, but this was the only thing that worked for me.
I have tried many things, but only Invalidate Caches did the trick, after that I could hover the green arrow (top right side) and change Highlight to All Problems
I needed to "Add content root" under "Project Structure" in Preferences. I had no content root.
Nothing of this worked for me.
My problem was a single warning: "unreachable code" which blocked all errors from being highlighted.
I removed this line of code (+ the warning) and all errors showed up again.
For me, this problem was a symptom of having created the file in the wrong place without realising. Before taking any drastic actions, check your project structure