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
21 views

Unable to select latest python version in PyCharm Fedora 39

I recently switched to using Fedora 39. I installed PyCharm Community Edition and started with and found that I can not switch to the latest python version. $ python --version Python 3.12.1 In the ...
DipayanRay's user avatar
0 votes
0 answers
37 views

does installing Flask python package within PyCharm create duplicate entries on my hard drive?

This is basically a question on how Install really works with Pip and Python, i.e. what physically happens when you "Install a package" I assume when I use pip to install flask from my ...
Cool Pontiac's user avatar
0 votes
1 answer
834 views

How to install python packages in an unstable connection

I've been trying to install tensorflow but without success. I suspect the reason is unstable internet connection because I was able to successfully install a smaller package (openCV) minutes before ...
Mehdi Charife's user avatar
0 votes
1 answer
454 views

JetBrains Gateway - cannot connect to remote host

I am trying to connect to my local remote host with JetBrains PyCharm / JetBrains Gateway, but when while loading remote instance it just exits without giving a reason why it could not connect. On ...
Maciej Bledkowski's user avatar
0 votes
0 answers
84 views

Pycharm's top is cut off in i3wm

I recently installed i3 (without a desktop environment) and everything is working fine except for Pycharm. The top border seems to be cut off, since it is lower and doesn't have rounded corners. ...
Some Guy's user avatar
1 vote
1 answer
1k views

Change color of PowerShell 7 Get-ChildItem result

I am using PowerShell 7 as terminal in PyCharm and the default colors for the commands were not really clear. I created a profile.ps1 where I set them in this way: # Set colours Set-PSReadLineOption -...
cicciodevoto's user avatar
1 vote
1 answer
1k views

How can I get a tree view for large JSON files in PyCharm?

When I open a small JSON file in PyCharm, I can easily collapse or expand its sections (note the medal-shaped symbols on the left): However, when I open a large JSON file, this isn't possible anymore ...
DeltaIV's user avatar
  • 415
0 votes
0 answers
42 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 ...
Murilo's user avatar
  • 101
0 votes
0 answers
93 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 ...
Ale1794's user avatar
  • 125
0 votes
0 answers
1k 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.
Lokodata's user avatar
2 votes
1 answer
5k 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....
Nakano's user avatar
  • 21
0 votes
2 answers
2k 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 ...
Tobias Uhmann's user avatar
0 votes
1 answer
362 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 ...
Manveru's user avatar
  • 101
0 votes
1 answer
141 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 ...
Eypros's user avatar
  • 339
5 votes
0 answers
832 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'...
alexremstedt's user avatar
0 votes
1 answer
57 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. ...
Matthew Moisen's user avatar
1 vote
1 answer
4k 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 ...
Tkinter Lover's user avatar
2 votes
1 answer
549 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 ...
Luk Aron's user avatar
  • 177
2 votes
2 answers
1k 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 ...
Dabananda Mitra's user avatar
0 votes
3 answers
1k 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 ...
guettli's user avatar
  • 337
1 vote
0 answers
301 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 ...
Conor James Thomas Warford Hen's user avatar
0 votes
1 answer
569 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 ...
Alesi Rowland's user avatar
0 votes
2 answers
571 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" ...
Saba's user avatar
  • 133
-1 votes
1 answer
237 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 ...
Redgar Tech's user avatar
1 vote
1 answer
2k 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
5k 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/...
victor's user avatar
  • 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 ...
Naveen Reddy Marthala's user avatar
1 vote
0 answers
131 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 ?
A.Adel Saleh's user avatar
0 votes
1 answer
197 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 ...
Mosa Abbas's user avatar
2 votes
1 answer
774 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.
jason m's user avatar
  • 113
1 vote
0 answers
31 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 "...
Wangwang's user avatar
3 votes
2 answers
12k 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 ...
Vasu Srivastava's user avatar
0 votes
0 answers
716 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. ...
Severin Spörri's user avatar
0 votes
1 answer
141 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 ...
Virre's user avatar
  • 1
1 vote
0 answers
34 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
kamol's user avatar
  • 11
4 votes
2 answers
9k 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, ...
Bajellor's user avatar
3 votes
2 answers
2k 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 ...
Martin's user avatar
  • 31
1 vote
1 answer
351 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 ...
Brandon Coffman's user avatar
5 votes
1 answer
3k 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 ...
Flicic's user avatar
  • 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!') ...
Oscar Mike's user avatar
0 votes
1 answer
42 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 ...
Doug's user avatar
  • 1
0 votes
1 answer
1k 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'...
Cryoexn's user avatar
0 votes
1 answer
721 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....
Patryk Szczepański's user avatar
1 vote
0 answers
40 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 ...
user1080655's user avatar
1 vote
1 answer
532 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): ...
Nos's user avatar
  • 135
8 votes
1 answer
3k 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 ...
Sheradil's user avatar
  • 183
0 votes
1 answer
976 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 ...
Fran Moya's user avatar
1 vote
1 answer
1k 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=...
rmarti89's user avatar
0 votes
1 answer
335 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 ...
Kristof's user avatar
  • 101
1 vote
1 answer
643 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 ...
Jaaziel Aguirre's user avatar