Questions tagged [pycharm]

Pycharm is an IDE (written in java) for developing in Python, with support for web frameworks.

Filter by
Sorted by
Tagged with
0 votes
0 answers
19 views

How to arrange R console and callstack vertically in PyCharm?

There is an R plugin for PyCharm IDE. It has R console tool window which is split into two areas - the console and the call stack, plus the environment explorer and/or watch variables. All these are ...
  • 101
0 votes
0 answers
51 views

How to change the output box font color of Pycharm

am trying to change the font color of the output text of my Pycharm IDE when I run code. Right now it is showing output in red color. The output box is where the output of the code is dispayed. I ...
  • 215
0 votes
0 answers
25 views

New Scientific Project in PyCharm

When creating a new scientific project in PyCharm, the default option to the Python interpreter is a fresh Conda environment: Is it ok to change it to Virtualenv instead? Or will i face any kind of ...
  • 101
0 votes
0 answers
50 views

Avoid Antivirus AVG using too much CPU to check a Python script

I am currently developing a Python script that performs some http requests and uses a webdriver. When I run the script from Pycharm, AVG starts performing some sort of scanning that reduces the ...
  • 125
0 votes
0 answers
27 views

PyCharm (2021.1.3) debug mode opens new tab of same source file

Whenever I am debugging my code and hit a breakpoint, PyCharm jumps into a new tab opening the same file in which I've set the breakpoint. The second tab is then closed immediately, jumping back to ...
  • 1
0 votes
0 answers
215 views

My saved .py files can be seen in Pycharm but not in File Explorer

I already saved one file before. But when I do it now, it doesn't show in file explorer but shows in Pycharm "open" section. Any explanation and a way to fix this would be appreciated.
0 votes
1 answer
2k views

Pip error - Cannot open include file: 'basetsd.h': No such file or directory

[SOLVED] Answer in comments! I am trying to install these requirements (jaydebeapi==1.2.3) in Python and facing the issue bellow. The main message of error is: "Cannot open include file: 'basetsd....
  • 1
0 votes
2 answers
917 views

PyCharm terminal does not use venv, but "Python Console" does

In PyCharm, I have created a new Python project with its own venv environment. But, for some reason, executing pip install ... in PyCharm's terminal uses the systemwide Python installation instead of ...
0 votes
0 answers
55 views

Pycharm Team formatting

Problem is that people in our team are using different formatters which results in very messy commits in gitlab repositories. A lot of people is using black but it's I feel like it's formatting code ...
  • 101
0 votes
1 answer
158 views

Slow ping while using ssh on a server in another continent

So I am coding (using pycharm) connected via ssh to a server which is in another continent and the ping is very high. Because of that, everything that I do takes a lot of time. Is there anything that ...
  • 101
0 votes
1 answer
24 views

Match Case option missing in Pycharm search

I have been using Pycharm for some time now and noticed that in the current version I am using (Community 2021.1.1) the Match Case tickbox is missing (probably is hidden). I found it really useful ...
  • 329
2 votes
0 answers
332 views

How can I disable the scroll-to-end feature

Whenever I run my code in Pycharm (community version), the run window automatically scrolls to the end. I would like to turn this feature off. However, everytime I run my code it re-enables itself. I'...
0 votes
1 answer
16 views

PyCharm: Replace in Files not showing Replacement String in Find Window

In older versions of Pycharm, if you did a Replace in Files on your entire project, you could open the results in the Find Window and then for each result double check that the replacement made sense. ...
0 votes
1 answer
2k views

“Select Python Interpreter” button not showing (Pycharm)

In one of my PyCharm projects, it doesn't show the "Select Python interpreter" button on the lower right-hand side. Here is how it's supposed to be: However, it's not there. I need it to ...
1 vote
1 answer
146 views

how to restore all windows when open JetBrains IDE again

I usually use one JetBrains IDE window for one folder(project). I need to shut down the computer every day. Is there any way to restore all closed windows when I continue the work the next day? I am ...
  • 147
2 votes
2 answers
573 views

The option on PyCharm Mac "Reveal in Finderl" what is in PyCharm for Windows

I am learning Python watching tutorials of Mosh. There he shows an option to add a xl file on pychram project using the option "Reveal in Finder" but I can't find it on my windows machine ...
0 votes
3 answers
611 views

ssh -X: Remote application should open hyperlinks in the local browser

I use ssh -X to execute a GUI on a remote machine. This works great, except for one thing: If I click on a hyperlink in the application, then a browser gets launched on the remote machine. In my case ...
  • 317
