Sudo apt-get install node-less
Sudo apt-get install npm
Sudo npm install-g less-plugin-clean-css
/Usr/lib/node_modules/npmconf requires inherits @'~ 2.0.0 & prime; but will load
Before performing the following operations, back up the inherits @ 2 folder and restore the folder.
Cd/usr/lib/node_modules
$ Unlink inherits
$ Rm-rf inherits \ @ 2/
$ Npm install-g inherits
Sudo ln-s/usr/bin/nodejs/usr/bin/node
Nodejs-clean-css is needed by odoo-9.0_20151001-1.noarch
8-17
Sudo yum install-y odoo
Requires: python-xlwt
Ps: // pypi.python.org/pypi/xlwt/ "> https://pypi.python.org/pypi/xlwt/
Pip install xlwt
Install pip
Wget-no-check-certificate https://github.com/pypa/pip/archive/1.5.5.tar.gz
Tar zvxf 1.5.5.tar.gz # decompress the file
Cdpip-1.5.5/
Python setup. py install
Python setup. py install
Traceback (most recent call last ):
File "setup. py", line 6, in
From setuptools import setup, find_packages
ImportError: No module named setuptools
Many Linux stories
Https://pypi.python.org/pypi/setuptools
Download and Install
Result
"Compression requires the (missing) zlib module"
Yum install zlib
Yum install zlib-devel
After the installation is complete, recompile python2.7. [you do not need to delete it. You only need to re-compile, make, and install it]
Make
Make install
I found that I deleted it before, so I re-compiled it.
Reload python2.7.
There are a lot of things in python, the dependency is strange, obviously installed, still prompts lack, so just reinstall python.
After installing and updating Python on CentOS recently, the following error occurs: ImportError: cannot import name HTTPSHandler.
Solution:
You must install OpenSSl before installing python.
The command is as follows:
Centos:
Yum install openssl-devel-y
Debian or Ubuntu:
Apt-get install libssl
And then reinstall Python.
So I went back to reinstall python.
Pip install xlwt