問題描述
我曾經在 Windows 7 中對 Anaconda 2(即 Python 2.7)使用了幾個基于 Unix 的命令.例如,這些命令 ls, mkdir, rm,...
可以正常使用Anaconda 命令提示符.
I used to use several Unix-based commands with Anaconda 2 (i.e., Python 2.7) in Windows 7. For example, these commands ls, mkdir, rm,...
can work properly with Anaconda Command Prompt.
最近,我已升級到 Windows 10 并安裝了運行 Python 3.5 的 Anaconda 3.上面提到的這些命令不能在 Anaconda 3 中使用.我嘗試卸載并重新安裝 Anaconda 3 多次,但它可以像以前一樣工作.
Recently, I have upgraded to Windows 10 and installed Anaconda 3 running with Python 3.5. These command mentioned above cannot be used in the Anaconda 3. I have tried to uninstalled and reinstalled Anaconda 3 for times, but it can work as before.
有人有建議嗎?
推薦答案
在 Anaconda Prompt 的命令行中,使用 conda 安裝 m2-base 實用程序:
At the command line in Anaconda Prompt, use conda to install the m2-base utilities:
conda install m2-base
這將為您提供基本的 linux 命令.
This will give you the basic linux commands.
這篇關于在 Windows 操作系統中使用基于 Unix 的命令和 Anaconda的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!