[issue40605] «python»: Aucun fichier ou dossier de ce type

2020-06-23 Thread Goheakan

Goheakan  added the comment:

Bonjour Isa, Hello Terry !

"/usr/bin/env: «python»: Aucun fichier ou dossier de ce type"
or
"/usr/bin/env: «python»: No such file or directory"


I was in the same trouble of you today and I solved it.
So it's not a bug, some Unix Systems Operating (like Ubuntu and derivetives) 
need a little help to start the compilation in Python. A sort of link between 
Python and Python3.


You can do it by installing this package => python-is-python3 by the simple 
command :
sudo apt install python-is-python3


Now run your program as usual with :
./[your_program]

Isa (sab1703) : Si tu as besoin d'aide en français n'hésite pas ◕‿↼

Hope it's gonna help (^̮^)

--
nosy: +Goheakan

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40605] «python»: Aucun fichier ou dossier de ce type

2020-05-16 Thread Isa


Isa  added the comment:

Thank you, Terry J. Reedy
I'll do that eventhough I don't like writing script...

As far as the title is concerned: that is the error message I receive ;)... 
sorry, my PC speaks french ;D...

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40605] «python»: Aucun fichier ou dossier de ce type

2020-05-15 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
type: crash -> behavior

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40605] «python»: Aucun fichier ou dossier de ce type

2020-05-15 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

Titles should be in English (translated if quoting output).  I am closing 
because there is no indication that there is a bug in Python, as opposed to a 
misunderstanding of how to use it.

Extended help discussion is better conducted on python-list.  For one thing, 
discussion there is seen by many more people. 

Isa: traditionally, on *nix, 'python' ran Python2 and 'python3' has been used 
to run Python3.  Sometimes 'python2' has also been used.  Different Linux 
distributions distributions disagree about whether and when to make 'python' 
run Python3.  I believe that you can make this happen for your login, but it 
might disable other programs, especially things provided by Ubuntu.  So it is 
probably best if you write a shell script that makes the change temporarily.  
Since this is going to be a common problem, please ask a question on 
python-list.  Suggestion:
---

(Subject) Make 'python' run Python 3.8 on Ubuntu

I want to run a program on Ubuntu 20.04 that expects 'python' to run Python 3 
instead of Python 2.  How can I do this without disabling other programs that 
expect the opposite?

--
nosy: +terry.reedy
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40605] «python»: Aucun fichier ou dossier de ce type

2020-05-12 Thread Isa


Isa  added the comment:

Their answer is: "Again: setup your environment so that python3 is available as 
python."

Can you help in that matter cause I can do nothing, please??

The Operatery System is: X-Ubuntu 20.04 lts
https://xubuntu.org/release/20-04/

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40605] «python»: Aucun fichier ou dossier de ce type

2020-05-12 Thread Isa


Isa  added the comment:

Thank you for having helped.
I've contacted the support of the programms and had explained how to solve the 
issue. Now... let's go and see ;)...

Have a nice day!

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40605] «python»: Aucun fichier ou dossier de ce type

2020-05-12 Thread Vedran Čačić

Vedran Čačić  added the comment:

You surely can, but I don't know much about OS X. You can probably set some 
kind of alias (https://www.peachpit.com/articles/article.aspx?p=31442&seqNum=5).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40605] «python»: Aucun fichier ou dossier de ce type

2020-05-12 Thread Isa


Isa  added the comment:

You're right! instead of python3 it's written python only. Thank you!

I can't change them :( because I can't open them properly :(...
Can I change the name of the python's file? or???

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40605] «python»: Aucun fichier ou dossier de ce type

2020-05-12 Thread Vedran Čačić

Vedran Čačić  added the comment:

Of course the _env_ is in /usr/bin. It's _python_ that's not found.

What program are you trying to run? And does it maybe start with

 #!/usr/bin/env python

? If yes, you should change it to python3.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40605] «python»: Aucun fichier ou dossier de ce type

2020-05-12 Thread Isa


Isa  added the comment:

I understand less and less

$ python3 myscript.py
python3: can't open file 'myscript.py': [Errno 2] No such file or directory

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40605] «python»: Aucun fichier ou dossier de ce type

2020-05-12 Thread Isa


Isa  added the comment:

Sorry. I had to write, "when I open a programm."

And what I can't understand, too is: that file is in usr/bin!!

Is there anything in what can explain that mess?

--
Added file: https://bugs.python.org/file49151/env

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40605] «python»: Aucun fichier ou dossier de ce type

2020-05-12 Thread Vedran Čačić

Vedran Čačić  added the comment:

What do you mean by 

> when I want to use a programm with Python

? Do you write something like

~$ python3 myscript.py

? If so, maybe it's myscript.py that's missing, not Python itself.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40605] «python»: Aucun fichier ou dossier de ce type

2020-05-12 Thread Isa

Isa  added the comment:

Good question ;D
I don't know and I don't understand...

When I type the commands to know the version, I receive this:
~$ python3
Python 3.8.2 (default, Apr 27 2020, 15:53:34) [GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

But when I want to use a programm with Python, I receive: /usr/bin/env: 
«python»: Aucun fichier ou dossier de ce type

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40605] «python»: Aucun fichier ou dossier de ce type

2020-05-12 Thread Vedran Čačić

Vedran Čačić  added the comment:

How do you know which version of Python you have if you can't run it? :-)

--
nosy: +veky

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40605] «python»: Aucun fichier ou dossier de ce type

2020-05-12 Thread Isa

New submission from Isa :

OS: X-Ubuntu 20.04 LTS
Python's version: 3.8.2 (default, Apr 27 2020, 15:53:34) [GCC 9.3.0] on linux

Since the last update I receive the following message:
/usr/bin/env: «python»: Aucun fichier ou dossier de ce type

Thank you in advance for helping.

--
messages: 368706
nosy: sab1703
priority: normal
severity: normal
status: open
title: «python»: Aucun fichier ou dossier de ce type
type: crash
versions: Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com