IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

JetBrains Discussion :

[Newbie] Utilisation de PyCharm: cata :-(


Sujet :

JetBrains

  1. #1
    Membre éclairé
    Homme Profil pro
    Programmeur fou
    Inscrit en
    Octobre 2010
    Messages
    364
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Aveyron (Midi Pyrénées)

    Informations professionnelles :
    Activité : Programmeur fou

    Informations forums :
    Inscription : Octobre 2010
    Messages : 364
    Par défaut [Newbie] Utilisation de PyCharm: cata :-(
    Bonjour à tous,
    Je m'ennuie dans ma retraite, donc j'ai décidé d'apprendre Python.
    Si.
    J'ai donc installé Python 3 et PyCharm (recommandé par le MOOC de l'Université de Liège).
    Blème, d'abord je devais installer aussi le sous-système Windows pour Linux (je ne vois pas bien l'intérêt vu que je ne suis pas sous Linux lol), je l'ai donc installé, puis j'ai lancé PyCharm depuis ma fenêtre Terminal comme on me dit de le faire dans le MOOC et je me suis fait insulter grave :

    PS C:\Users\client> pycharm
    [0.011s][warning][cds] Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "com.intellij.util.lang.PathClassLoader"). To use archived non-system classes, this property must not be set
    WARNING: A command line option has enabled the Security Manager
    WARNING: The Security Manager is deprecated and will be removed in a future release
    WARNING: A terminally deprecated method in java.lang.System has been called
    WARNING: System::setSecurityManager has been called by com.intellij.platform.core.nio.fs.CoreBootstrapSecurityManager
    WARNING: Please consider reporting this to the maintainers of com.intellij.platform.core.nio.fs.CoreBootstrapSecurityManager
    WARNING: System::setSecurityManager will be removed in a future release
    2025-01-18 14:12:05,034 [ 925] WARN - #c.i.o.a.Application - issue detected: ide.script.launcher.used
    2025-01-18 14:12:06,170 [ 2061] WARN - #c.i.e.w.WslDistributionManager - Failed to run C:\WINDOWS\system32\wsl.exe --list --verbose: {exitCode=-1, timeout=false, cancelled=false, stdout=Le sous-système Windows pour Linux n'a pas de distribution installée. (bin si, je viens de le faire...)

    Utilisez 'wsl.exe --list --online' pour lister les distributions disponibles.
    et 'wsl.exe --install <Distro>' pour l'installer.

    Les distributions peuvent également être installées en visitant le Microsoft Store : https://aka.ms/wslstore
    Code d?erreur*: Wsl/WSL_E_DEFAULT_DISTRO_NOT_FOUND, stderr=}, done in 502 ms
    java.io.IOException: Failed to run C:\WINDOWS\system32\wsl.exe --list --verbose: {exitCode=-1, timeout=false, cancelled=false, stdout=Le sous-système Windows pour Linux n'a pas de distribution installée.

    Utilisez 'wsl.exe --list --online' pour lister les distributions disponibles.
    et 'wsl.exe --install <Distro>' pour l'installer.

    Les distributions peuvent également être installées en visitant le Microsoft Store : https://aka.ms/wslstore
    Code d'erreur*: Wsl/WSL_E_DEFAULT_DISTRO_NOT_FOUND, stderr=}, done in 502 ms
    at com.intellij.execution.wsl.WslDistributionManagerImpl.loadInstalledDistributionsWithVersions(WslDistributionManagerImpl.java:85)
    at com.intellij.execution.wsl.WslDistributionManager.loadInstalledDistributions(WslDistributionManager.java:167)
    at com.intellij.execution.wsl.WslDistributionManager.getInstalledDistributions(WslDistributionManager.java:86)
    at com.intellij.execution.wsl.ijent.nio.toggle.IjentWslNioFsToggleStrategy$enableForAllWslDistributions$3.invokeSuspend(IjentNioFsStrategy.kt:67)
    at com.intellij.execution.wsl.ijent.nio.toggle.IjentWslNioFsToggleStrategy$enableForAllWslDistributions$3.invoke(IjentNioFsStrategy.kt)
    at com.intellij.execution.wsl.ijent.nio.toggle.IjentWslNioFsToggleStrategy$enableForAllWslDistributions$3.invoke(IjentNioFsStrategy.kt)
    at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:62)
    at kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:261)
    at com.intellij.execution.wsl.ijent.nio.toggle.IjentWslNioFsToggleStrategy.enableForAllWslDistributions(IjentNioFsStrategy.kt:66)
    at com.intellij.execution.wsl.ijent.nio.toggle.IjentWslNioFsToggler.enableForAllWslDistributions(IjentWslNioFsToggler.kt:51)
    at com.intellij.execution.wsl.ijent.nio.toggle.IjentWslNioFsVmOptionsSetter$ApplicationListener$applicationActivated$1.invokeSuspend(IjentWslNioFsVmOptionsSetter.kt:164)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750)

    C'est grave, Docteur ?
    Merci.

  2. #2
    Membre éclairé
    Homme Profil pro
    Programmeur fou
    Inscrit en
    Octobre 2010
    Messages
    364
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Aveyron (Midi Pyrénées)

    Informations professionnelles :
    Activité : Programmeur fou

    Informations forums :
    Inscription : Octobre 2010
    Messages : 364
    Par défaut
    Attendez, c'est pas fini, j'ai cliqué sur "Démarrer le Tour" et maintenant, j'ai cela :

    2025-01-18 14:25:22,404 [ 798295] WARN - #c.i.p.w.WhatsNewUrlContent - WhatsNew page 'https://www.jetbrains.com/pycharm/whatsnew' not available response code: 301
    2025-01-18 14:25:22,404 [ 798295] WARN - #c.i.i.a.WhatsNewAction - EapWhatsNew: can't be shown. Content not available
    2025-01-18 14:25:23,656 [ 799547] WARN - #c.i.u.Alarm - Do not create alarm without coroutineScope: training.dsl.impl.LessonExecutor.checkForRestore$checkFunction(LessonExecutor.kt:371)
    2025-01-18 14:25:26,979 [ 802870] WARN - #c.j.p.s.PythonSdkUpdater - Update for SDK Python 3.13 (PyCharmLearningProject) failed
    The following command was executed:

    C:/Users/client/AppData/Local/JetBrains/PyCharm2024.3/demo/PyCharmLearningProject/.venv/Scripts/python.exe -V

    The exit code: 106
    The error output of the command:

    failed to locate pyvenv.cfg: Le fichier spécifié est introuvable.

    at com.jetbrains.python.run.PythonScripts.execute(PythonScripts.kt:243)
    at com.jetbrains.python.sdk.PyTargetsIntrospectionFacade.getInterpreterVersion(PyTargetsIntrospectionFacade.kt:41)
    at com.jetbrains.python.sdk.PythonSdkUpdater$PyUpdateSdkTask.run(PythonSdkUpdater.java:142)
    at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:491)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:133)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsynchronously$7(CoreProgressManager.java:542)
    at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:249)
    at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:98)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:223)
    at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.use(trace.kt:45)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:222)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$14(CoreProgressManager.java:674)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:749)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:705)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:673)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:79)
    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:203)
    at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:98)
    at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$5(ProgressRunner.java:249)
    at com.intellij.openapi.progress.impl.ProgressRunner$ProgressRunnable.run(ProgressRunner.java:502)
    at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$18(ProgressRunner.java:467)
    at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:101)
    at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:101)
    at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:107)
    at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:101)
    at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$19(ProgressRunner.java:463)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:735)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:732)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:732)
    at java.base/java.lang.Thread.run(Thread.java:1583)


  3. #3
    Membre éclairé
    Homme Profil pro
    Programmeur fou
    Inscrit en
    Octobre 2010
    Messages
    364
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Aveyron (Midi Pyrénées)

    Informations professionnelles :
    Activité : Programmeur fou

    Informations forums :
    Inscription : Octobre 2010
    Messages : 364
    Par défaut
    C'est une blague de Nouvel An, c'est ça ?
    Nom : IMG_0030.JPG
