I tried downgrading parso by
conda install parso=0.5.2
This seemed to worked and I checked by
conda list parso
# packages in environment at /home/thor/.conda/envs/thor:
#
# Name Version Build Channel
parso 0.5.2 py_0 conda-forge
However, when I run python, I still get the previous version
python
Python 3.8.2 | packaged by conda-forge | (default, Apr 24 2020, 08:20:52)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import parso
>>> parso.__version__
'0.7.0'
What am I doing wrong? How do I downgrade a package so that python finds the downgraded version? Edit: I also tried installing in a new environment, with the same result. In the base environment, conda list parso gives version 0.1.1, but running python again gives version 0.7.0. So how do I make python run in a specific environment?