changing Python version in FreeCAD's Python console

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
sibelius
Posts: 109
Joined: Sat Jan 04, 2020 7:29 am
Location: Leura - NSW _Australia
Contact:

changing Python version in FreeCAD's Python console

Post by sibelius »

Hi everyone.
My FreeCAD runs Python version 3.6.8; this version I built in FreeCAD installation.
I download Python3.8.1 and now I'd like to tell to FreeCAD to choose this new version to run in the python consolle.
Any help would be great.
thank you very much in advance.
vocx
Veteran
Posts: 5197
Joined: Thu Oct 18, 2018 9:18 pm

Re: changing Python version in FreeCAD's Python consolle

Post by vocx »

sibelius wrote: Thu Jan 30, 2020 5:30 am Hi everyone.
My FreeCAD runs Python version 3.6.8; this version I built in FreeCAD installation...
Important information
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
sibelius
Posts: 109
Joined: Sat Jan 04, 2020 7:29 am
Location: Leura - NSW _Australia
Contact:

Re: changing Python version in FreeCAD's Python consolle

Post by sibelius »

hi to everyone
this is the version of freeCAd I'm using at the moment

Code: Select all

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19290 (Git)
Build type: Release
Branch: master
Hash: 2f0d34e0ffd68883fce04374844d519903e0c305
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
the version of python is 3.6.8; after installing the other version 3.8.1, I was thinking if in some way FreeCAD can use the 3.8.1 instead of the 3.6.8
my thought are in order to copy and paste the exe file in the bin directory of my freeCAD 0.19, overriding the previous version; but i' not sure.
thanks again for your help.
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: changing Python version in FreeCAD's Python consolle

Post by looo »

Doesn't work, so better not try.
sibelius
Posts: 109
Joined: Sat Jan 04, 2020 7:29 am
Location: Leura - NSW _Australia
Contact:

Re: changing Python version in FreeCAD's Python consolle

Post by sibelius »

thank you for your answer.
I wasn't going to do it.
is not a major problem, I was just curious to see if was possible.
thank you again
Post Reply