mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-07 09:52:30 -05:00
Address common issues with load path configuration in docs (#5356)
* Add instructions on how to add pyenv to load path * Support zsh in pyenv load path instructions * Make instructions for Mac work when shell-specific profile file exists * Includes are weird... * . * Fix my misunderstanding of what files zsh sources * Operator precedence, or something like that
This commit is contained in:
@@ -6,14 +6,7 @@ On distributions where Python 3.9 needs to be compiled from source, we recommend
|
||||
This simplifies the compilation process and has the added bonus of simplifying setting up Red in a
|
||||
virtual environment.
|
||||
|
||||
.. prompt:: bash
|
||||
|
||||
command -v pyenv && pyenv update || curl https://pyenv.run | bash
|
||||
|
||||
**After this command, you may see a warning about 'pyenv' not being in the load path. Follow the
|
||||
instructions given to fix that, then close and reopen your shell.**
|
||||
|
||||
Then run the following command:
|
||||
.. include:: _includes/_install-pyenv-and-setup-path.rst
|
||||
|
||||
.. prompt:: bash
|
||||
|
||||
|
||||
Reference in New Issue
Block a user