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
-1
votes
0answers
130 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 ...
0
votes
1answer
31 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 ...
0
votes
0answers
44 views

PyCharm & AWS plugin - Lambda

I use PyCharm and I have the AWS plugin in place. With this plugin you can locally run and debug your AWS Lambda functions. My project structure is more or less: /myproject src/ ...
0
votes
1answer
327 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/...
0
votes
0answers
18 views

Creating a startup script (rc) file for Pycharm's interpretter

I want to make an rc file to run whenever i open up my interpreter in Pycharm. Is this possible? I use IPython in the console of Pycharm however my IPython default profile doesn't get loaded. Being ...
0
votes
1answer
119 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
0answers
32 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
0answers
10 views

Pycharm Log options feature shows log on debug but not on run

I'm running a script which makes a log file and stores it. I've configured by run so that it knows where this log file is kept and it knows to show the log file as a tab when debugging. Is there a way ...
0
votes
0answers
68 views

Pycharm can't read environment variables correctly anymore

I've recently gone through some upgrades on my system: Mojave to Catalina (MAC OS) Changed default shell to zsh from bash and created an .zshrc cloning my bash equivalent. Upgraded Pycharm to 2019.3 ...
0
votes
1answer
67 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 ...
0
votes
0answers
13 views

Lax security on PyCharm CE

When looking at entitlements on PyCharm CE for macOS, it shows many serious security exceptions. Here are its entitlements: <dict> <key>com.apple.security.cs.allow-jit</key> ...
1
vote
1answer
26 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.
1
vote
0answers
18 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 "...
2
votes
2answers
5k 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
0answers
390 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
1answer
13 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 ...
0
votes
0answers
100 views

How to fix the outerscope and shadowing the name

Can anyone please explain how to prevent from getting these errors in PyCharm? Also, can anyone please explain the difference between send to and send in simple words and its syntax? '**rdt**' is a ...
1
vote
0answers
10 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
1
vote
2answers
2k 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, ...
0
votes
0answers
246 views

non-zero exit code (101) pycharm

In Pycharm IDE, after creating new project, I receive following error message: Unable to create process using 'C:\Users\HPTools\AppData\Local\Programs\Python\Python38-32\python.exe "C:\Program ...
0
votes
0answers
99 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 ...
0
votes
0answers
28 views

Running PyCharm with External Tool and still not recognizing devenv for MSVC 2017

So, I have a Python configuration in PyCharm. This has worked for a long time, the thing is that now that we're expanding to Windows, for me to run this configuration of Python successfully in ...
0
votes
0answers
15 views

Is it possible to choose a python version in PyCharm without having an interpretter?

I have PyCharm installed on a Windows machine, which I am using as an overpowered editor to create scripts which are run on a remote Linux machine via ssh. Based on its markups, PyCharm knows my ...
0
votes
0answers
289 views

I can't open my PyCharm on my MacBook.I have a MacOs Mojave and it's not working.What should I do?

I installed PyCharm community 2019.2.3 on my Mac and the first time I opened the application it was working, but after I restart my Mac it's not working at all even its not opening. I downloaded JDK ...
0
votes
0answers
9 views

Python Virtual Enivronment

I want to run my project on any computer and not do any configuration on pycharm. Just hit the play button and the script should run. So I configured my virtual environment using a console. Installed ...
1
vote
1answer
24 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 ...
0
votes
0answers
22 views

Django debugging with pycharm

I have a problem debugging Django project, specifically a template. I am using Pycharm IDE. When I set a break point on the template code, by default it becomes Jinja2 line break point and I think ...
0
votes
0answers
44 views

Why does my MacOS Mojave 10.14.6 log me out when I run a python file on Pycharm?

I am on macbook air early 2013 version running 10.14.6 (18G95) with 8gb ram and 1.6ghz i5 processor. I recently installed Pycharm and am trying to run a python file. Every time I press run, it logs me ...
2
votes
1answer
207 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 ...
0
votes
0answers
1k 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
1answer
31 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 ...
0
votes
0answers
135 views

I can not start Intellij IDEA and PyCharm

From IDEA 2019.2 https://bitbucket.org/Qilinn/idea/src/master/.gitignore From IDEA 2018.1 2019-09-12 19:32:38,590 [ 0] INFO - #com.intellij.idea.Main - ----------------------------------...
0
votes
0answers
116 views

Python interpreter not found PyCharm Community Edition 2019.1

I downloaded PyCharm Community Edition 2019.1 Recently, there was an issue of no interpreters found so, I downloaded python 3.7.3 setup from the web because pycharm was asking to do so. After ...
0
votes
0answers
22 views

How to tell PyCharm that a new log level has been defined?

I sometimes add in my applications a progress level: def add_progress_level(): import logging progress_level_num = 35 # between WARNING and ERROR logging.addLevelName(progress_level_num, ...
0
votes
1answer
90 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
0answers
46 views

Pycharm JetBrains

I have just installed Pycharm 2019 edition. I have already installed Python 3.7 in my system. My normal Python program is running fine i.e. printing hello world but I am not able to install packages ...
0
votes
0answers
75 views

Available packages empty in Pycharm with Anaconda3 interpretter on 32-bit Windows XP

I installed pyCharm on an old 32-bit machine in order to access its old native serial rs232 port. The Anaconda3 distribution doesn't have the pySerial package, so I went about the usual way of adding ...
0
votes
1answer
202 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
0answers
32 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 ...
0
votes
1answer
361 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): ...
4
votes
1answer
585 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 ...
0
votes
1answer
165 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 ...
0
votes
1answer
275 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
1answer
76 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 ...
0
votes
0answers
62 views

Why can't Value be automatically expanded?

When debugging using pycharm, why can't value be automatically expanded,which could have been done before? I haven't changed anything Neither Lines of code nor the debug box can be expanded.
1
vote
1answer
228 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
1answer
181 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 ...
0
votes
0answers
310 views

How to apply a new theme on PyCharm?

I can't get to install a theme (plugin) on PyCharm that I've downloaded from the official site. It's this theme: https://plugins.jetbrains.com/plugin/12100-dark-purple-theme/versions. I've downloaded ...
0
votes
0answers
10 views

remove spellcheck on directory name in pycharm

Might be my OCD but pycharm keeps complaining about the names of my files and directory and wants them in the dictionary , in pep8. inspection on typo only provides code,litterals and comments as a ...
1
vote
0answers
53 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 ...