(Turn) configuration odoo projects under window7

 

 

https://blog.csdn.net/qq_36500876/article/details/54340669

 

 

With a day looked and tested tutorial on the network, called a pit, here is my own lessons learned, is set up for beginners odoo pit, to introduce the following projects:
the first step download odoo8.0 source:
Download: http: //nightly.odoo.com/8.0/nightly/src/
second step download pyCharm editor
Download: http: //www.jetbrains.com/pycharm/download/
third step download Python tools :( sure to configure the environment variables, or in python pip can not be used)
my share connection: http: //pan.baidu.com/s/1kVqdiSn
fourth step Download setuptools-0.6c11.win32-py2.7 tool :
I share the connection: http: //pan.baidu.com/s/1pLqAWZL
fifth step postgresql database download:
Download: http: //pan.baidu.com/s/1nuVGukL
above is not difficult to install

The first method
(the following dependencies can be downloaded without downloading the following only reference to a method as later than this simple ==== ")
This is a sharing download something something on this network drive is human, it is requirements.txt dependencies odoo the item: http: //pan.baidu.com/s/1eSfybnG
code injection dependencies are:
PIP-index --find the install --no-links = D: \ odoo8.0- lib \ whl64 -r D: \ odoo8.0-lib \ requirements.txt
(D: \ odoo8.0-lib \ under whl64 download this refers to the whl this directory)
that run under cmd command

This is to inject dependencies, but there are seven will complain

because the conflicting versions here


See this cp27, which is the version of python 3.4 but I just share the python is 2.7.9 so he can not run online tutorials do not say python version than 3.0 I am not sure you can see for yourself
the following files will download whl :
Download: https: //pypi.python.org/simple/ (choose the right .whl) this comparison is difficult to find the whole, did not share my network drive, we want him to be downloaded after a single injection
injects code : pip install gevent-1.1.2-cp33 -cp33m-win32.whl this you must now jump to the next folder to save, for example, I saved under odoo8.0-lib

Not finished until the injection being given on the line - a good addition to the three tools on the download useful and useless behind the base, the following error is reported version does not support, the new version download low


Here are easy to use:

The second method
tools to download and install I do not mention the
open pycharm editor, import odoo8.0 source code, file => open and then select the source, the first radio button, OK

This is a good guide
do not blink following
the first injection method

1, promising to open requirements.txt added pypiwin32 in the last line of this must add their own, open Terminal under a second position of the cursor thing will come out can enter
input pip install -r requirements.txt at the cursor to the file that is injected
but Behold then the line will be error error error previously commented add a # is a comment again until there is nothing wrong then run the code commented out whl to download or install exe file and a single injection (cautions, may not be an error, but he and some not injected, go to a single injection of the first method above, if no error will go down to see step 3), must pay attention to the time of installation will be not the same as the version is not installed, the installation must be optimistic version,
2 The second method injection:

When we make changes to the file will appear above the yellow prompts us directly click on the first you can not enter the code, and very convenient.

3, when we enter python odoo.py -w odoo -r odoo Times out of this error below

to prove you did not fall completely dependent packages it will prompt you, my import is not psycopg2, I am here to download an exe file

Just click installation. The following is the installation failed because the version of the problem

Must pay attention to the problem version, if you enter the code following completion of the injection,

-w -r odoo odoo odoo.py
1
to note here, -w odoo is the name of the data, -r odoo This is the password database is to start odoo but will first connect to the database (see below to create a database role)
appear below the page you success

Here is a database problem: here is very important if he does not call database, he will be wrong, the page will not
create a odoo role, you must be odoo, the

second step:

Third step: The password can be here but it is starting to make any password -r odoo

third step: Select all


Click OK; you're done
the following input in the browser

localhost: 8069
1
This is good when I landed the first time you enter will pop up to create a database would prove that you are successful

If you have questions, please leave a comment and I will respond promptly to see.
---------------------
Author: qq_36500876
Source: CSDN
Original: https: //blog.csdn.net/qq_36500876/article/details/54340669
Disclaimer: This article as a blogger original article, reproduced, please attach Bowen link!

Guess you like

Origin www.cnblogs.com/stableboy/p/11106619.html