Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

spyder v5: invalid file name when selecting interpreter in preferences

489 views
Skip to first unread message

Leif Svalgaard

unread,
Jul 23, 2022, 4:42:44 PM7/23/22
to
error message: invalid file path: C:/Users/leifs/anaconda3/python3105.exe
what is wrong with that?

--
Leif
le...@leif.org

Dennis Lee Bieber

unread,
Jul 23, 2022, 4:59:34 PM7/23/22
to
On Sat, 23 Jul 2022 10:30:09 -0700, Leif Svalgaard <lsval...@gmail.com>
declaimed the following:

>error message: invalid file path: C:/Users/leifs/anaconda3/python3105.exe
>what is wrong with that?

Please cut and paste the ENTIRE error message (not a screen image,
select the TEXT) including context. If that is something being passed to a
Windows command shell, the shell does not handle / (that's a command
OPTION), only \ for paths.

Have you navigated and proved you have such a file?



--
Wulfraed Dennis Lee Bieber AF6VN
wlf...@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/

MRAB

unread,
Jul 23, 2022, 5:54:47 PM7/23/22
to
On 23/07/2022 18:30, Leif Svalgaard wrote:
> error message: invalid file path: C:/Users/leifs/anaconda3/python3105.exe
> what is wrong with that?
>
Is there a file called python3105.exe in the folder
C:/Users/leifs/anaconda3?

That filename looks wrong to me because the file is usually called
python.exe.

This page:

https://docs.anaconda.com/anaconda/user-guide/tasks/integration/python-path/

suggests to me that the path is probably more like
C:\Users\leifs\anaconda3\python.exe (or, if you prefer,
C:/Users/leifs/anaconda3/python.exe).

Dennis Lee Bieber

unread,
Jul 23, 2022, 8:49:45 PM7/23/22
to
On Sat, 23 Jul 2022 22:51:17 +0100, MRAB <pyt...@mrabarnett.plus.com>
declaimed the following:

>On 23/07/2022 18:30, Leif Svalgaard wrote:
>> error message: invalid file path: C:/Users/leifs/anaconda3/python3105.exe
>> what is wrong with that?
>>
>Is there a file called python3105.exe in the folder
>C:/Users/leifs/anaconda3?
>
>That filename looks wrong to me because the file is usually called
>python.exe.

PS C:\Users\Wulfraed> Get-ChildItem -Path 'C:\Python38\' -Name -Filter
"python*.exe"

python.exe
python3.8.exe
python3.exe
pythonservice.exe
pythonw.exe
PS C:\Users\Wulfraed>

That's from a stale ActiveState build... Anaconda may drop the "." in
the version (I'd expect it is python3.10.5)
0 new messages