Re: Python

Pàgina inicial

Reply to this message
Autor: Patrick Dupre
Data:  
A: guilde
CC: guilde
Assumpte: Re: Python
OK,

py3nj est installe pour python2.7 !!
pip install py3nj
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Requirement already satisfied: py3nj in /usr/lib64/python2.7/site-packages (0.1.0)

Comment je l'installe pour python3?

===========================================================================
 Patrick DUPRÉ                                 | | email: pdupre@???
 Laboratoire interdisciplinaire Carnot de Bourgogne
 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
 Tel: +33 (0)380395988
===========================================================================



> Sent: Wednesday, May 13, 2020 at 3:44 PM
> From: "Christian Marillat" <marillat@???>
> To: guilde@???
> Subject: Re: Python
>
> On 13 mai 2020 15:35, "Patrick Dupre" <pdupre@???> wrote:
>
> > Oui,
> >
> > mais que j'essaye pyhton ou python3
> > j'ai toujours une erreur,
> > soit sur sep
> > soit sur
> >   File "./hdtrans.py", line 4, in <module>
> >     import py3nj
> > ModuleNotFoundError: No module named 'py3nj'

>
> Ce ne sont pas les même erreurs.
>
> Je suppose que ton script est en pyton 3 et qu'il the manque le module
> py3nj.
>
> https://github.com/fujiisoup/py3nj
>
> Christian
>
>