forked from platformio/platformio-core
Improve installation section
This commit is contained in:
@ -27,13 +27,7 @@ Then run the following (which may require administrator access):
|
|||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
$ python get-platformio.py
|
$ [sudo] python get-platformio.py
|
||||||
|
|
||||||
An alternative short version for *Mac/Linux* users:
|
|
||||||
|
|
||||||
.. code-block:: bash
|
|
||||||
|
|
||||||
$ curl -L https://raw.githubusercontent.com/ivankravets/platformio/develop/scripts/get-platformio.py | python
|
|
||||||
|
|
||||||
|
|
||||||
On *Windows OS* it may look like:
|
On *Windows OS* it may look like:
|
||||||
@ -43,9 +37,11 @@ On *Windows OS* it may look like:
|
|||||||
C:\Python27\python.exe get-platformio.py
|
C:\Python27\python.exe get-platformio.py
|
||||||
|
|
||||||
.. warning::
|
.. warning::
|
||||||
If you have an error ``pkg_resources.DistributionNotFound`` try to
|
**Mac OS Users**: If you have an error ``pkg_resources.DistributionNotFound`` please
|
||||||
uninstall *PlatformIO* ``$ pip uninstall platformio``, then install it via
|
upgrade *SetupTools* package: ``$ [sudo] pip uninstall setuptools``
|
||||||
``$ easy_install platformio``.
|
and ``$ [sudo] pip install setuptools``.
|
||||||
|
Then re-install *PlatformIO*: ``$ [sudo] pip uninstall platformio``
|
||||||
|
and ``$ [sudo] pip install platformio``.
|
||||||
|
|
||||||
|
|
||||||
Full Guide
|
Full Guide
|
||||||
|
Reference in New Issue
Block a user