Pages : 1
#1 Le 20/11/2020, à 23:31
- MichellSardoche
probleme python geany
Bonsoir, je viens m'adresser a vous car j'ai un problème. En effet je viens de créé une machine virtuelle tournant sous ubuntu pour mes études.
J'ai ensuite installé l'ide geany hors je me retrouve face a un problème je n'arrive pas a compiler mes programmes.
Lorsque je lance la compilation la boite de commande s'ouvre et m'indique python: not found. Si quelqu'un pourrait m'aider merci d'avance.
P.S: j'ai bien pensé a l'extension .py si jamais.
Hors ligne
#2 Le 21/11/2020, à 08:20
- NicoApi73
Re : probleme python geany
Bonjour,
Si tu ouvres un terminal et que tu tapes python, est ce que tu as une erreur?
Hors ligne
#3 Le 21/11/2020, à 09:30
- Compte supprimé
Re : probleme python geany
Bonjour,
Comment as tu installé geany?
#4 Le 21/11/2020, à 22:32
- MichellSardoche
Re : probleme python geany
J'ai installé geany avec la commande sudo apt.
Hors ligne
#5 Le 22/11/2020, à 08:10
- Compte supprimé
Re : probleme python geany
Ok . Du coup, suis la piste de NicoApi73 , auquel tu as oublié de répondre(message #2).
Je te laisse en de bonnes mains ...
#6 Le 22/11/2020, à 22:50
- MichellSardoche
Re : probleme python geany
Bonsoir,
effectivement excuse moi de t'avoir skip NicoApi73 je n'avais pas fait attention alors j'ai essayé ce que tu ma dis ce qui ma donné:
https://image.noelshack.com/fichiers/20 … -titre.png
J'ai donc enchainé avec python3 ce qui ma donné :
https://image.noelshack.com/fichiers/20 … titre1.png
Modération : merci d'utiliser des images de petite taille (300x300) ou des miniatures pointant sur ces images (Des hébergeurs comme Toile Libre ou TDCT'Pix le permettent).
Dernière modification par cqfd93 (Le 23/11/2020, à 09:48)
Hors ligne
#7 Le 22/11/2020, à 22:53
- xubu1957
Re : probleme python geany
Bonjour,
Dans nos usages :
Modération
Bonjour,
Quand il n'y a pas de problème d'affichage ni d'accès internet, il est indispensable de donner les retours des commandes sous forme de texte entre balises code et surtout pas sous forme d'images.
Lire le premier message du tutoriel Retour utilisable de commande.
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
En ligne
#8 Le 23/11/2020, à 06:37
- NicoApi73
Re : probleme python geany
Bonjour,
Peux tu donner le retour entre balises code de :
lsb_release -a
et
dpkg -l | grep python
Hors ligne
#9 Le 24/11/2020, à 13:07
- MichellSardoche
Re : probleme python geany
Désolé pour l'oubli des balises dans le dernier message.
Voici les retours des commandes demandé
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
dpkg -l | grep python
ii libpython3-stdlib:amd64 3.8.2-0ubuntu2 amd64 interactive high-level object-oriented language (default python3 version)
ii libpython3.8:amd64 3.8.5-1~20.04 amd64 Shared Python runtime library (version 3.8)
ii libpython3.8-minimal:amd64 3.8.5-1~20.04 amd64 Minimal subset of the Python language (version 3.8)
ii libpython3.8-stdlib:amd64 3.8.5-1~20.04 amd64 Interactive high-level object-oriented language (standard library, version 3.8)
ii python-apt-common 2.0.0ubuntu0.20.04.1 all Python interface to libapt-pkg (locales)
ii python3 3.8.2-0ubuntu2 amd64 interactive high-level object-oriented language (default python3 version)
ii python3-apport 2.20.11-0ubuntu27.12 all Python 3 library for Apport crash report handling
ii python3-apt 2.0.0ubuntu0.20.04.1 amd64 Python 3 interface to libapt-pkg
ii python3-aptdaemon 1.1.1+bzr982-0ubuntu32.2 all Python 3 module for the server and client of aptdaemon
ii python3-aptdaemon.gtk3widgets 1.1.1+bzr982-0ubuntu32.2 all Python 3 GTK+ 3 widgets to run an aptdaemon client
ii python3-astroid 2.3.3-1 all rebuild a new abstract syntax tree from Python's AST (Python3)
ii python3-bcrypt 3.1.7-2ubuntu1 amd64 password hashing library for Python 3
ii python3-blinker 1.4+dfsg1-0.3ubuntu1 all fast, simple object-to-object and broadcast signaling library
ii python3-brlapi:amd64 6.0+dfsg-4ubuntu6 amd64 Braille display access via BRLTTY - Python3 bindings
ii python3-cairo:amd64 1.16.2-2ubuntu2 amd64 Python3 bindings for the Cairo vector graphics library
ii python3-certifi 2019.11.28-1 all root certificates for validating SSL certs and verifying TLS hosts (python3)
ii python3-cffi-backend 1.14.0-1build1 amd64 Foreign Function Interface for Python 3 calling C code - runtime
ii python3-chardet 3.0.4-4build1 all universal character encoding detector for Python3
ii python3-click 7.0-3 all Wrapper around optparse for command line utilities - Python 3.x
ii python3-colorama 0.4.3-1build1 all Cross-platform colored terminal text in Python - Python 3.x
ii python3-commandnotfound 20.04.2 all Python 3 bindings for command-not-found.
ii python3-cryptography 2.8-3ubuntu0.1 amd64 Python library exposing cryptographic recipes and primitives (Python 3)
ii python3-cups 1.9.73-3build1 amd64 Python3 bindings for CUPS
ii python3-cupshelpers 1.5.12-0ubuntu1 all Python utility modules around the CUPS printing system
ii python3-dateutil 2.7.3-3ubuntu1 all powerful extensions to the standard Python 3 datetime module
ii python3-dbus 1.2.16-1build1 amd64 simple interprocess messaging system (Python 3 interface)
ii python3-debconf 1.5.73 all interact with debconf from Python 3
ii python3-debian 0.1.36ubuntu1 all Python 3 modules to work with Debian-related data formats
ii python3-defer 1.0.6-2.1 all Small framework for asynchronous programming (Python 3)
ii python3-distro 1.4.0-1 all Linux OS platform information API
ii python3-distro-info 0.23ubuntu1 all information about distributions' releases (Python 3 module)
ii python3-distupgrade 1:20.04.23 all manage release upgrades
ii python3-distutils 3.8.5-1~20.04.1 all distutils package for Python 3.x
ii python3-entrypoints 0.3-2ubuntu1 all Discover and load entry points from installed packages (Python 3)
ii python3-fasteners 0.14.1-2 all provides useful locks - Python 3.x
ii python3-future 0.18.2-2 all Clean single-source support for Python 3 and 2 - Python 3.x
ii python3-gdbm:amd64 3.8.5-1~20.04.1 amd64 GNU dbm database support for Python 3.x
ii python3-gi 3.36.0-1 amd64 Python 3 bindings for gobject-introspection libraries
ii python3-gi-cairo 3.36.0-1 amd64 Python 3 Cairo bindings for the GObject library
ii python3-httplib2 0.14.0-1ubuntu1 all comprehensive HTTP client library written for Python3
ii python3-ibus-1.0 1.5.22-2ubuntu2.1 all Intelligent Input Bus - introspection overrides for Python (Python 3)
ii python3-idna 2.8-1 all Python IDNA2008 (RFC 5891) handling (Python 3)
ii python3-isort 4.3.4+ds1-2 all library for sorting Python imports (Python 3)
ii python3-jwt 1.7.1-2ubuntu2 all Python 3 implementation of JSON Web Token
ii python3-keyring 18.0.1-2ubuntu1 all store and access your passwords safely - Python 3 version of the package
ii python3-launchpadlib 1.10.13-1 all Launchpad web services client library (Python 3)
ii python3-lazr.restfulclient 0.14.2-2build1 all client for lazr.restful-based web services (Python 3)
ii python3-lazr.uri 1.0.3-4build1 all library for parsing, manipulating, and generating URIs
ii python3-lazy-object-proxy 1.4.3-1build1 amd64 Python 3 fast and thorough lazy object proxy
ii python3-lib2to3 3.8.5-1~20.04.1 all Interactive high-level object-oriented language (lib2to3)
ii python3-lockfile 1:0.12.2-2ubuntu2 all file locking library for Python — Python 3 library
ii python3-logilab-common 1.4.3-2 all useful miscellaneous modules used by Logilab projects (Python3)
ii python3-louis 3.12.0-3 all Python bindings for liblouis
ii python3-macaroonbakery 1.3.1-1 all Higher-level macaroon operations for Python 3
ii python3-mako 1.1.0+ds1-1ubuntu2 all fast and lightweight templating for the Python 3 platform
ii python3-markupsafe 1.1.0-1build2 amd64 HTML/XHTML/XML string library for Python 3
ii python3-mccabe 0.6.1-3 all Python code complexity checker (Python 3)
ii python3-minimal 3.8.2-0ubuntu2 amd64 minimal subset of the Python language (default python3 version)
ii python3-monotonic 1.5-0ubuntu2 all implementation of time.monotonic() - Python 3.x
ii python3-nacl 1.3.0-5 amd64 Python bindings to libsodium (Python 3)
ii python3-netifaces 0.10.4-1ubuntu4 amd64 portable network interface information - Python 3.x
ii python3-oauthlib 3.1.0-1ubuntu2 all generic, spec-compliant implementation of OAuth for Python3
ii python3-olefile 0.46-2 all Python module to read/write MS OLE2 files
ii python3-paramiko 2.6.0-2 all Make ssh v2 connections (Python 3)
ii python3-pexpect 4.6.0-1build1 all Python 3 module for automating interactive applications
ii python3-pil:amd64 7.0.0-4ubuntu0.1 amd64 Python Imaging Library (Python3)
ii python3-pkg-resources 45.2.0-1 all Package Discovery and Resource Access using pkg_resources
ii python3-problem-report 2.20.11-0ubuntu27.12 all Python 3 library to handle problem reports
ii python3-protobuf 3.6.1.3-2ubuntu5 amd64 Python 3 bindings for protocol buffers
ii python3-ptyprocess 0.6.0-1ubuntu1 all Run a subprocess in a pseudo terminal from Python 3
ii python3-pyatspi 2.36.0-1 all Assistive Technology Service Provider Interface - Python3 bindings
ii python3-pymacaroons 0.13.0-3 all Macaroon library for Python 3
ii python3-renderpm:amd64 3.5.34-1ubuntu1 amd64 python low level render interface
ii python3-reportlab 3.5.34-1ubuntu1 all ReportLab library to create PDF documents using Python3
ii python3-reportlab-accel:amd64 3.5.34-1ubuntu1 amd64 C coded extension accelerator for the ReportLab Toolkit
ii python3-requests 2.22.0-2ubuntu1 all elegant and simple HTTP library for Python3, built for human beings
ii python3-requests-unixsocket 0.2.0-2 all Use requests to talk HTTP via a UNIX domain socket - Python 3.x
ii python3-rfc3339 1.1-2 all parser and generator of RFC 3339-compliant timestamps (Python 3)
ii python3-secretstorage 2.3.1-2ubuntu1 all Python module for storing secrets - Python 3.x version
ii python3-setuptools 45.2.0-1 all Python3 Distutils Enhancements
ii python3-simplejson 3.16.0-2ubuntu2 amd64 simple, fast, extensible JSON encoder/decoder for Python 3.x
ii python3-six 1.14.0-2 all Python 2 and 3 compatibility library (Python 3 interface)
ii python3-software-properties 0.98.9.2 all manage the repositories that you install software from
ii python3-speechd 0.9.1-4 all Python interface to Speech Dispatcher
ii python3-systemd 234-3build2 amd64 Python 3 bindings for systemd
ii python3-talloc:amd64 2.3.0-3ubuntu1 amd64 hierarchical pool based memory allocator - Python3 bindings
ii python3-tk:amd64 3.8.5-1~20.04.1 amd64 Tkinter - Writing Tk applications with Python 3.x
ii python3-tz 2019.3-1 all Python3 version of the Olson timezone database
ii python3-uno 1:6.4.6-0ubuntu0.20.04.1 amd64 Python-UNO bridge
ii python3-update-manager 1:20.04.10.1 all python 3.x module for update-manager
ii python3-urllib3 1.25.8-2ubuntu0.1 all HTTP library with thread-safe connection pooling for Python3
ii python3-wadllib 1.3.3-3build1 all Python 3 library for navigating WADL files
ii python3-wrapt 1.11.2-2build1 amd64 decorators, wrappers and monkey patching. - Python 3.x
ii python3-xdg 0.26-1ubuntu1 all Python 3 library to access freedesktop.org standards
ii python3-xkit 0.5.0ubuntu4 all library for the manipulation of xorg.conf files (Python 3)
ii python3-yaml 5.3.1-1 amd64 YAML parser and emitter for Python3
ii python3.8 3.8.5-1~20.04 amd64 Interactive high-level object-oriented language (version 3.8)
ii python3.8-minimal 3.8.5-1~20.04 amd64 Minimal subset of the Python language (version 3.8)
Hors ligne
#10 Le 24/11/2020, à 19:22
- NicoApi73
Re : probleme python geany
ok, essaie ceci :
sudo apt install python-is-python3
Hors ligne
#11 Le 25/11/2020, à 23:15
- MichellSardoche
Re : probleme python geany
Merci beaucoup NicoApi73 ta technique à marché. ^^
Hors ligne
Pages : 1