You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CentOS 7 is still supported but CentOS version 8 is recommended for a better user experience.
21
21
@@ -35,33 +35,6 @@ Permission issues /dev/ttyUSB0
35
35
36
36
With some Linux distributions you may get the ``Failed to open port /dev/ttyUSB0`` error message when flashing the {IDF_TARGET_NAME}. :ref:`This can be solved by adding the current user to the dialout group<linux-dialout-group>`.
37
37
38
-
Setting up Python 3 as default for CentOS
39
-
-----------------------------------------
40
-
41
-
CentOS 7 and older is providing Python 2.7 as the default interpreter.
42
-
Python 3 is recommended instead and can be installed in old distributions as follows, or please consult the documentation of your operating system for other recommended ways to achieve this::
Ubuntu (version 18.04 and older) and Debian (version 9 and older) are still providing Python 2.7 as the default interpreter.
54
-
Python 3 is recommended instead and can be installed in old distributions as follows, or please consult the documentation of your operating system for other recommended ways to achieve this::
Copy file name to clipboardExpand all lines: docs/en/get-started/macos-setup.rst
+3-18
Original file line number
Diff line number
Diff line change
@@ -34,8 +34,8 @@ ESP-IDF will use the version of Python installed by default on macOS.
34
34
35
35
Then you will need to install the XCode command line tools to continue. You can install these by running ``xcode-select --install``.
36
36
37
-
Installing and setting up Python 3 as default
38
-
---------------------------------------------
37
+
Installing Python 3
38
+
-------------------
39
39
40
40
Basing on macOS `Catalina 10.15 release notes`_, use of Python 2.7 is not recommended and Python 2.7 will not be included by default in future versions of macOS. Check what Python you currently have::
41
41
@@ -47,30 +47,15 @@ If the output is like ``Python 2.7.17``, your default interpreter is Python 2.7.
47
47
48
48
If above command returns an error, it means Python 3 is not installed.
49
49
50
-
Below is an overview of steps to install Python 3 and making it default interpreter.
50
+
Below is an overview of steps to install Python 3.
51
51
52
52
- Installing with HomeBrew_ can be done as follows::
Adjust above directory name ``/usr/local/bin/python3.8`` to point where Python 3 has been installed. To check this directory you can run ``which -a python3``.
58
55
59
56
- If you have MacPorts_, you can run::
60
57
61
58
sudo port install python38
62
-
sudo port select --set python python38
63
-
64
-
Now open a new terminal session to verify what python is running by default::
65
-
66
-
python --version
67
-
68
-
If the output is similar to ``Python 3.8.5``, your installation has been done successfully.
69
-
70
-
71
-
.. note::
72
-
73
-
This is system-wide change which may affect all of the applications.
0 commit comments