zoukankan      html  css  js  c++  java
  • Windows10 64位部署odoo12开发环境

    预装Windows10 64位家庭版电脑一台 2019年7月

    安装Python,这里的版本选择上有个坑,不要装最新的Python 3.7.x,原因是odoo12依赖pillow 4.0.0库,而这个4.0.0版本的pillow库在python 3.7.x下安装会报Zlib找不到的错。

    移步https://www.python.org/downloads/windows/

    下载 Python 3.6.8 Windows x86-64 executable installer 安装

    安装Postgresql

    https://www.enterprisedb.com/downloads/postgres-postgresql-downloads

    下载Windows x86-64 10.10版本

    安装git

    https://gitforwindows.org/

    安装pycharm社区版

    www.jetbrains.com/pycharm/download/#section=windows

    拉取odoo源码

    https://github.com/odoo/odoo

    生成python虚拟环境

    可以在Pycharm中设置

    安装visualcppbuildtools_full.exe

    如果跳过此步骤,后面安装Python依赖库时会报错Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools"

    下载地址:http://go.microsoft.com/fwlink/?LinkId=691126

    安装odoo的python依赖库

    pip install -r requirements.txt

    pip安装上一步遗漏的

    pip install psycopg2 psutil

    编辑odoo的启动配置文件

    启动odoo

    参考文章

    https://devblogs.microsoft.com/python/unable-to-find-vcvarsall-bat/

    https://www.jianshu.com/p/a64d8c78390d?tdsourcetag=s_pctim_aiomsg

  • 相关阅读:
    NSString+URLEncoding
    编码解码
    RESTful架构理解
    jvm调优
    java大数据处理调优
    SQL 优化
    正确处理下载文件时HTTP头的编码问题(Content-Disposition)
    Spring 多媒体(文件上传)支持
    mybatis类型转换
    log4j Spring aop 注解的日志管理
  • 原文地址:https://www.cnblogs.com/jlzhou/p/11412884.html
Copyright © 2011-2022 走看看