当前位置: 首页 > news >正文

化妆品网站html模板如何自己做网站发布到服务器上面

化妆品网站html模板,如何自己做网站发布到服务器上面,seo1888网站建设,h5海报制作软件推荐一、前言预处理建议仔细看完本文章之后在进行操作#xff0c;避免失误#xff0c;本环境可以用于生产环境#xff0c;有利于生产环境python之间的环境隔离#xff0c;互相不会产生环境冲突#xff1b;pyenv和pyenv-virtualenv可以完美结合使用#xff0c;具体使用情况看项…一、前言预处理建议仔细看完本文章之后在进行操作避免失误本环境可以用于生产环境有利于生产环境python之间的环境隔离互相不会产生环境冲突pyenv和pyenv-virtualenv可以完美结合使用具体使用情况看项目具体要求依赖环境要求yum install readline readline-devel readline-static -yyum install openssl openssl-devel openssl-static -yyum install sqlite-devel -yyum install bzip2-devel bzip2-libs -yyum install libffi-devel -y二、pyenv安装pyenv获取[roottset ~]# git clone https://github.com/yyuu/pyenv.git ~/.pyenvCloning into /root/.pyenv...remote: Enumerating objects: 17352, done.remote: Total 17352 (delta 0), reused 0 (delta 0), pack-reused 17352Receiving objects: 100% (17352/17352), 3.37 MiB | 24.00 KiB/s, done.Resolving deltas: 100% (11818/11818), done.配置pyenv系统环境[roottset ~]# vim ~/.bashrc## add by liuchao at 20190806 //添加以下内容export PYENV_ROOT$HOME/.pyenvexport PATH$PYENV_ROOT/bin:$PATHeval $(pyenv init -)//保存退出[roottset ~]# source ~/.bashrc //执行配置生效三、pyenv使用pyenv 安装python版本个人建议自己在python官网下载想要安装的版本首先要在pyenv目录下创建cache文件夹用来存放python安装包。(可以解决下载安装慢的问题)[roottset ~]# mkdir ~/.pyenv/cache //创建cache文件夹将下载的python安装包存放[roottset ~]# cd ~/.pyenv/cache/[roottset cache]# ls //python安装包后缀名必须是.tar.xzPython-2.7.16.tar.xz Python-3.7.3.tar.xzpyenv install[roottset cache]# cd[roottset ~]# pyenv install 3.7.3 -v/tmp/python-build.20190806095432.10104 ~/tmp/python-build.20190806095432.10104/Python-3.7.3 /tmp/python-build.20190806095432.10104 ~Installing Python-3.7.3...checking build system type... x86_64-pc-linux-gnuchecking host system type... x86_64-pc-linux-gnuchecking for python3.7... nochecking for python3... nochecking for python... pythonchecking for --enable-universalsdk... nochecking for --with-universal-archs... nochecking MACHDEP... checking for --without-gcc... nochecking for --with-icc... nochecking for gcc... gccchecking whether the C compiler works... yeschecking for C compiler default output file name... a.outchecking for suffix of executables...checking whether we are cross compiling... nochecking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether gcc accepts -g... yeschecking for gcc option to accept ISO C89... none neededchecking how to run the C preprocessor... gcc -Echecking for grep that handles long lines and -e... /usr/bin/grepchecking for a sed that does not truncate output... /usr/bin/sedchecking for --with-cxx-main... nochecking for g... noconfigure:检查是否安装成功[roottset ~]# pyenv versions* system (set by /root/.pyenv/version)3.7.3更新数据库[roottset ~]# pyenv rehashpyenv切换python版本[roottset ~]# pyenv global 2.7.8 // 全局[roottset ~]# pyenv local 2.7.8 // 当前目录下[roottset ~]# pyenv shell 2.7.8 // shell版本[roottset ~]# pyenv shell --unset // 取消当前的shell设定的版本#创建垫片路径(为所有已安装的可执行文件创建 shims如~/.pyenv/versions/*/bin/*因此每当你增删了 Python 版本或带有可执行文件的包(如 pip)以后都应该执行一次本命令)[roottset ~]# pyenv rehash安装与卸载[roottset ~]# pyenv install -l # 查看可安装的版本[roottset ~]# pyenv install 2.7.8 # 安装python2.7.8的版本[roottset ~]# pyenv rehash # 安装模块后[roottset ~]# pyenv pyenv uninstall 2.7.8 # 卸载四、pyenv-virtualenv安装pyenv-virtualenv[roottset ~]# git clone https://github.com/yyuu/pyenv-virtualenv.git ~/.pyenv/plugins/pyenv-virtualenvCloning into /root/.pyenv/plugins/pyenv-virtualenv...remote: Enumerating objects: 2064, done.remote: Total 2064 (delta 0), reused 0 (delta 0), pack-reused 2064Receiving objects: 100% (2064/2064), 580.31 KiB | 17.00 KiB/s, done.Resolving deltas: 100% (1413/1413), done.环境配置[roottset ~]# echo eval $(pyenv virtualenv-init -) ~/.bash_profile[roottset ~]# source ~/.bash_profile使用方法[roottset ~]# pyenv virtualenv 2.7.10 env-2.7.10 //创建虚拟环境[roottset ~]# pyenv activate env-2.7.10 //激活虚拟环境[roottset ~]# pyenv deactivate //退出虚拟环境[roottset ~]# pyenv uninstall env-2.7.10 //删除虚拟环境[roottset ~]# rm -rf ~/.pyenv/versions/env-2.7.10 //删除真实目录总结以上所述是小编给大家介绍的python虚拟环境完美部署教程,希望对大家有所帮助如果大家有任何疑问请给我留言小编会及时回复大家的。在此也非常感谢大家对脚本之家网站的支持如果你觉得本文对你有帮助欢迎转载烦请注明出处谢谢
http://www.yutouwan.com/news/451868/

相关文章:

  • app开发公司需要投资多少seo中文
  • 建设银行瓶窑支行网站南京网站优化公司排名
  • php网站培训flash网站建设教程
  • 大学学科建设网站张家港网站建设
  • 企业做网站公司怎么样学设计的网站
  • 关于电器网站建设的法律网站建设订制版合同模板
  • 论坛型网站开发wordpress配置邮件服务器
  • 网站建站和维护汕头市网络推广平台
  • 衡水淘宝的网站建设网站动画用什么做
  • 福州 网站制作 外贸网站建设行业 前景
  • 推荐做素菜的网站黑群辉wordpress
  • 建设网站的岗位如何做网站的自由撰稿人
  • 搭建外文网站中国排名第一的策划公司
  • 无为教育网站wordpress会员
  • 网站开发教程下载在哪个网站上做简历
  • 常用网站域名自营店网站建设
  • 阳泉网站设计自助建站免费网站
  • 产品推广网站哪个好wordpress仿微信播放器
  • 网站推广找哪家公司好广州中小企业网站制作
  • html5 手机网站 教程辽宁网络科技有限公司
  • 海南省住房和城市建设厅网站大连鼎信网站建设公司地址
  • 门户网站建设的步骤长沙网站建设去哪好
  • 电子商务网站建设评估工具有哪些wordpress置顶失败
  • 网站开发设计前景字体设计 创意在线
  • 网站服务器租用在线二维码制作生成器
  • 自己制作网站的方法网站建设需要使用阿里云吗
  • 网站建设与推广综合实训报告册一条龙建设网站
  • 大厂县建设局网站浏览器打开网站
  • 站长工具网站排名中文搜索引擎大全
  • 有哪些做海岛的网站网站建设验收方案