环境搭建

参考文章:

Python 环境搭建 http://www.runoob.com/python/python-install.html

Python安装 这个是个25的 http://blog.csdn.net/dqatsh/article/details/2469102

pip的安装  http://blog.chinaunix.net/xmlrpc.php?r=blog/article&uid=20776139&id=4733351

pip   https://pip.pypa.io/en/latest/installing/

linux 下使用supervisor管理源码启动的openerp http://shine-it.net/index.php/topic,4250.0.html

----------------------------------------------------------------------------------

1.安装python

pkg install python27

2.安装pip及所需环境

 

pkg install py27-pip py27-setuptools

 pip install --upgrade pip

cd /usr/ports/net/openldap24-server/ 
make install -D WITH_SASL -D WITH_SHELL -D WITH_OPENSSL_PORT

 

cd /your-odoo-dir/
pip install -r requirements.txt --index http://pypi.douban.com/simple --trusted-host pypi.douban.com

遇错可用pkg安装方法:

pkg install  py27-xlwt py27-pillow py27-lxml py27-yaml py27-chart


安装nodejs

安装nodejs、node-less 

复制代码
pkg search node
pkg install node

pip install nodejs



pkg install npm
npm install -g less less-plugin-clean-css
 

复制代码

http://www.liuff.com/node-js-official-installation-guide-building-and-installing-node-js.html

 

安装 sass:

pkg search sass

pkg install rubygem-sass-3.4.22

上面的操作我遇到了下面的错误

SSL_connect returned=1 errno=0 state=error: certificate verify failed (https://rubygems-china.oss-cn-hangzhou.aliyuncs.com/specs.4.8.gz)

解决方法

http://www.justinball.com/2012/09/12/getting-this-ssl_connect-returned1-errno0-statesslv3-read-server-certificate-b-certificate-verify-failed/

posted @   r|sh  阅读(266)  评论(7编辑  收藏  举报
编辑推荐:
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· AI技术革命,工作效率10个最佳AI工具
点击右上角即可分享
微信分享提示