In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
I. introduction of the system environment
Brief introduction of software and virtual environment
Third, install conemu
Fourth, install anaconda
Create a virtual environment
I. introduction of the system environment
Win7-64-bit flagship version, can connect to the Internet.
Brief introduction of software and virtual environment
Conemu is a multi-tasking window that replaces the black frame of windows's default cmd. It is very beautiful.
Anaconda is an open source Python distribution that contains more than 180 science packages such as conda and Python and their dependencies. Because it contains a large number of science packages, the download file of Anaconda is relatively large (about 515 MB). If you only need some packages, or if you need to save bandwidth or storage space, you can also use Miniconda, a smaller distribution (including only conda and Python). We use miniconda for installation in this section.
When you are developing a website or a Web project with Django, it is very common that you have to install external libraries to support development. With a virtual environment, each project you develop will have its own independent environment. In this way, the dependencies between packages will not conflict. It also allows you to run local machine projects on different Django versions.
Third, install conemu
1. Download address:
Https://www.fosshub.com/ConEmu.html
two。 Installation
After decompression, put it to C:\ Program Files.
Copy ConEmu64.exe and paste and rename it to cmdd (convenient for quick call later)
3. Add to PATH (system environment variable)
C:\ Program Files\ ConEmuPack
4. Add alias
To facilitate subsequent use of conda, add aliases for commonly used commands
In settings- > Startup > Environment
Alias acronym configuration:
Alias cl=conda env listalias cc=conda create-n $* alias coa=activate $* alias cod=deactivatealias cr=conda remove-- all-n $*
Fourth, install anaconda
1. Help documentation:
Https://mirrors.tuna.tsinghua.edu.cn/help/anaconda/
Download address:
Https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/
two。 Installation
Automatically install the latest python3.6
Create a virtual environment
1. Configure anaconda mirror source of Tsinghua University
Conda config-add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/conda config-add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/conda config-set show_channel_urls yes
two。 Create a python2-based environment (executed in conemu)
Conda create-n py2 python=2
3. Create a new simple python file and test the use of
4. Enter cmdd directly in the resource management search
5. Automatically opens conemu and jumps to that directory
6. Create a python3.6-based django-only environment
Conda create python=3.6 django-n py3.6-dj
7. View the virtual environment directory path
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.