1 vote
0 answers
75 views

Is it possible to recover a file via PyCharm (jetbrains) localhistory binaries?

I lost a number of files due to a destructive bug in GitHub Desktop and I’m trying to figure out what my best chances are for recovering one of them that was especially important. I have located the ...
0 votes
1 answer
232 views

Pycharm puts red lines on valid annotations in python3.7

When adding type hints to my python3.7 code. I often don't import the actual classes to avoid circular dependencies. Instead I use from __future__ import annotations to let them be converted to ...
0 votes
2 answers
189 views

How to mark folders with color in Pycharm

I want to mark specific folders with color. For example folder which is finished should be marked with green color, not finished red and etc. I want them to work same as "mark directory as" ...
  • 123
-1 votes
1 answer
203 views

Building a program in Pycharm for Ubuntu. How can I do it so that Ubuntu automatically opens Pycharm and Starts the Python Program?

First, I want Ubuntu to boot straight into the Desktop and automatically open Pycharm IDE. Then, I want it to automatically run the Pycharm Program left open or last worked on. Lastly, without me ...
1 vote
1 answer
943 views

IntelliJ IDEA or Pycharm not opening on Alpine Linux

So I am trying to migrate to Alpine Linux; however, I cannot seem to install two IDEs, Pycharm and IntelliJ IDEA. They are both throwing me the same error whenever I attempt to run either pycharm.sh ...
user avatar
0 votes
1 answer
3k views

pynput is installed with pip, but `import pynput` in PyCharm can't find it

I installed the pynput Python package with pip. I got this error in PyCharm when trying to import pynput with import pynput. C:\Users\User\PycharmProjects\keyloger.py\Scripts\python.exe "C:/Users/...
  • 13
0 votes
1 answer
1k views

Pycharm doesn't detect python installed from Microsoft store

I have python 3.7 installed on my pc downloaded from python's official website and pycharm detects it and is fine. But, windows's powershell doesn't detect it. I have added it to path of system and ...
1 vote
0 answers
83 views

Create a new ipynb file not found

I am trying to use Pycharm to create A Jupyter Notebook using Pycharm. But such option is not found in the list, as I see in many tutorials. How I can create a ipynb file in PyCharm ?
0 votes
1 answer
122 views

Why I can't start pycharm 2019.3.1 on ubuntu?

First, I downloaded pycharm using snap, and I edited the pycharm64.vmoptions file. Then I wasn't able to launch the software, so I uninstalled it. After that, I downloaded the pycharm.tar.gz file ...
1 vote
1 answer
180 views

Pycharm no longer prompts me to open in "this window" or "new window"

How do I re-enable this prompt? It is something that I found quite useful and somehow managed to accidentally disable.
  • 93
1 vote
0 answers
23 views

Pycharm 2019.3 cannot auto discover suitable virtualenv?

Before 2019.3, pycharm can auto discover suitable virutalenv and automaticlly set for the project. For example, when I created a project named "sample", it will automatically use virtaulenv named "...
3 votes
2 answers
11k views

Is there a way to unite WSL2 Ubuntu, Tensorflow-GPU, CUDA, and Pycharm[windows]?

I have a WSL 2 Ubuntu with Anaconda 3 installed in Ubuntu WSL 2. Then I installed PyCharm in Windows 10. Then I created an environment for tensorflow-gpu in WSL2. I installed CUDA and cuDNN in Windows ...
0 votes
0 answers
666 views

Pycharm can't import pygame - versions not compatible?

I get the error: No module named 'pygame' when trying to import pygame in my project in pycharm. Now I'm trying to troubleshoot, and I wanted to ask whether these versions might be uncompatible. ...
0 votes
1 answer
107 views

PyCharm cant choose a system interpreter

I am trying to make a system interpreter and then linking a library that is in the same folder as my main.py file. When I try to make the system interpreter it just says "" and then when I click on it ...
  • 1
1 vote
0 answers
19 views

Pycharm isn't working properly [closed]

my pycharm isnt working properly, It doesn't highlight any syntax, doesn't show suggestion even doesn't change color of comments, Please tell me how to fix this. enter image description here
  • 11
5 votes
2 answers
8k views

Can't install anything on pip

Everytime I try to install anything on pip it ends with following error message. The package setup script has attempted to modify files on your system that are not within the EasyInstall build area, ...
2 votes
1 answer
992 views

Can I change the directory for scratch files in PyCharm?

