This is a question for engineers in their 50s.
Young people may not get used to it.
It seems that it is possible to install mingw(gcc, gfortran) on Anaconda as follows.
conda install-canaconda Mingw
If possible, I would like to use the unix command (bash, vim, sed, awk, find, ...), but is it on the conda list?
I displayed it on the conda list, but I have no idea.
If anyone knows, please let me know.
I was using MinGW conveniently, but I would like to introduce Python (numpy, scipy, matplotlib), which has recently become a hot topic.
MinGW doesn't seem to be maintained recently either.
What replaces the unix command (especially the shell environment)?
powershell,bat file?
Instead of MinGW, Cygwin can use the UNIX Shell environment on Windows.gcc is also included in cygwin, and if you select a package in the installer, it will be installed. (I'm not sure about Fortran, but I think there might be...)
You can then move Anaconda (Windows version) from Cygwin.
If you add Anaconda to the environment variable PATH on Cygwin side, you can use it normally.
However, please note that there are some things that are easy to fall in love with.
From Cygwin, the Windows drive appears in the /cygdrive/drive letter/
path, so please reread it accordingly and set the environment variable PATH appropriately.
Example) If the installation destination is C:\Users\username\AppData\Local\Continuum\Anaconda3
, Cygwin will be /cygdrive/C/Users/username/AppData/Local/Continuum/Anaconda3
.
There is a terminal application for Cygwin called mintty.exe, which looks better than the black screen in the Windows example, but with this, the Python version of Windows does not work properly.Launch Shell by running the batch file (CYGWIN destination\Cygwin.bat
).Then Shell will start on the black screen. According to Improve support for native console programs ·Issue #56 ·mintty/mintty, the same symptoms appear in xterm
rxvt
.
$ANACONDA_HOME=/cygdrive/C/Users/take88/AppData/Local/Continuum/Anaconda3
$ PATH=$ANACONDA_HOME:$ANACONDA_HOME/Scripts:$PATH
$ export PATH
$ which python
/cygdrive/C/Users/take88/AppData/Local/Continuum/Anaconda3/python
$ which conda
/cygdrive/C/Users/take88/AppData/Local/Continuum/Anaconda3/Scripts/conda
© 2024 OneMinuteCode. All rights reserved.