博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
virtualenv 运行python 解决依赖冲突问题 尤其是django那种蛋疼的版本问题
阅读量:6983 次
发布时间:2019-06-27

本文共 491 字,大约阅读时间需要 1 分钟。

  1. Create a python virtual environment and install python dependencies.

    cd evalaivirtualenv venvsource venv/bin/activate  # run this command everytime before working on projectpip install -r requirements/dev.txt
  2. Change Postgresql credentials in settings/dev.py and run migrations

    Use your postgres username and password for fields USER and PASSWORD in dev.py file. After changing credentials, run migrations using the following command:

    even/bin/python manage.py migrate --settings=settings.dev

转载地址:http://sktpl.baihongyu.com/

你可能感兴趣的文章
注意;
查看>>
Selenium 使用要点记录<二>
查看>>
Windows与Linux系统拷贝文件之pscp的使用
查看>>
_xmlXPathNewContext", referenced from
查看>>
Netty3之ServerBootstrap分析
查看>>
小木木的Python学习笔记
查看>>
用SQL语句添加删除修改字段
查看>>
查md5或者sha1值
查看>>
spring MVC(2)--注解Hello World
查看>>
httpclient 小例子编写
查看>>
我的友情链接
查看>>
修改了系统时间后,myeclipse 和tomcat下的代码不同步了
查看>>
IDEA 一直不停的scanning files to index解决办法
查看>>
运维少年系列 python and cisco (1)
查看>>
c#时间转换
查看>>
调度器Quartz的简述与使用总结
查看>>
smokeping 安装
查看>>
Linux下安装oracle数据库步骤
查看>>
yum 不小心删除后安装
查看>>
vim 使用
查看>>