1, downloadPythonThere are two types of Linux platforms,Python 2.7compressed Source Tarball (For Linux, Unix or OS X)Python 2.7bzipped Source Tarball (Forlinux, Unix or OS x,more compressed)The second kind of compression is better, in Linux with
1, install Python3 is mainly version problem, with 3.6 better than 3.7Error Modulenotfounderror:no module named ' _ctypes 'Https://www.cnblogs.com/Mr-wangxd/p/7028285.html2, there have been error pkg_resources when installing Pip .
Pyenv is a tool that can easily be toggled in multiple versions of PythonOfficial website: https://github.com/pyenv/pyenv? Pyenv has the following features:Make a global python version switchProvide a Python version for a single projectUsing
I. Installation steps1. Check the system pythonCentOS 6.8 comes with Python 2.6.6,yum, the newest and Python 2.6.6, and can only download Python 2.7.12 's source code to compile and install itself. Such as:
Installing development
1. Download Python:https://www.python.org/downloads/Note: Select the desired version (Python2 or Python3, 32-bit or 64-bit)2. Install Python:Double-click to open the installation file and install it directly next.3. Configure Environment variables:
First, install Python1. Download the Python package, previous version of the latest version: https://www.python.org/downloads/windows/2. InstallationYou can choose a default installation or a custom installation, and the custom installation
First, install Python1. Download the Python package, previous version of the latest version: https://www.python.org/downloads/windows/2. InstallationYou can choose a default installation or a custom installation, and the custom installation
First, install PythonCan-compile installation,-yum installationSecond, installation virtualenvYum Source installation: Yum Install python-virtualenv virtualenv is actually a python package, so we can install it with Easy_install or PIP. Easy_install
Environment Installation
Python installation:
Custom installation (installed for all users), next
Start the terminal (Win + R, enter cmd and then hit Enter), enter Python in the terminal, and then tap enter
1. System level: (generally requires root privileges)(1)/etc/profile: This file is the first file that is used when the user logs on, the operating system customizes the user environment, and applies to every user who logs on to the system. This
#Building a Python environment1. Download python3.5 and python2.7, installation;2change the Python.exe in python3.5 to Python3.exe;3add two versions of Python's path to environment variables, respectively; such as: C:\Python\python27 and
Cannot find a valid baseurl for Repo:base/7/x86_6Not even the Internet ah, Grandpa! Find information on the Internet to see Hopkings solutions:Method One, 1, open vi/etc/sysconfig/network-scripts/ifcfg-eth0 (each machine may be different, but the
Current Environment: Windows 7 64-bit PS: This blog is based on Windows,linux please detour ~1. Download the Python installation package website address https://www.python.org/downloads/release/python-364/Select the appropriate installation package,
---restore content starts---1. Open Eclipse, select Help-install new software, open the page and fill in the following information on the page:PyDev http://pydev.sourceforge.net/updatesCan be as follows:Select Acceptance Protocol StandardDirectly
1. Installation ToolsInstall virtualenv2. Create a new project folder and install the environment within the folder and name it my_env, joinVirtualenv C:\Users\yxx\wp\my_env3, activation my_env environment, at this time my_env is already a folder,
Modifying the Tasks.json configuration fileLocate the Tasks.json configuration file under the. Vscode folder and drag it into Visual Studio Code to modify it.You can also press CTRL + Shift + p to enter: task, select Configure Task Runner.To modify
Installation of python3.5 may use dependenciesYum install openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-devel-yFind the download path on the Python website and download it with wgetwget https://www.python.org/ftp/python/3.5.1
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.