Affichages : 122
Taille : 337,4 Ko

  4. #4
    Membre éclairé
    Homme Profil pro
    Programmeur fou
    Inscrit en
    Octobre 2010
    Messages
    364
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Aveyron (Midi Pyrénées)

    Informations professionnelles :
    Activité : Programmeur fou

    Informations forums :
    Inscription : Octobre 2010
    Messages : 364
    Par défaut
    C'est le didacticiel de Pycharm, pas un jeu.
    Traduire les hiéroglyphes avec son smartphone ? -> https://www.shpylgoreih.fr/

  5. #5
    Expert confirmé
    Avatar de jurassic pork
    Homme Profil pro
    Bidouilleur
    Inscrit en
    Décembre 2008
    Messages
    4 267
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Bidouilleur
    Secteur : Industrie

    Informations forums :
    Inscription : Décembre 2008
    Messages : 4 267
    Par défaut
    Hello,
    pour apprendre le python,comme ide , je te conseille Thonny :
    c 'est gratuit , c'est léger, c'est simple, il y a une version de python incluse, on peut le mettre en français, il y a un débogueur intégré , il y a une gestion des paquets.
    Nom : Thonny.png
Affichages : 26
Taille : 110,0 Ko
    Ami calmant, J.P
    Jurassic computer : Sinclair ZX81 - Zilog Z80A à 3,25 MHz - RAM 1 Ko - ROM 8 Ko :zen:

Discussions similaires

  1. Utilisation de Eclipse pour NewBie
    Par Invité dans le forum Eclipse PHP
    Réponses: 3
    Dernier message: 07/12/2008, 16h28
  2. [Newbie] utilisation de ffmpeg
    Par grabriel dans le forum API graphiques
    Réponses: 13
    Dernier message: 11/06/2008, 22h09
  3. [Newbie] Utilisation des classes
    Par v4np13 dans le forum Langage
    Réponses: 7
    Dernier message: 03/05/2007, 22h12
  4. [Newbies] Question sur une technologie XML a utiliser
    Par superraider dans le forum Windows
    Réponses: 3
    Dernier message: 21/10/2005, 11h01
  5. [mySQL] Newbie : Utilisation de CASE
    Par SergeF dans le forum SQL Procédural
    Réponses: 3
    Dernier message: 14/07/2005, 01h39

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo