Sample Header Ad - 728x90

How do I clear the cache without restarting my terminal?

0 votes
1 answer
1408 views
I'm currently working on the POD supercomputer at UT Austin. Tech support for the supercomputer couldn't help me. There's a specific version of Python (3.9) I want to use in my Anaconda environment, but an incorrect version of Python (3.11) is cached: enter image description here I initially solved this issue by doing hash -r and then restarting my terminal (the changes don't take place unless I restart it). However, this solution doesn't work when I type "screen." The cached location for Python comes back. I can't do hash -r and then restart "screen" because it'll create a new process and the cache comes back. Do you have a solution for clearing the hash table whenever I do "screen?" Thanks!
Asked by himinam (1 rep)
Jan 2, 2024, 09:01 PM
Last activity: Jan 2, 2024, 11:07 PM