Hey folks! I run Mint 18.3 and I have both Pyhon3.5 and Python3.6 since many devs got crazy with fstring syntactic sugar.
How to deal with Pip module management? The 3.5 version (which is python3
) is fine and can import everything as usual, but the 3.6 version (which is python3.6
) cannot.
Suggestions?
EDIT: thanks all ^^
I ended up using:
$> python3.6 -m pip install {module I need}
Wait, mint is still stuck on py3.5? Maybe it’s time to consider a distro switch…
Idk, I have an older version.
Generally every python3 app these days requires py3.6.1+ because this version has some major changes. You should really upgrade.
You should probably never upgrade your system version of python, as the OS might be dependant on it. If I need a newer python version than my OS supports out of the box, I’ll first check the official repos to see if a newer version is available, and otherwise I’ll compile from source, which really isn’t that difficult.
I’ll do so at some point. I am conservative in system updates.
What was the driving force pushing forward from 3.5.x to 3.6.1+? Is it just syntactic sugar?
There are major syntax updates for asynchronous programming, f-strings and few other minor but useful things like
pathlib.Path
objects which are often used in desktop apps and CLIs.Thanks to clarify!
I am too noob to assess how many programs could critically benefit from these advancements. The programs I have encounter until now - a niche of a niche of the scientific community - break the backwards compatibility just for fstrings. Also, I am not confident with interfaces and more on the back-end side. That is why my experience is biased against syntactic sugar.
I am glad people find useful these brand-new features and open to learn them. :hugging face:
Cheers, 3.6 was a really good release! Releases like this are somewhat rare in programming languages so confusion is understandable :)