Address common issues with load path configuration in docs #5356

Merged
Jackenmen merged 7 commits from V3/address_path_problems_once_and_for_all into V3/develop 2021-11-02 20:38:07 +01:00
Jackenmen commented 2021-10-01 19:26:50 +02:00 (Migrated from github.com)

Description of the changes

  • Add instructions on how to add pyenv to load path
    • I include support for zsh in pyenv load path instructions because why not
  • Make instructions for Mac work when shell-specific profile (.bash_profile/.zprofile) file exists

See docs preview:

I know these are somewhat complicated but I expect users will just copy-paste though so it shouldn't particularly matter.

Could use some additional testing.

### Description of the changes - Add instructions on how to add pyenv to load path - I include support for zsh in pyenv load path instructions because why not - Make instructions for Mac work when shell-specific profile (.bash_profile/.zprofile) file exists See docs preview: - Mac: https://red-discordbot--5356.org.readthedocs.build/en/5356/install_guides/mac.html - pyenv instructions: - Python 3.9 (shown for CentOS but it's same for other OSes): https://red-discordbot--5356.org.readthedocs.build/en/5356/install_guides/centos-7.html#installing-python-with-pyenv - Python 3.8 (shown for Raspberry Pi OS): https://red-discordbot--5356.org.readthedocs.build/en/5356/install_guides/raspberry-pi-os-10.html#installing-python-with-pyenv I know these are somewhat complicated but I expect users will just copy-paste though so it shouldn't particularly matter. Could use some additional testing.
TwinDragon (Migrated from github.com) reviewed 2021-10-08 16:29:43 +02:00
TwinDragon (Migrated from github.com) left a comment
No description provided.
Before I ran through the commands, I cleared out anything in both my `.bashrc` and `.profile` files for Debian 10 so I had a clean slate to work with and ran through each command as provided. They worked fine, no errors to report and pyenv was running just fine in my PATH. I think this will help in the future so long as pyenv doesn't change anything again.
Jackenmen (Migrated from github.com) reviewed 2021-10-12 22:12:25 +02:00
@ -0,0 +1,19 @@
To install/update pyenv, run the following command:
Jackenmen (Migrated from github.com) commented 2021-10-12 22:12:25 +02:00

This should instead say to log out and re-login - in desktop environments with a terminal app, ~/.profile only gets sourced on login.

This should instead say to log out and re-login - in desktop environments with a terminal app, `~/.profile` only gets sourced on login.
aikaterna (Migrated from github.com) approved these changes 2021-11-02 20:37:37 +01:00
aikaterna (Migrated from github.com) left a comment

Mac changes look good now that we got to work through this together. Thanks for the help Jack.

Mac changes look good now that we got to work through this together. Thanks for the help Jack.
red-githubbot[bot] commented 2021-11-02 20:38:10 +01:00 (Migrated from github.com)

Thanks jack1142 for the PR 🎉. I'm working now to backport this PR to: 3.4.

Thanks jack1142 for the PR 🎉. I'm working now to backport this PR to: 3.4.
red-githubbot[bot] commented 2021-11-02 20:38:15 +01:00 (Migrated from github.com)

#5436 is a backport of this pull request to Red 3.4.

#5436 is a backport of this pull request to [Red 3.4](https://github.com/Cog-Creators/Red-DiscordBot/tree/3.4).
Sign in to join this conversation.
No reviewers
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Mrcoolgamer11/Red-DiscordBot!5356
No description provided.