I cannot launch my Pycharm 2021.1.2 from another user account on the same machine

Answered

I have Pycharm installed on my main/personal profile/user on Windows 10. Recently, I've made a new profile/user on my pc for my work. All my applications work without the need to reinstall them but Pycharm refuses to work.

 

It states that I don't have the required permissions to run it. I updated the security options to allow my account directly on the Pycharm folders. This made the two messages I was getting disappear but now nothing happens after I click on the Pycharm.exe

 

If I try a fresh install on this profile/user it won't let me because the same version is already installed.

 

Thank you

0
3 comments

Try running it using <installation_folder>/bin/pycharm.bat file and see if it shows any errors.

1


PS C:\Program Files> cd '.\JetBrains\PyCharm 2021.1.2\bin'
PS C:\Program Files\JetBrains\PyCharm 2021.1.2\bin> .\pycharm.bat
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
2021-10-28 09:14:32,420 [ 1727] WARN - nSystem.impl.ActionManagerImpl - keymap "Visual Studio" not found [Plugin: com.intellij]
2021-10-28 09:14:32,423 [ 1730] WARN - nSystem.impl.ActionManagerImpl - keymap "Eclipse" not found [Plugin: com.intellij]
2021-10-28 09:14:32,424 [ 1731] WARN - nSystem.impl.ActionManagerImpl - keymap "NetBeans 6.5" not found [Plugin: com.intellij]
2021-10-28 09:14:32,424 [ 1731] WARN - nSystem.impl.ActionManagerImpl - keymap "Visual Studio" not found [Plugin: com.intellij]
2021-10-28 09:14:32,433 [ 1740] WARN - nSystem.impl.ActionManagerImpl - keymap "Visual Studio" not found [Plugin: HtmlTools]
2021-10-28 09:14:32,473 [ 1780] WARN - nSystem.impl.ActionManagerImpl - keymap "Eclipse" not found [Plugin: org.jetbrains.plugins.github]
2021-10-28 09:14:32,474 [ 1781] WARN - nSystem.impl.ActionManagerImpl - keymap "Eclipse" not found [Plugin: JavaScript]
2021-10-28 09:14:32,474 [ 1781] WARN - nSystem.impl.ActionManagerImpl - keymap "Visual Studio" not found [Plugin: JavaScript]
2021-10-28 09:14:32,480 [ 1787] WARN - nSystem.impl.ActionManagerImpl - keymap "Eclipse" not found [Plugin: Pythonid]
2021-10-28 09:14:32,480 [ 1787] WARN - nSystem.impl.ActionManagerImpl - keymap "NetBeans 6.5" not found [Plugin: Pythonid]
2021-10-28 09:14:32,481 [ 1788] WARN - nSystem.impl.ActionManagerImpl - keymap "Visual Studio" not found [Plugin: Pythonid]
2021-10-28 09:14:32,481 [ 1788] WARN - nSystem.impl.ActionManagerImpl - keymap "Eclipse" not found [Plugin: Pythonid]
2021-10-28 09:14:33,159 [ 2466] WARN - l.NotificationGroupManagerImpl - Notification group CodeWithMe is already registered (group=com.intellij.notification.NotificationGroup@600ca3d4). Plugin descriptor: PluginDescriptor(name=Code With Me, id=com.jetbrains.codeWithMe, descriptorPath=plugin.xml, path=C:\Program Files\JetBrains\PyCharm 2021.1.2\plugins\cwm-plugin, version=212.4746.96, package=null)
2021-10-28 09:14:35,107 [ 4414] WARN - api.actionSystem.ex.ActionUtil - Can not find action by id CompileDirty
2021-10-28 09:14:35,592 [ 4899] WARN - ion.wsl.WslDistributionManager - Failed to run C:\Windows\system32\wsl.exe -l -v: {exitCode=1, timeout=false, cancelled=false, stdout=
Copyright (c) Microsoft Corporation. All rights reserved.

Usage: wsl.exe [Argument]

Arguments:

--install <Options>
Install Windows Subsystem for Linux features. If no options are specified,
the recommended features will be installed along with the default distribution.

To view the default distribution as well as a list of other valid distributions,
use 'wsl --list --online'.

Options:
--distribution, -d [Argument]
Specifies the distribution to be downloaded and installed by name.

Arguments:
A valid distribution name (not case sensitive).

Examples:
wsl --install -d Ubuntu
wsl --install --distribution Debian

--list, -l [Options]
Lists distributions.

Options:
--online, -o
Displays a list of available distributions for install with 'wsl --install'.

--help
Display usage information.
, stderr=}
java.io.IOException: Failed to run C:\Windows\system32\wsl.exe -l -v: {exitCode=1, timeout=false, cancelled=false, stdout=
Copyright (c) Microsoft Corporation. All rights reserved.

Usage: wsl.exe [Argument]

Arguments:

--install <Options>
Install Windows Subsystem for Linux features. If no options are specified,
the recommended features will be installed along with the default distribution.

To view the default distribution as well as a list of other valid distributions,
use 'wsl --list --online'.

Options:
--distribution, -d [Argument]
Specifies the distribution to be downloaded and installed by name.

Arguments:
A valid distribution name (not case sensitive).

Examples:
wsl --install -d Ubuntu
wsl --install --distribution Debian

--list, -l [Options]
Lists distributions.

Options:
--online, -o
Displays a list of available distributions for install with 'wsl --install'.

--help
Display usage information.
, stderr=}
at com.intellij.execution.wsl.WslDistributionManagerImpl.loadInstalledDistributionsWithVersions(WslDistributionManagerImpl.java:77)
at com.intellij.execution.wsl.WslDistributionManager.loadInstalledDistributions(WslDistributionManager.java:114)
at com.intellij.execution.wsl.WslDistributionManager.getInstalledDistributions(WslDistributionManager.java:61)
at git4idea.config.GitExecutableDetector.detectAvailableWsl(GitExecutableDetector.java:187)
at git4idea.config.GitExecutableDetector.runDetect(GitExecutableDetector.java:93)
at git4idea.config.GitExecutableDetector.lambda$detect$0(GitExecutableDetector.java:65)
at git4idea.config.GitExecutableManager.runUnderProgressIfNeeded(GitExecutableManager.java:238)
at git4idea.config.GitExecutableDetector.detect(GitExecutableDetector.java:62)
at git4idea.config.GitExecutableManager.getDetectedExecutable(GitExecutableManager.java:149)
at git4idea.config.GitExecutableManager.getPathToGit(GitExecutableManager.java:106)
at git4idea.config.GitExecutableManager.getPathToGit(GitExecutableManager.java:97)
at git4idea.config.GitExecutableManager.getExecutable(GitExecutableManager.java:112)
at git4idea.config.GitExecutableManager.testGitExecutableVersionValid(GitExecutableManager.java:280)
at git4idea.GitVcs.lambda$activate$0(GitVcs.java:209)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:183)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:705)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:647)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:63)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:170)
at com.intellij.openapi.progress.util.BackgroundTaskUtil.lambda$execute$8(BackgroundTaskUtil.java:206)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1736)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:829)
2021-10-28 09:14:49,209 [ 18516] WARN - .skeletons.PySkeletonRefresher - Some skeletons failed to generate
2021-10-28 09:14:49,209 [ 18516] WARN - .skeletons.PySkeletonRefresher - dde
2021-10-28 09:14:49,211 [ 18518] WARN - .skeletons.PySkeletonRefresher - debugpy._vendored.pydevd._pydevd_bundle.pydevd_cython
2021-10-28 09:14:49,212 [ 18519] WARN - .skeletons.PySkeletonRefresher - debugpy._vendored.pydevd._pydevd_frame_eval.pydevd_frame_evaluator
2021-10-28 09:14:49,212 [ 18519] WARN - .skeletons.PySkeletonRefresher - selenium.webdriver.firefox.amd64.x_ignore_nofocus
2021-10-28 09:14:49,213 [ 18520] WARN - .skeletons.PySkeletonRefresher - selenium.webdriver.firefox.x86.x_ignore_nofocus
2021-10-28 09:14:49,214 [ 18521] WARN - .skeletons.PySkeletonRefresher - win32comext.axdebug.axdebug
2021-10-28 09:14:49,214 [ 18521] WARN - .skeletons.PySkeletonRefresher - win32comext.internet.internet
2021-10-28 09:14:49,215 [ 18522] WARN - .skeletons.PySkeletonRefresher - ~umpy.core._multiarray_tests
2021-10-28 09:14:49,215 [ 18522] WARN - .skeletons.PySkeletonRefresher - ~umpy.core._multiarray_umath
2021-10-28 09:14:49,216 [ 18523] WARN - .skeletons.PySkeletonRefresher - ~umpy.core._operand_flag_tests
2021-10-28 09:14:49,217 [ 18524] WARN - .skeletons.PySkeletonRefresher - ~umpy.core._rational_tests
2021-10-28 09:14:49,217 [ 18524] WARN - .skeletons.PySkeletonRefresher - ~umpy.core._struct_ufunc_tests
2021-10-28 09:14:49,218 [ 18525] WARN - .skeletons.PySkeletonRefresher - ~umpy.core._umath_tests
2021-10-28 09:14:49,218 [ 18525] WARN - .skeletons.PySkeletonRefresher - ~umpy.fft._pocketfft_internal
2021-10-28 09:14:49,219 [ 18526] WARN - .skeletons.PySkeletonRefresher - ~umpy.linalg._umath_linalg
2021-10-28 09:14:49,219 [ 18526] WARN - .skeletons.PySkeletonRefresher - ~umpy.linalg.lapack_lite
2021-10-28 09:14:49,220 [ 18527] WARN - .skeletons.PySkeletonRefresher - ~umpy.random._bounded_integers
2021-10-28 09:14:49,221 [ 18528] WARN - .skeletons.PySkeletonRefresher - ~umpy.random._common
2021-10-28 09:14:49,221 [ 18528] WARN - .skeletons.PySkeletonRefresher - ~umpy.random._generator
2021-10-28 09:14:49,222 [ 18529] WARN - .skeletons.PySkeletonRefresher - ~umpy.random._mt19937
2021-10-28 09:14:49,223 [ 18530] WARN - .skeletons.PySkeletonRefresher - ~umpy.random._pcg64
2021-10-28 09:14:49,223 [ 18530] WARN - .skeletons.PySkeletonRefresher - ~umpy.random._philox
2021-10-28 09:14:49,224 [ 18531] WARN - .skeletons.PySkeletonRefresher - ~umpy.random._sfc64
2021-10-28 09:14:49,224 [ 18531] WARN - .skeletons.PySkeletonRefresher - ~umpy.random.bit_generator
2021-10-28 09:14:49,225 [ 18532] WARN - .skeletons.PySkeletonRefresher - ~umpy.random.mtrand
2021-10-28 09:16:07,461 [ 96768] WARN - on.sdk.flavors.PythonSdkFlavor - Couldn't get interpreter version: process exited with code 103
No Python at 'C:\Users\[REDACTED]\AppData\Local\Programs\Python\Python37\python.exe'

2021-10-28 09:16:25,391 [ 114698] WARN - tions.ex.ConfigurableCardPanel - auto-dispose 'Python Interpreter' id=com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable
2021-10-28 09:16:50,238 [ 139545] WARN - com.intellij.util.xmlb.Binding - no accessors for org.jetbrains.idea.perforce.perforce.ConnectionId
2021-10-28 09:16:51,492 [ 140799] WARN - a.repo.GitUntrackedFilesHolder - Ignoring unversioned file under another root: C:\Users\[REDACTED]\PycharmProjects\Trello_[REDACTED]\__pycache__\coordo_main.cpython-39.pyc; root: C:\Users\[REDACTED]\PycharmProjects\Trello_[REDACTED]; mapped root: null

This is what I get when I run the .bat file and load a project. It seems to be having trouble with accessing some of the required files.

0

I decided to remove the new user and remake it from scratch and now the app is working as intended. My guess is that some permissions weren't activated properly when it was created.

1

Please sign in to leave a comment.