Open hitbuyi opened 2 years ago
I found python -i work BUT python without "-i" not work
windows python has a tendency to misbehave in a bash shell you can actually see the same with some of the older mingw-w64-python2 packages where executing python2 gives no output unless you apply some switch in which case it will print to the screen. the newer versions have been patched to work in our environment.
@revelator it still happens (without the anaconda thing; just plain "vanila" python) mintty 3.6.1 win10, python 3.10 (from python.org/) (MSys2 downloaded 2022-10-06)
What errors did you see? can you use msys2 provided python or mingw python?
no problems using the mingw* python3 some older python2 models we used had the bug but im not seing it with current versions so ???
Describe the issue
After add following lines in .bash_profile
eval "$('/c/Users/YTX/Anaconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
MSYS2 recognizes the conda environments, conda list, conda activate base ,etc woks python --versionit gives the right result
the weird thing is MSYS2 don not recognizes python interpreter: $ python it gives nothing why?
Steps to Reproduce the Problem
Additional Context: Operating System, Screenshots