The default directory is %HOMEPATH%\.<product><version>\config\scratches. It's not so easy to use. So can I change it to other directories as C:\scratches? If so, I can open a REPL and ...
  • 21
1 vote
1 answer
163 views

tkinter doesnt work for me on anything

This is the code that I tried. import tkinter as tk root = tk.TK() root.mainloop() I tried using pycharm and sublime text. Pycharm wont show the blue letters on ".TK", "mainloop" and sublime text ...
5 votes
1 answer
2k views

My Pycharm IDE cannot connect debugger

My Pycharm IDE cannot connect debugger in one of my anaconda environment. As I try to debug some code it says: Connection to Python debugger failed Socket operation on nonsocket: configureBlocking the ...
  • 51
0 votes
0 answers
2k views

MacOS Mojave | PyCharm Is not allowed to access to the camera

I am trying to execute the following code: import cv2 video_capture = cv2.VideoCapture(0) print('Camera initialized') ret, raw_frame = video_capture.read() video_capture.release() print('Bye!') ...
0 votes
1 answer
35 views

Pycharms module successfully downloaded but not found

I've gone through just about every post on this topic and none of the solutions have worked thus far. I recently made the mistake of trying to switch python versions and my project in pycharms went ...
  • 1
0 votes
1 answer
833 views

Changing the commit author for Git/Github on Windows 10

Problem: I cant get the correct username to show up for commits on github. Background: I first had a Github account for personal use that was just to mess around and become familiar with it. Now I'...
0 votes
1 answer
449 views

PyCharm (or python) is not working correctly on my Windows machine (?) - can't do anything under virtualenv (or I'm doing it wrong)?

So basically I use Pycharm 2019.2.1 with Python 3.7.4 (I tried reinstalling both if you ask me) and I can't use pip in virtualenv. I tried even calling it with python -m pip install -r requirements....
1 vote
0 answers
38 views

Run Django cause Pycharm behave unexpectedly

After running python manage.py runserver in terminal, PyCharm behave unexpectedly. Code analysis stop working and after restart PyCharm it hangs and only compute reboot fix issue. PyCharm ...
1 vote
1 answer
466 views

PyCharm Professional: How to use an interpreter, running in a docker container on a second machine

Setup: 1st machine (client): Windows with PyCharm Professional installed. Laptop, no GPU. 2nd machine (server): Ubuntu with docker installed. Workstation with GPU. 3rd machine (docker container): ...
  • 135
6 votes
1 answer
2k views

Pycharm debugger does not work with pytorch and deep learning

This question is somewhere in between Stackoverflow and Superuser - in my opinion at least, so feel free to point me to SO if this is the wrong place (in your opinion ;)). Problem: If I place a ...
  • 163
0 votes
1 answer
642 views

Git prepare-commit-msg hook seems not work in PyCharm

I am working with the last version of PyCharm. In our repo we have some hooks, like "prepare-commit-msg" to create a commit template or "commit-msg" using by Gerrit to add the change-id used by this ...
1 vote
1 answer
788 views

Why can't I install any packages on Pycharm?

These are the three main resources I've been mainly using to try to either use the Google Sheets API or manipulate an excel spreadsheet on Pycharm: https://www.youtube.com/watch?v=cnPlKLEGR7E&t=...
0 votes
1 answer
259 views

Volume bindings not detected in Pycharm when deploying scripts via Docker interpreter

I have volume binding set up mapping a few different paths to my Docker container. I have Docker plugin set up in Pycharm Pro and the container's interpreter set as my Python interpreter. I can deploy ...
  • 101
1 vote
1 answer
526 views

How I could execute this code in Pycharm? Python code with parameters

Maybe you know Pycharm, it is a piece of software for python programming. I am at level 1 in programming. So, I have a project in mind, it is with Manim, a software of Grant Sanderson of 1blue3brown ...
0 votes
2 answers
356 views

Debugger not working with pycharm PyCharm 2019.2 (Community Edition)

I am working with PyCharm 2019.2 (Community Edition). Initially, before the update, debugger was working all fine but once it got updated to 2019.2 (Community Edition), every time I hit the debugger ...
1 vote
0 answers
61 views

I am unable to find Django while creating a project in Pycharm

I tried uninstalling and installing it and also tried with older versions but I still have same issues. I have manually created a virtual environment before and tried but didn't work but I can see ...
2 votes
0 answers
273 views

Error creating virtual environment and using pip

Everytime I try to use pip to do something pip install <package> I get an error OSError: [Errno 9] Bad file descriptor I tried installing and reinstalling anaconda. I'm currently trying ...