Pycharm 2019.1 cannot paste environment variables

When using PyCharm 2019.1 you cannot paste the value of environment variables into the popup box.

Obviously this is very irritating when dealing with secrets and projects with lots of variables.

Additionally, you cannot use another PyCharm window when the Debug Configuration window is open, but this has been the case for a while.


Steps to reproduce:

From an empty project:

  • Run -> Edit Configuration
  • Pick a project template
  • Click the edit box next to environment variables
  • Try pasting some text from the clipboard


Build details:

PyCharm 2019.1 (Professional Edition)
Build #PY-191.6183.50, built on March 19, 2019
JRE: 11.0.2+9-b159.30 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0


I'm having this trouble too.  I am trying to copy the PATH environment variable because I read that this will cure my problem with import _ssl failing to find a DLL and blocks me from using the critically important python console (without this pycharm is useless to me)


first I was hit by this bug:

which I cannot fix because of this paste bug!!

Is it time to look for an alternative to PyCharm?



Please try 2019.1.2 preview, both issues were addressed there.

I recommend using Toolbox app to install preview versions:


Thanks Andrey, however for the time being I have stuff working with Community 2018.3 which doesn't suffer from the second bug. Who knows what else is lurking in 2019.1.2 :O) 


Well, if 2018.3 works well for you so far, it's better to wait for the stable 2019.1.2 release.


Found a workaround:  on MacOS, use ctrl + c, ctrl + v to copy/paste, instead of the usual Cmd + V or Cmd + C

Looks like the bug is simply they hard-coded the controls to Windows keyboard shortcuts.


This problem is still happening in Pycharm 2019.2 and  ctrl+c and ctrl-v does not work.



Could you file a new ticket to and attach idea.log file from Help | Show Log in... after reproducing?


So oddly enough, the earlier reply was right with one exception on Mac. When you copy, you still use CMD-c, but when you paste, you use CTRL-v instead. Hope this helps!


For those who want to use system variables and are working on a Mac I wrote an article to actually use your system variables:


Somehow, Ctrl+V does not work but Ctrl+Shift+V does (at least when the VIM emulation is off). Windows, PyCharm 2019.1.1.