美文网首页
Python开发环境搭建

Python开发环境搭建

作者: 木头与琉璃 | 来源:发表于2018-02-02 17:57 被阅读10次

IDE安装和激活

.virtualenv的安装

sudo pip install virtualenv
  • pip测试安装virtualenvwrapper
sudo easy_install virtualenvwrapper 
  • virtualenvwrapper配置

virtualenvwrapper.sh脚本路径: /usr/local/bin/virtualenvwrapper.sh

# Setup:
#
#  1. Create a directory to hold the virtual environments.
#     (mkdir $HOME/.virtualenvs).
#  2. Add a line like "export WORKON_HOME=$HOME/.virtualenvs"
#     to your .bashrc.
#  3. Add a line like "source /path/to/this/file/virtualenvwrapper.sh"
#     to your .bashrc.
#  4. Run: source ~/.bashrc
#  5. Run: workon
#  6. A list of environments, empty, is printed.
#  7. Run: mkvirtualenv temp
#  8. Run: workon
#  9. This time, the "temp" environment is included.
# 10. Run: workon temp
# 11. The virtual environment is activated.
#

相关文章

  • Python学习一之开发环境搭建

    一、搭建Python开发环境 环境准备 win10 自备 idea idea安装传送阵 Python开发环境搭建步...

  • python入门

    主目录 Python简介 Python版本说明 Python特点 Python环境搭建 Python开发环境IDE...

  • UI自动化入门

    一、环境搭建 1、安装&配置python开发环境 python 下载地址https://www.python.or...

  • windows下搭建并使用python虚拟环境

    虚拟环境搭建: 一、安装python: 参考Eclipse+python开发环境搭建,这里不再赘述。 二、安装pi...

  • python环境搭建

    Windows下搭建 搭建python开发环境 开发环境:适用于进行代码开发的计算机文件编辑环境,专门用于进行软件...

  • 2018-07-10

    1. 开发环境搭建[python开发环境] 1.1. 确认安装什么环境:那个版本的环境[python2.x orp...

  • python学习

    Python 环境搭建 本章节我们将向大家介绍如何在本地搭建Python开发环境。 Python可应用于多平台包括...

  • Python环境搭建(末尾附Python教程视频)

    Python 环境搭建 本章节我们将向大家介绍如何在本地搭建Python开发环境。 Python可应用于多平台包括...

  • 安装Python教程

    Python环境搭建 本章节我们将向大家介绍如何在本地搭建Python开发环境。 Python可应用于多平台包括 ...

  • Python 介绍

    章节 Python 介绍Python 开发环境搭建Python 语法Python 变量Python 数值类型Pyt...

网友评论

      本文标题:Python开发环境搭建

      本文链接:https://www.haomeiwen.com/subject/hgvezxtx.html