Skip to content

u/SurfaceScientist

In this archive from Dec 2017 to Sep 2018

1
posts
9
comments
1
media
241
score

Top posts

Top comments

You should be using virtual environments for every project. Virtualenv is commonly used for this purpose.

Simply create a python repo directory in your home folder, install the python version you need to it, install the packages you need, and if you feel fancy, alias an easy-to-remember command to source it in your .bashrc.

for example

alias p27='source ~/pyenv/py2.7/bin/activate'
alias p36='source ~/pyenv/py3.6/bin/activate'

Then, when you have a project that uses python 2.7, simply source it, do your work, and when you're done, deactivate it.

Bonus, you won't mix non-repo packages with your repo python version, so you're not gonna mess up anything either.

7 points

Updating an Ubuntu LTS to the next LTS frequently fucks everything. There's no inherent stability there. I've had this happen on laboratory machines several times before I just moved everything to arch out of exasperation.

Sure, shit will break once in a while, but never as catastrophically as during an Ubuntu LTS upgrade.

2 points

I also dropped qt5-doc and qt5-examples. I don't think there should be any issues beyond not having them stored locally.

​

1039.49 MiB  texlive-fontsextra
450.07 MiB   wine
384.74 MiB   texlive-core
375.96 MiB   libreoffice-fresh
315.84 MiB   emos
297.60 MiB   linux-firmware
209.46 MiB   magics++
186.85 MiB   google-chrome
169.60 MiB   jre10-openjdk-headless
160.14 MiB   boost

​

1 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.