Skip to content

Commit

Permalink
Updating install.rst to include ENOENT error
Browse files Browse the repository at this point in the history
  • Loading branch information
aadibiasi committed Sep 23, 2024
1 parent 0bf8dbf commit 2be162a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ guides you can find online.
Windows users should also install Perl at this point if not already installed. You can use ``conda install -c conda-forge perl`` to do this.
If you do not wish to use Anaconda, or if you do not wish to install Perl through Anaconda, we suggest `Strawberry Perl <https://strawberryperl.com/>`_.

Windows users may come across the error ``spawn bionetgen ENOENT process exited with code -4058``. If this happens you should go into the VS Code Extension settings
and enable ``General: Enable_terminal_runner`` as per `these instructions <https://bionetgen.readthedocs.io/en/latest/vsc_options.html>`

Finally, open a ``.bngl`` file in VS Code; this should check if PyBioNetGen is installed, and will automatically install it if not. Once complete, make sure it's installed correctly by
running ``bionetgen -h``. If this doesn't work, you can open the command palette (``CTRL/CMD + SHIFT + P``) and run the ``BNG setup`` command.
Alternatively, you can open a terminal and run the install command (``pip install bionetgen``) yourself.
Expand Down

0 comments on commit 2be162a

Please sign in to comment.