Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. musicman (musicman@nu.federati.net)'s status on Wednesday, 07-Nov-2018 15:12:09 EST musicman musicman
    "I would recommend pyenv to solve your woes. It doesn't use Aptitude, and does involve "building it yourself", but it's fully automated."

    So fully automated that I'm almost 1800 char over the limit pasting the instructions...

    I'm ok doing the work, but ffs, we have different ideas of automated.
    In conversation Wednesday, 07-Nov-2018 15:12:09 EST from nu.federati.net permalink
    1. musicman (musicman@nu.federati.net)'s status on Wednesday, 07-Nov-2018 15:15:26 EST musicman musicman
      in reply to
      This is what they mean is fully automated, but it's not *fully* automated...

      To not touch the system Python (generally a bad idea; OS-level services might be relying on some specific library versions, etc.) make your own environment, it's easy! Even better, no sudo, for it or pip installs!

      Install your preferred Python version (this will download the source and build it for your user, no input required)

      pyenv install 3.6.0

      Make it a virtualenv so you can make others later if you want

      pyenv virtualenv 3.6.0 general

      Make it globally active (for your user)

      pyenv global general

      Do what you want to with the Python/pip, etc. It's yours.

      If you want to clean out your libraries later, you could delete the virtualenv (pyenv uninstall general) or make a new one (pyenv virtualenv 3.6.0 other_proj). You can also have environments active per-directory: pyenv local other_proj will drop a .python-version file into your current folder and any time you invoke Python or pip-installed Python utilities from it or under it, they will be shimmed by pyenv.
      In conversation Wednesday, 07-Nov-2018 15:15:26 EST from nu.federati.net permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.