[入門級]Setting up Python in Windows 7
An all-wise journalist once told me that “everything is easier in Linux,” and after working with it for a few years I’d have to agree — especially when it comes to software setup for data journalism. But …
Many newsroom types spend the day in Windows without the option of Ubuntu or another Linux OS. I’ve been planning some training around Python soon, so I compiled this quick setup guide as a reference. I hope you find it helpful.
Set up Python
Get started:
1. Visit the official Python download page and grab the Windows installer. Choose the 32-bit version. A 64-bit version is available, but there are compatibility issues with some modules you may want to install later. (Thanks to commenters for pointing this out.)
Note: Python currently exists in two versions, the older 2.x series and newer 3.x series (for a discussion of the differences, see this). This tutorial focuses on the 2.x series.
2. Run the installer and accept all the default settings, including the “C:\Python27″ directory it creates.
3. Next, set the system’s PATH variable to include directories that include Python components and packages we’ll add later. To do this:
• Right-click Computer and select Properties.
• In the dialog box, select Advanced System Settings.
• In the next dialog, select Environment Variables.
• In the User Variables section, edit the PATH statement to include this:
Many newsroom types spend the day in Windows without the option of Ubuntu or another Linux OS. I’ve been planning some training around Python soon, so I compiled this quick setup guide as a reference. I hope you find it helpful.
Set up Python
Get started:
1. Visit the official Python download page and grab the Windows installer. Choose the 32-bit version. A 64-bit version is available, but there are compatibility issues with some modules you may want to install later. (Thanks to commenters for pointing this out.)
Note: Python currently exists in two versions, the older 2.x series and newer 3.x series (for a discussion of the differences, see this). This tutorial focuses on the 2.x series.
2. Run the installer and accept all the default settings, including the “C:\Python27″ directory it creates.
3. Next, set the system’s PATH variable to include directories that include Python components and packages we’ll add later. To do this:
• Right-click Computer and select Properties.
• In the dialog box, select Advanced System Settings.
• In the next dialog, select Environment Variables.
• In the User Variables section, edit the PATH statement to include this:
CODE:
C:\Python27;C:\Python27\Lib\site-packages\;C:\Python27\Scripts\;來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/301743/viewspace-732039/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 在 Microsoft Dynamics NAV 2018 Setting Up and Using a Purchase Approval WorkflowROSAPP
- 0基礎7日入門PythonPython
- Python 入門級報錯處理Python
- Python入門基礎–三級選單Python
- 推薦 7 個 Python 入門視訊教程Python
- Python基礎入門(7)- Python異常處理機制Python
- Python爬蟲怎麼入門-初級篇Python爬蟲
- js入門(7)JS
- hadoop官網翻譯第二天Setting up a Single Node Cluster.Hadoop
- 初級安全入門——Windows作業系統的安全加固Windows作業系統
- Windows Terminal 新手入門Windows
- Elasticsearch(windows)使用入門ElasticsearchWindows
- PJzhang:python基礎入門的7個療程-fivePython
- PJzhang:python基礎入門的7個療程-sevenPython
- Python入門Python
- PyCharm入門級使用指南,Python開發必備!PyCharmPython
- Charles(Windows/Android)入門使用WindowsAndroid
- Python入門第7課——tuple變數(只讀課堂)Python變數
- 入門級前端教程前端
- grafana初級入門Grafana
- Python gRPC 入門PythonRPC
- Python入門(案例)Python
- Python快速入門Python
- Python入門難嗎?如何順利入門Python學習?Python
- Meilisearch 快速入門(Windows 環境)Windows
- HTTPS入門級總結HTTP
- Java註解(入門級)Java
- 入門級的Git操作Git
- Python入門必知的知識點!Python基礎入門Python
- Github上最受歡迎的Python輕量級框架Flask入門GithubPython框架Flask
- 『python入門:』 python的介紹Python
- Python爬蟲入門【7】: 蜂鳥網圖片爬取之二Python爬蟲
- Python入門細節Python
- Python入門-函式Python函式
- Python 股票分析入門Python
- 說下Python入門Python
- Python入門筆記Python筆記
- Python入門之一Python
- python 入門常識Python