I have been running a module on my windows machine for quite awhile now and it has not been giving me any problems. I usually run it via the following command on my git bash terminal
conda activate condaenv
python -m modulename
Today I got the following error
C:\Users\user\Miniconda3\envs\condaenv\python.exe: No module named modulename/
Additionally, when I run any conda environment python
in the git bash terminal, it just hangs.
Using winpty python
as suggested by this answer works. But when I try winpty python -m modulename
I get the same error as before.
I am able to run the module without any problems with the same commands from the windows command prompt.
How do I go about troubleshooting this? It is crucial that I use git bash as I am using a few bash tools in my module.