简体   繁体   English

Windows中的Anaconda虚拟环境django

[英]Anaconda virtual environment django in windows

虚拟环境

I created a virtual environment using anaconda in windows, and there are a lot of stuff installed within the virtual environment, when I tried to add my project to the github, it listed all the files within the directory to be committed and showed the follow warnings: LF will be replaced by CRLF. 我在Windows中使用anaconda创建了一个虚拟环境,并且在虚拟环境中安装了很多东西,当我尝试将项目添加到github时,它列出了要提交的目录中的所有文件,并显示了以下警告:LF将被CRLF取代。

how can I properly set up a virtual envs by using Anaconda3 to start my django project, many thanks. 我如何使用Anaconda3正确地设置虚拟环境来启动django项目,非常感谢。

You have to change your git setting 您必须更改git设置

git config core.autocrlf true

Windows and unix systems use different line breakpoints and this just says that your committing from a windows machine Windows和UNIX系统使用不同的行断点,这只是说您从Windows计算机提交

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM