﻿{"id":3636,"date":"2019-07-11T09:08:36","date_gmt":"2019-07-11T01:08:36","guid":{"rendered":"https:\/\/www.jointd.com\/?p=3636"},"modified":"2020-03-25T15:59:38","modified_gmt":"2020-03-25T07:59:38","slug":"%e5%a4%9a%e5%9b%be%e6%b5%8b%e8%af%95%ef%bc%9amacos10-14%e4%b8%8b%e5%ae%89%e8%a3%85odoo12macos-odoo12%ef%bc%8cmojave-odoo12%e8%a7%a3%e5%86%b3error-pg_config-executable-not-found%e8%a7%a3%e5%86%b3ma","status":"publish","type":"post","link":"https:\/\/www.jointd.com\/?p=3636","title":{"rendered":"\u591a\u56fe\u6d4b\u8bd5\uff1aMacos10.14\u4e0b\u5b89\u88c5Odoo12,Macos odoo12\uff0cMojave Odoo12,\u89e3\u51b3Error: pg_config executable not found,\u89e3\u51b3mac git clone\u5927\u6587\u4ef6\u95ee\u9898\uff1b"},"content":{"rendered":"<h1>\u591a\u56fe\u6d4b\u8bd5\uff1aMacos10.14\u4e0b\u5b89\u88c5Odoo12,Macos odoo12\uff0cMojave Odoo12<\/h1>\n<p>\u6d4b\u8bd5\u73af\u5883\uff1a<br \/>\nMacOS10.14.5<br \/>\n\u5b89\u88c5Odoo\u7248\u672c\uff1aV12<\/p>\n<h2>\u5199\u5728\u524d\u9762\uff1a<\/h2>\n<p>\u4e2a\u4eba\u89c2\u70b9\uff1a\u80fd\u5728Mac\u4e0a\u4f5c\u4e3a\u5f00\u53d1\u73af\u5883\uff0c\u662f\u4e00\u4ef6\u86ee\u5f00\u5fc3\u7684\u4e8b\u60c5\uff0c<br \/>\n\u751f\u4ea7\u73af\u5883\u8fd8\u662f<strong>\u63a8\u8350\u4f7f\u7528Ubuntu Server<\/strong>\uff0c\u56e0\u4e3a\u5927\u90e8\u5206\u5f00\u53d1\u8005\u7528\u5b83\uff0c\u5bb9\u6613\u77e5\u9053\u95ee\u9898\uff0c\u6709\u95ee\u9898\u4e5f\u76f8\u5bf9\u5bb9\u6613\u627e\u5230\u89e3\u51b3\u65b9\u6848\u3002<br \/>\n\u800c\u5f00\u53d1\u73af\u5883\uff0c\u53ca\u5176\u4f9d\u8d56\u5e93\uff0c\u5c3d\u91cf\u4e0e\u751f\u4ea7\u73af\u5883\u4e00\u81f4\uff0c\u8fd9\u6837\u4e5f\u5229\u4e8e\u95ee\u9898\u91cd\u73b0\u3002<br \/>\n\u4f5c\u4e3a\u4e00\u4e2aOdoo\u7684\u4ece\u4e1a\u8005\uff0c\u9700\u8981\u89e3\u51b3\u7684\u66f4\u591a\u95ee\u9898\u662f\u5728Odoo\u4e0a\u548c\u7528\u6237\u7684\u4e1a\u52a1\u5b9e\u73b0\u4e0a\u3002<\/p>\n<h2>\u5b89\u88c5\u8981\u70b9\uff1a<\/h2>\n<p>\u5982\u679c\u662f\u672c\u5730\u7f51\u7edc\uff08\u6bd4\u5982\u516c\u53f8\u6216\u8005\u5bb6\u91cc\u7684\u7535\u8111\u4e0a\uff09\uff0c\u63a8\u8350\u5728\u65e9\u4e0a7\u70b9\u524d\u5f00\u59cb\u5b89\u88c5\uff0c\u7f51\u901f\u597d\u7684\u8bdd\uff0c30\u5206\u949f\u5de6\u53f3\u5c31\u53ef\u4ee5\u5b89\u88c5\u5b8c\u6bd5\uff0c8\u70b9\u540e\u901a\u5e38\u7f51\u901f\u5c31\u5f00\u59cb\u4e0d\u7406\u60f3\u4e86\u6574\u4e2a\u5b89\u88c5\u8fc7\u7a0b\u53ef\u80fd\u4f1a\u8d85\u8fc75-6\u4e2a\u5c0f\u65f6\u3002<\/p>\n<p>homebrew\u7684\u6e90\u4e5f\u5728github\u4e0a\uff0c\u7f51\u4e0a\u6709\u5e16\u5b50\uff0c\u6362\u4e3a\u56fd\u5185\u7684\u63d0\u9ad8\u901f\u5ea6\uff0c\u6709\u5174\u8da3\u7684\u670b\u53cb\u53ef\u4ee5\u8bd5\u8bd5\uff0c\u53c2\u8003\uff1a<a href=\"https:\/\/blog.csdn.net\/qq_33591200\/article\/details\/82882562\">https:\/\/blog.csdn.net\/qq_33591200\/article\/details\/82882562<\/a> (\u5df2\u6d4b\u6709\u5751) \u548c<br \/>\n<a href=\"https:\/\/www.jianshu.com\/p\/ff2ad9599a06\">https:\/\/www.jianshu.com\/p\/ff2ad9599a06<\/a><\/p>\n<h2>1\u3001\u5b89\u88c5git\uff1a<\/h2>\n<p>\u6253\u5f00mac\u7684Terminal\u7a0b\u5e8f\uff0c\u547d\u4ee4\u884c\u7a97\u53e3\u8f93\u5165<code>git<\/code>\u56de\u8f66\uff0c<br \/>\n\u7cfb\u7edf\u4f1a\u63d0\u793a\u9700\u8981Command Line Tools\uff0c\u5185\u542b\u7248\u672c\u7ba1\u7406\u8f6f\u4ef6git\u7b49\uff0c<br \/>\n\u6309\u63d0\u793a\u4e0b\u8f7d\u5b89\u88c5\u5373\u53ef\u3002 \uff08<em>\u7528\u4e8e\u514b\u9686odoo12\u6e90\u7801<\/em>\uff09<\/p>\n<p><a href=\"https:\/\/www.jointd.com\/?attachment_id=3637\"><img decoding=\"async\" src=\"http:\/\/www.jointd.com\/wp-content\/uploads\/2019\/07\/1git.png\" alt=\"\" \/><\/a><\/p>\n<p>\u5b89\u88c5\u540e\uff0c\u914d\u7f6egit\u53c2\u6570 (<em>\u5bf9\u5b89\u88c5Odoo\u800c\u8a00\u5e76\u975e\u5fc5\u987b<\/em>)\uff1a<\/p>\n<p><code>git config --global user.email \"yourname@youremail.com\"  <\/code> #yourname@youremail.com \u66ff\u6362\u6210\u4f60\u81ea\u5df1\u7684\u90ae\u7bb1<br \/>\n<code>git config --global user.name \"yourname\"<\/code> # yourname\u66ff\u6362\u6210\u4f60\u81ea\u5df1\u7684\u540d\u5b57<\/p>\n<h2>2\u3001\u5b89\u88c5MacOS homebrew\u5305\u7ba1\u7406\u5668\uff0c<\/h2>\n<p>Terminal\u7ec8\u7aef\u7a0b\u5e8f\u547d\u4ee4\u884c\u7a97\u53e3\u4e2d\u8f93\u5165\uff1a<\/p>\n<p><code>\/usr\/bin\/ruby -e \"$(curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/master\/install)\"<\/code><\/p>\n<p>\u56de\u8f66\u540e\uff0c\u6709\u4e00\u6b65\u8981\u8f93\u5165 \u5f53\u524dmac\u7528\u6237\u7684\u5bc6\u7801\uff0c\u7136\u540e\u5f00\u59cb\u4e0b\u8f7dHomebrew<\/p>\n<p><a href=\"https:\/\/www.jointd.com\/?attachment_id=3709\"><img decoding=\"async\" src=\"http:\/\/www.jointd.com\/wp-content\/uploads\/2019\/07\/1.png\" alt=\"\" \/><\/a><\/p>\n<p>(<em>\u622a\u56fe\u662f\u665a\u4e0a\u7684\u7f51\u901f\uff0c5.00 kb\/s \u3002\u3002\u63a8\u8350\u4e00\u5927\u6e05\u65e9 7\u70b9\u524d\u8bd5\u8bd5 19\u5e747\u67089\u65e5\u65e9\u4e0a8\u70b9\u5de6\u53f3\uff0c\u7531\u4e8e\u7f51\u901f\u95ee\u9898\u6d4b\u8bd5\u5230\u6b64\uff1b<\/em>):<\/p>\n<p>7\u670810\u65e5\u65e9\u4e0a6:30\u7ee7\u7eed\uff1a<\/p>\n<p><a href=\"https:\/\/www.jointd.com\/?attachment_id=3710\"><img decoding=\"async\" src=\"http:\/\/www.jointd.com\/wp-content\/uploads\/2019\/07\/2.png\" alt=\"\" \/><\/a><\/p>\n<h2>3\u3001\u7528Homebrew\u5b89\u88c5\u4f9d\u8d56\uff0c<\/h2>\n<p>3.1 \u5b89\u88c5git\u5927\u6587\u4ef6\u7ba1\u7406\u6269\u5c55\uff1a<\/p>\n<p><code>brew install git-lfs<\/code><\/p>\n<p>3.2\u3001\u5b89\u88c5jpeg\u5e93<\/p>\n<p><code>brew install libjpeg<\/code><\/p>\n<p>3.3\u3001\u5b89\u88c5npm\u5de5\u5177<\/p>\n<p><code>brew install node<\/code><\/p>\n<p>3.5\u3001\u5b89\u88c5less\u5e93<\/p>\n<p><code>sudo npm install -g less less-plugin-clean-css<\/code><\/p>\n<p>3.6\u3001\u5b89\u88c5macOS_SDK_headers_for_macOS_10.14<\/p>\n<p><code>sudo installer -pkg \/Library\/Developer\/CommandLineTools\/Packages\/macOS_SDK_headers_for_macOS_10.14.pkg -target \/<\/code><\/p>\n<p>\u4e0d\u5b89\u88c5\u8fd9\u4e2a\u7684\u8bdd\u4f1a\u4e4b\u540e\u5b89\u88c5odoo\u7684python\u4f9d\u8d56\u4f1a\u62a5\u9519<br \/>\n<code>Running setup.py install for pillow ... error<\/code><br \/>\n\u53c2\u8003\uff1a<a href=\"https:\/\/github.com\/python-pillow\/Pillow\/issues\/3438\">https:\/\/github.com\/python-pillow\/Pillow\/issues\/3438<\/a><\/p>\n<p>3.7\u3001\u5b89\u88c5python3<\/p>\n<p><code>brew install python3<\/code><\/p>\n<p><em>\u6ce8\uff1a\u6b64\u5904\u4f1a\u62a53\u4e2a\u6743\u9650\u7684\u8b66\u544a\uff1awarning: unable to access &#8216;\/Users\/lucy\/.config\/git\/attributes&#8217;: Permission denied<\/em><\/p>\n<h2>\u56db\u3001\u7528brew\u5b89\u88c5PostgreSQL10.0<\/h2>\n<p>\u53ef\u4ee5\u5148\u641c\u7d22\u4e0b\u6709\u54ea\u4e9b\u53ef\u7528\u7248\u672c<br \/>\n<code>brew search postgresql@<\/code><\/p>\n<p>4.1 \u5b89\u88c5\uff0c\u8fd9\u91cc\u9009\u62e9\u7684Pg10,\u800c\u4e0d\u662f\u6700\u65b0\u768411<br \/>\n<code>brew install postgresql@10<\/code><\/p>\n<p>(\u5982\u679c\u662f\u975ebrew\u5b89\u88c5\u7684pg,\u5230\u540e\u9762\u5b89\u88c5python3\u7684\u4f9d\u8d56\u65f6\u4f1a\u62a5\u9519\uff1a<br \/>\nError: pg_config executable not found.<br \/>\n<strong>\u53e6\u5916\u8981\u6ce8\u610fpg\u7248\u672c\u8981\u4e0e\u751f\u4ea7\u73af\u5883\u4e00\u81f4\uff0c\u9ad8\u7248\u672cpg\u7684\u6570\u636e\u5e93\u6062\u590d\u5230\u4f4e\u7248\u672c\u591a\u6570\u4f1a\u62a5\u9519<\/strong> )<\/p>\n<p><a href=\"https:\/\/www.jointd.com\/?attachment_id=3667\"><img decoding=\"async\" src=\"http:\/\/www.jointd.com\/wp-content\/uploads\/2019\/07\/\u5c4f\u5e55\u5feb\u7167-2019-07-12-\u4e0a\u53485.14.16.png\" alt=\"\" \/><\/a><\/p>\n<p>4.2 \u7559\u610f\u4e86\u4e0b\u63d0\u793a\u7684\u4fe1\u606f\uff0c\u6dfb\u52a0\u8def\u5f84\uff08\uff09:<\/p>\n<p><code>  echo 'export PATH=\"\/usr\/local\/opt\/postgresql@10\/bin:$PATH\"' &gt;&gt; ~\/.bash_profile<\/code><\/p>\n<p>\u5982\u679c\u9047\u5230ValueError: unknown locale: UTF-8<br \/>\n\u9700\u8981\u7f16\u8f91sudo vi ~\/.bash_profile \u52a0\u5165\u4e24\u884c<br \/>\n<code>export LC_ALL=en_US.UTF-8<\/code><br \/>\n<code>export LANG=en_US.UTF-8<\/code><\/p>\n<p>4.3 \u4e0b\u9762\u7684\u547d\u4ee4\u53ef\u4ee5\u5728\u767b\u9646\u65f6\u81ea\u52a8\u542f\u52a8postgresql\u670d\u52a1\uff1a<\/p>\n<p><code>brew services start postgresql@10<\/code><\/p>\n<p><a href=\"https:\/\/www.jointd.com\/?attachment_id=3671\"><img decoding=\"async\" src=\"http:\/\/www.jointd.com\/wp-content\/uploads\/2019\/07\/\u5c4f\u5e55\u5feb\u7167-2019-07-12-\u4e0a\u53485.27.23.png\" alt=\"\" \/><\/a><\/p>\n<p>4.4 \u5173\u95ed\u5f53\u524d\u7ec8\u7aef\uff0c\u65b0\u5f00\u4e00\u4e2a\u7ec8\u7aef\uff0c\u8ba9\u4e4b\u524d\u7684\u8def\u5f84\u751f\u6548\uff0c\u7136\u540e\u521b\u5efapostgres\u7528\u6237 \u8fd0\u884c\uff1a<\/p>\n<p><code>createuser -s postgres<\/code><\/p>\n<p>4.5 \u8fdb\u5165\u6570\u636e\u5e93\u547d\u4ee4\u884c<br \/>\n<code>psql -U postgres -d postgres -h 127.0.0.1<\/code><\/p>\n<p><a href=\"https:\/\/www.jointd.com\/?attachment_id=3679\"><img decoding=\"async\" src=\"http:\/\/www.jointd.com\/wp-content\/uploads\/2019\/07\/\u5c4f\u5e55\u5feb\u7167-2019-07-12-\u4e0a\u53486.09.08.png\" alt=\"\" \/><\/a><\/p>\n<p>4.5 \u8fdb\u5165\u6570\u636e\u5e93\u547d\u4ee4\u884c\u540e \uff0c\u521b\u5efa\u6570\u636e\u5e93\u7528\u6237odoo\u548c\u5176\u5bc6\u7801\uff1b<br \/>\n\u6ce8\u610f\u547d\u4ee4\u4e2d\uff0c\u524d\u540e\u4e24\u79cd\u5f15\u53f7\u7684\u533a\u522b\uff1a<\/p>\n<p><code>create user \"odoo\" with password 'odoo' createdb;<\/code><\/p>\n<p><a href=\"https:\/\/www.jointd.com\/?attachment_id=3681\"><img decoding=\"async\" src=\"http:\/\/www.jointd.com\/wp-content\/uploads\/2019\/07\/\u5c4f\u5e55\u5feb\u7167-2019-07-12-\u4e0a\u53486.10.52.png\" alt=\"\" \/><\/a><\/p>\n<p>\u8fd8\u53ef\u4ee5\u4fee\u6539\u4e0bpostgres\u7684\u5bc6\u7801\uff0c\u4ee5\u5907\u4e4b\u540epgadmin\u8fdc\u7a0b\u8bbf\u95ee\u3002<\/p>\n<p><code>ALTER USER postgres WITH PASSWORD 'odoo'; <\/code><\/p>\n<p><a href=\"https:\/\/www.jointd.com\/?attachment_id=3686\"><img decoding=\"async\" src=\"http:\/\/www.jointd.com\/wp-content\/uploads\/2019\/07\/\u5c4f\u5e55\u5feb\u7167-2019-07-12-\u4e0a\u53486.29.05.png\" alt=\"\" \/><\/a><\/p>\n<p>4.6 \\q \u9000\u51fapsgl\u6570\u636e\u5e93\u547d\u4ee4\u884c<\/p>\n<p><strong>\u7f16\u8005\u6ce8\uff1a\u672c\u6587\u7565\u8fc7\u4e86virtualenv\u90e8\u5206\uff0c\u6709\u9700\u8981\u7684\u670b\u53cb\u53ef\u4ee5\u53c2\u8003\u5176\u5b83\u6587\u7ae0\u81ea\u884c\u914d\u7f6e\u3002<br \/>\n<\/strong><\/p>\n<h2>5\u3001\u4e0b\u8f7dodoo 12.0\u6e90\u7801\uff1a<\/h2>\n<p>\uff08\u63a8\u8350\u65e9\u4e0a7\u70b9\u524d\u901a\u8fc7github clone\uff0c\u901f\u5ea6\u4f1a\u5feb\u5f88\u591a\uff09<\/p>\n<p>\u5728\u76ee\u5f55\uff5e\uff08~\u5c31\u662f\u5f53\u524d\u7528\u6237\u7684home\u76ee\u5f55\uff09\u4e0b\u521b\u5efaodoo-dev\u76ee\u5f55\uff0c\u5c06odoo12\u6e90\u7801\u62c9\u5230\uff5e\/odoo-dev\/odoo\/odoo12 (<em>odoo\u7684\u5b89\u88c5\u8def\u5f84\u6b64\u5904\u4ec5\u4f9b\u53c2\u8003\uff0c\u5c11\u8bb8\u6709\u70b9\u6df1\u3002\u3002\u3002<\/em>)\uff1a<br \/>\n<code>mkdir odoo-dev<\/code><br \/>\n<code>cd odoo-dev<\/code><br \/>\n<code>mkdir odoo<\/code><br \/>\n<code>cd odoo<\/code><br \/>\n\u7136\u540e<br \/>\n<code>git clone https:\/\/github.com\/odoo\/odoo.git --depth 1 --branch 12.0 --single-branch odoo12<\/code><\/p>\n<p><em>\u5982\u679c\u5accgit\u592a\u6162\uff0c\u8003\u8651\u53bb <a href=\"http:\/\/nightly.odoo.com\/12.0\/nightly\/src\/\">http:\/\/nightly.odoo.com\/12.0\/nightly\/src\/<\/a><br \/>\n\u4e0b\u8f7dzip\u7248\uff0c\u7136\u540e\u89e3\u538b\uff0c\u6ce8\u610f\uff0c\u89e3\u538b\u51fa\u6765\u540e\u68c0\u67e5 addons\u76ee\u5f55\uff0c\u5bf9\u6bd4 github\u4e0a\u7684\uff0c\u53ef\u80fd\u4f1a\u6709\u6240\u4e0d\u540c\uff0c\u9700\u8981\u624b\u52a8\u8c03\u6574\uff1b<\/em><\/p>\n<h2>6\u3001\u5b89\u88c5Odoo\u4f9d\u8d56\u7684python\u5e93\u6587\u4ef6<\/h2>\n<p><code>pip3 install -r ~\/odoo-dev\/odoo\/odoo12\/requirements.txt<\/code><\/p>\n<p>7\u670810\u65e58:22\u5206\u6d4b\u8bd5\u65f6 \u7f51\u901f\u4e0d\u884c\u5bfc\u81f4\u62a5\u9519\uff1a<\/p>\n<p>Downloading (4.4MB)<br \/>\n|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 | 1.2MB 39kB\/s eta 0:01:21ERROR: Exception:<br \/>\nTraceback (most recent call last):<br \/>\n\u3002\u3002<br \/>\n\u3002\u3002\u3002\u3002\u3002<br \/>\nraise ReadTimeoutError(self._pool, None, &#8216;Read timed out.&#8217;)<br \/>\npip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host=&#8217;files.pythonhosted.org&#8217;, port=443): Read timed out.<\/p>\n<p>7\u670811\u65e5\u65e9\u4e0a6:30\u8d77\u6765\uff0c\u91cd\u65b0\u5b89\u88c5python\u4f9d\u8d56\u5e93\uff0c\u5f88\u5feb\u641e\u5b9a<\/p>\n<h2>7\u3001\u51c6\u5907odoo\u7684\u8fd0\u884c\u914d\u7f6e\u6587\u4ef6\uff0c\u5e76\u8fd0\u884cOdoo\uff1a<\/h2>\n<p>7.1<br \/>\n\u4eceodoo-dev\/odoo\/odoo12\/debian\u76ee\u5f55\u4e2d\u590d\u5236odoo.conf\u5230~\u76ee\u5f55\u6539\u6587\u4ef6\u540d\u4e3aodoo12.conf\u5e76\u7f16\u8f91\uff0c<br \/>\n\u6216\u8005 \u76f4\u63a5\u5728~\u76ee\u5f55\u7f16\u8f91 odoo12.conf \u4e5f\u53ef\u4ee5 \uff0c<br \/>\n<code>sudo vi ~\/odoo12.conf<\/code> \uff0c\u6309\u4e0b\u9762\u5185\u5bb9\u4fee\u6539\u4fdd\u5b58\uff1a<\/p>\n<p>[options]<br \/>\n; This is the password that allows database operations:<br \/>\n; admin_passwd = admin<br \/>\ndb_host = 127.0.0.1<br \/>\ndb_port = 5432<br \/>\ndb_user = odoo<br \/>\ndb_password = odoo<br \/>\naddons_path = odoo-dev\/odoo\/odoo12\/addons<\/p>\n<p>;\u6ce8\u610faddons_path \u7684\u8def\u5f84\uff0c\u7531\u4e8e\u6b64conf\u914d\u7f6e\u6587\u4ef6\u653e\u5728~\u76ee\u5f55\u4e0b\uff0c<br \/>\n\u56e0\u6b64\u5199\u6210\u4e0a\u8ff0\u8fd9\u6837\u3002<\/p>\n<p>7.2<br \/>\n\u53ef\u4ee5\u542f\u52a8odoo\u4e86\uff1a<br \/>\n\u5728~ \u76ee\u5f55\u4e2d\u8fd0\u884c\uff1a<\/p>\n<p><code>python3 odoo-dev\/odoo\/odoo12\/odoo-bin -c odoo12.conf <\/code><br \/>\n\u51fa\u73b0\u719f\u6089\u7684\u753b\u9762\uff1a<br \/>\n<a href=\"https:\/\/www.jointd.com\/?attachment_id=3693\"><img decoding=\"async\" src=\"http:\/\/www.jointd.com\/wp-content\/uploads\/2019\/07\/\u5c4f\u5e55\u5feb\u7167-2019-07-12-\u4e0a\u53486.19.10-1.png\" alt=\"\" \/><\/a><\/p>\n<p>\u6253\u5f00\u6d4f\u89c8\u5668\uff0c\u8f93\u5165 127.0.0.1:8069 \u5c31\u53ef\u4ee5 \u8bbf\u95eeOdoo12\u4e86\uff0c<\/p>\n<p><a href=\"https:\/\/www.jointd.com\/?attachment_id=3684\"><img decoding=\"async\" src=\"http:\/\/www.jointd.com\/wp-content\/uploads\/2019\/07\/\u5c4f\u5e55\u5feb\u7167-2019-07-12-\u4e0a\u53486.25.44.png\" alt=\"\" \/><\/a><\/p>\n<p>7.3 ctrl + z \u53ef\u4ee5\u9000\u51fa\u7ec8\u7aef\u4e2d\u8fd0\u884c\u7684Odoo\u670d\u52a1<\/p>\n<p>\u6709\u8fdb\u4e00\u6b65\u9700\u8981\u7684\u670b\u53cb\uff0c\u8fd8\u53ef\u4ee5\u5b89\u88c5virtualenv\uff08\u865a\u62df\u73af\u5883\uff09\uff0cpgadmin\uff08PG\u6570\u636e\u5e93\u56fe\u5f62\u754c\u9762\u7ba1\u7406\u5de5\u5177\uff09,\u548cpycharm(\u4e00\u4e2a\u5f88\u597d\u7528\u7684pythonIDE) ;\u672c\u6587\u5c31\u4e0d\u8fdb\u4e00\u6b65\u53d9\u8ff0\u3002<\/p>\n<p>\u53c2\u8003\u6587\u6863\uff1a<br \/>\n<a href=\"https:\/\/www.cnblogs.com\/jlzhou\/p\/7603356.html\">https:\/\/www.cnblogs.com\/jlzhou\/p\/7603356.html<\/a><br \/>\n\u4ee5\u53ca\uff1a <a href=\"https:\/\/www.jointd.com\/?p=2709\">https:\/\/www.jointd.com\/?p=2709<\/a><br \/>\n\u8fd8\u6709\uff1a<a href=\"https:\/\/stackoverflow.com\/questions\/3987683\/homebrew-install-specific-version-of-formula\">https:\/\/stackoverflow.com\/questions\/3987683\/homebrew-install-specific-version-of-formula<\/a><br \/>\n\u4ee5\u53ca\uff1a<a href=\"https:\/\/blog.csdn.net\/sanbingyutuoniao123\/article\/details\/52998485\">https:\/\/blog.csdn.net\/sanbingyutuoniao123\/article\/details\/52998485<\/a><br \/>\n\u57283\u53f0\u7cfb\u7edf\u521a\u88c5\u4e0d\u4e45\u7684\u82f9\u679c\u7b14\u8bb0\u672c\u4e0a\u6d4b\u8bd5\u901a\u8fc7\u3002<br \/>\n\u7b2c\u4e00\u6b21\u8fb9\u5b89\u88c5\u8fb9\u586b\u5751\uff0c\u904d\u5b8c\u5584\u6559\u7a0b\uff0c\u524d\u540e\u5206\u4e863\u5929\uff0c<br \/>\n\u7b2c\u4e8c\u6b21\u6362\u4e86\u79cd\u65b9\u5f0f\u88c5pg, \u7528\u4e862\u4e2a\u5c0f\u65f6\u5de6\u53f3\uff0c<br \/>\n\u7b2c\u4e09\u6b21\u6d4b\u8bd5\u4e86\u4e0b\u6362\u6e90\u88c5homebrew\u53d1\u73b0\u6709\u5751\uff0c<br \/>\n\u7b2c\u56db\u6b21\u57fa\u672c\u51e0\u4e2a\u5751\u90fd\u77e5\u9053\u4e86\uff0c\u8c03\u6574\u4e3a\u4e0b\u6587\u7684\u5b89\u88c5\u987a\u5e8f\uff0c\u7528\u4e8625\u5206\u949f\uff0c\u5c31\u5168\u88c5\u597d\u4e86\u3002<\/p>\n<p>\u6700\u540e\u611f\u8c22Odoo\uff0c\u611f\u8c22Odoo\u793e\u533a\u7684\u670b\u53cb\u4eec\uff0c\u611f\u8c22\u4e0a\u6d77\u5bf9\u5916\u7ecf\u8d38\u5927\u5b66\u7684\u5f20\u56fd\u950b\u8001\u5e08\uff0c\u611f\u8c22\u4e0a\u6d77\u540c\u6d4e\u5927\u5b66\u7684\u5b8b\u5fd7\u5149\u8001\u5e08\uff0c\u8c22\u8c22\u5927\u5bb6\u3002 2019\u5e747\u6708<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u591a\u56fe\u6d4b\u8bd5\uff1aMacos10.14\u4e0b\u5b89\u88c5Odoo12,Macos odoo12\uff0cMojave Odoo12 \u6d4b\u8bd5\u73af [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[139],"tags":[415,418,97,416,302,301,417,169,409],"class_list":["post-3636","post","type-post","status-publish","format-standard","hentry","category-odoo-openerp","tag-error-pg_config","tag-homebrew","tag-macos","tag-macos10-14","tag-macosodoo","tag-macodoo","tag-mojave","tag-odoo","tag-odoo12"],"views":3326,"_links":{"self":[{"href":"https:\/\/www.jointd.com\/index.php?rest_route=\/wp\/v2\/posts\/3636","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jointd.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jointd.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jointd.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jointd.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3636"}],"version-history":[{"count":62,"href":"https:\/\/www.jointd.com\/index.php?rest_route=\/wp\/v2\/posts\/3636\/revisions"}],"predecessor-version":[{"id":3921,"href":"https:\/\/www.jointd.com\/index.php?rest_route=\/wp\/v2\/posts\/3636\/revisions\/3921"}],"wp:attachment":[{"href":"https:\/\/www.jointd.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3636"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jointd.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3636"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jointd.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3636"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}