forked from platformio/platformio-core
Add answer to FAQ when Program “platformio” not found in PATH // Resolve #272
This commit is contained in:
@ -19,6 +19,8 @@ Release History
|
|||||||
* Updated ``tool-teensy`` for `Teensy <http://docs.platformio.org/en/latest/platforms/teensy.html>`__
|
* Updated ``tool-teensy`` for `Teensy <http://docs.platformio.org/en/latest/platforms/teensy.html>`__
|
||||||
platform
|
platform
|
||||||
(`issue #268 <https://github.com/platformio/platformio/issues/268>`_)
|
(`issue #268 <https://github.com/platformio/platformio/issues/268>`_)
|
||||||
|
* Added answer to FAQ when `Program "platformio" not found in PATH <http://docs.platformio.org/en/latest/faq.html#faq-troubleshooting-pionotfoundinpath>`_
|
||||||
|
(`issue #272 <https://github.com/platformio/platformio/issues/272>`_)
|
||||||
* Fixed includes list for Windows OS when generating project for `Eclipse IDE <http://docs.platformio.org/en/latest/ide/eclipse.html>`__
|
* Fixed includes list for Windows OS when generating project for `Eclipse IDE <http://docs.platformio.org/en/latest/ide/eclipse.html>`__
|
||||||
(`issue #270 <https://github.com/platformio/platformio/issues/270>`_)
|
(`issue #270 <https://github.com/platformio/platformio/issues/270>`_)
|
||||||
* Fixed ``AttributeError: 'module' object has no attribute 'packages'``
|
* Fixed ``AttributeError: 'module' object has no attribute 'packages'``
|
||||||
|
22
docs/faq.rst
22
docs/faq.rst
@ -75,6 +75,28 @@ There are a few options:
|
|||||||
- masking under Continuous Integration system via environment variable
|
- masking under Continuous Integration system via environment variable
|
||||||
:envvar:`CI=true <CI>`.
|
:envvar:`CI=true <CI>`.
|
||||||
|
|
||||||
|
.. _faq_troubleshooting_pionotfoundinpath:
|
||||||
|
|
||||||
|
Program ``platformio`` not found in PATH
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Where is ``platformio`` binary installed? Run this command in Terminal
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
# for Unix
|
||||||
|
which platformio
|
||||||
|
echo $PATH
|
||||||
|
|
||||||
|
# for Windows OS
|
||||||
|
where platformio
|
||||||
|
echo %PATH%
|
||||||
|
|
||||||
|
For example, ``which platformio`` is equal to ``/usr/local/bin/platformio``,
|
||||||
|
then `PATH (wiki) <https://en.wikipedia.org/wiki/PATH_(variable)>`_
|
||||||
|
should contain ``/usr/local/bin`` directory.
|
||||||
|
|
||||||
|
Answered in `issue #272 <https://github.com/platformio/platformio/issues/272#issuecomment-133372487>`_.
|
||||||
|
|
||||||
Windows: ``UnicodeDecodeError: 'ascii' codec can't decode byte``
|
Windows: ``UnicodeDecodeError: 'ascii' codec can't decode byte``
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
@ -20,6 +20,11 @@ page for more detailed information.
|
|||||||
Integration
|
Integration
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
Please verify that folder where is located ``platformio`` program is added
|
||||||
|
to `PATH (wiki) <https://en.wikipedia.org/wiki/PATH_(variable)>`_ environment
|
||||||
|
variable. See FAQ: :ref:`faq_troubleshooting_pionotfoundinpath`.
|
||||||
|
|
||||||
Using `Atom Packages <https://atom.io/docs/v1.0.2/using-atom-atom-packages>`_
|
Using `Atom Packages <https://atom.io/docs/v1.0.2/using-atom-atom-packages>`_
|
||||||
please install `platomformio <https://atom.io/packages/platomformio>`_ package.
|
please install `platomformio <https://atom.io/packages/platomformio>`_ package.
|
||||||
|
|
||||||
|
@ -22,6 +22,11 @@ page for more detailed information.
|
|||||||
Integration
|
Integration
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
Please verify that folder where is located ``platformio`` program is added
|
||||||
|
to `PATH (wiki) <https://en.wikipedia.org/wiki/PATH_(variable)>`_ environment
|
||||||
|
variable. See FAQ: :ref:`faq_troubleshooting_pionotfoundinpath`.
|
||||||
|
|
||||||
Project Generator
|
Project Generator
|
||||||
^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
@ -26,6 +26,11 @@ page for more detailed information.
|
|||||||
Integration
|
Integration
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
Please verify that folder where is located ``platformio`` program is added
|
||||||
|
to `PATH (wiki) <https://en.wikipedia.org/wiki/PATH_(variable)>`_ environment
|
||||||
|
variable. See FAQ: :ref:`faq_troubleshooting_pionotfoundinpath`.
|
||||||
|
|
||||||
Project Generator
|
Project Generator
|
||||||
^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
@ -18,6 +18,11 @@ page for more detailed information.
|
|||||||
Integration
|
Integration
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
Please verify that folder where is located ``platformio`` program is added
|
||||||
|
to `PATH (wiki) <https://en.wikipedia.org/wiki/PATH_(variable)>`_ environment
|
||||||
|
variable. See FAQ: :ref:`faq_troubleshooting_pionotfoundinpath`.
|
||||||
|
|
||||||
Project Generator
|
Project Generator
|
||||||
^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
@ -18,6 +18,11 @@ page for more detailed information.
|
|||||||
Integration
|
Integration
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
Please verify that folder where is located ``platformio`` program is added
|
||||||
|
to `PATH (wiki) <https://en.wikipedia.org/wiki/PATH_(variable)>`_ environment
|
||||||
|
variable. See FAQ: :ref:`faq_troubleshooting_pionotfoundinpath`.
|
||||||
|
|
||||||
Project Generator
|
Project Generator
|
||||||
^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
@ -15,6 +15,11 @@ This software can be used with:
|
|||||||
Integration
|
Integration
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
Please verify that folder where is located ``platformio`` program is added
|
||||||
|
to `PATH (wiki) <https://en.wikipedia.org/wiki/PATH_(variable)>`_ environment
|
||||||
|
variable. See FAQ: :ref:`faq_troubleshooting_pionotfoundinpath`.
|
||||||
|
|
||||||
Recommended bundles:
|
Recommended bundles:
|
||||||
|
|
||||||
* Syntax highlight - `Arduino-syntax-file <https://github.com/vim-scripts/Arduino-syntax-file>`_
|
* Syntax highlight - `Arduino-syntax-file <https://github.com/vim-scripts/Arduino-syntax-file>`_
|
||||||
|
@ -18,6 +18,11 @@ page for more detailed information.
|
|||||||
Integration
|
Integration
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
Please verify that folder where is located ``platformio`` program is added
|
||||||
|
to `PATH (wiki) <https://en.wikipedia.org/wiki/PATH_(variable)>`_ environment
|
||||||
|
variable. See FAQ: :ref:`faq_troubleshooting_pionotfoundinpath`.
|
||||||
|
|
||||||
Project Generator
|
Project Generator
|
||||||
^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user