我试图在macOS Sierra上安装Odoo v9.我把它安装在virtualenv下,但是当我运行它(odoo.py)时,我得到一个无法执行命令lessc.我找到了这个:
https://dedyyuristiawan.blogspot.com/2016/07/installation-odoo-on-mac-os-x-error.html
但是当我尝试运行sudo brew时...我收到此错误:
Error : Running Homebrew as root is extremely dangerous and no longer supported.
Run Code Online (Sandbox Code Playgroud)
我在没有sudo的情况下运行它,但我得到:
Error: Permission denied - usr/local/lib/node_modules/npm/.github/issue_template.md
Run Code Online (Sandbox Code Playgroud)
当我跑啤酒医生时,我得到:
Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
/Users/mars/odoo-env/bin/python-config
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
node
Run Code Online (Sandbox Code Playgroud)
所以我跑了这个:
(odoo-env) Marcios-MacBook-Pro:odoo mars$ brew cleanup
(odoo-env) Marcios-MacBook-Pro:odoo mars$ brew link node
Linking /usr/local/Cellar/node/7.2.0...
Error: Could not symlink bin/node
Target /usr/local/bin/node
already exists. You may want to remove it:
rm '/usr/local/bin/node'
To force the link and overwrite all conflicting files:
brew link --overwrite node
To list all files that would be deleted:
brew link --overwrite --dry-run node
(odoo-env) Marcios-MacBook-Pro:odoo mars$ brew cleanup
(odoo-env) Marcios-MacBook-Pro:odoo mars$ brew link node
Linking /usr/local/Cellar/node/7.2.0...
Error: Could not symlink bin/node
Target /usr/local/bin/node
already exists. You may want to remove it:
rm '/usr/local/bin/node'
To force the link and overwrite all conflicting files:
brew link --overwrite node
To list all files that would be deleted:
brew link --overwrite --dry-run node
Run Code Online (Sandbox Code Playgroud)
有人知道解决方法吗?
| 归档时间: |
|
| 查看次数: |
930 次 |
| 最近记录: |