Python interpreter history in anaconda doesn't work

Viewed 82

I'm using Python under Anconda in Ubuntu running on WSL2.

When I use arrow keys to go through the command history control characters (I assume) are printed instead of showing the previous commands:

enter image description here

When not using an Anaconda environment the history works as expected.

I have installed readline in the Anaconda environment in attempt to fix it, but that didn't work.

How can I fix this?

0 Answers
Related