1

After updating my system via pacman (arch linux 4.18) most of the python scripts aren't working anymore (errors about missing modules, pipenv errors, vim plugins errors).

How can I revert python to 3.6?

Google didn't offer any satisfying solutions on that issue

ruohola
  • 21,987
  • 6
  • 62
  • 97
jjk
  • 592
  • 1
  • 6
  • 23
  • i have same problem please tell me the solution if you fix it – devmrh Aug 29 '18 at 11:14
  • Possible duplicate of [How to downgrade python from 3.7 to 3.6](https://stackoverflow.com/questions/52584907/how-to-downgrade-python-from-3-7-to-3-6) – Innat Nov 08 '18 at 08:44

3 Answers3

2

Uninstall your current installation with:

$ pacman -Rdd python

and then install this package: https://aur.archlinux.org/packages/python36/

ruohola
  • 21,987
  • 6
  • 62
  • 97
0

Use conda search python to select the version of python you want to downgrade to then use something like conda install python=3.6.0 if you want to downgrade to 3.6.0

-4

Try this in your terminal/cmd:

$ brew unlink python
$ brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/e128fa1bce3377de32cbf11bd8e46f7334dfd7a6/Formula/python.rb
$ brew switch python 3.6.5
saran3h
  • 12,353
  • 4
  • 42
  • 54