Skip to content

Commit

Permalink
Update install.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy-Python-Programmer authored Jul 29, 2020
1 parent 714dfa3 commit c091c55
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,33 @@ dependencies (mainly numpy and vispy), so run
$ pip install p5 --user
to install the latest p5 version. In case the automatically
to install the latest p5 version.


Troubleshooting
---------------

1. In case the automatically
installation fails, try installing the dependencies separately:

.. code:: bash
$ pip install numpy
$ pip install vispy
2. If you get a error that says ``Microsoft Visual C++ is required`` then follow the below steps:

- Install the prebuilt version of vispy from here: https://www.lfd.uci.edu/~gohlke/pythonlibs/#vispy. For instance if you have python 3.8 then download the cp38 one.

- Open terminal and cd into the directory in which you downloaded the prebuilt vispy file.

- Then in terminal type:
.. code:: bash
$ pip install file_downloaded.whl
$ pip install p5 --user
In case of other installation problems, open an issue on the main `p5
Github <https://github.com/p5py/p5/issues>`_ repository.



0 comments on commit c091c55

Please sign in to comment.