1. 程式人生 > >python version 2.7 required,which was...解決方案

python version 2.7 required,which was...解決方案

February 19, 2003 | Fredrik Lundh

Some Python distributions add information to the Windows registry when installed. This information is used by certain tools, such as the installer and Windows installers generated by the package.

If you’re using an unregistered Python environment, you’ll usually end up with an empty list of alternatives on the installer’s “Select Python installation to use

” screen.

The following script registers the current interpreter. The script should work for Python 2.0 and later.

Note that there can be only one registered interpreter for each major Python release (e.g. 2.0, 2.1, 2,2 etc).

相關推薦

python version 2.7 required,which was...解決方案

February 19, 2003 | Fredrik Lundh Some Python distributions add information to the Windows registry when installed. This information is used by certain

Python version 2.7 required, which was not found 登錄檔問題解決方法

最近在windows下用exe檔案安裝python中的numpy,scipy等模組時經常會發現跳出以上的問題,解決方法網上有很多,可行的並不多。 這裡我採取直接修改登錄檔鍵值的方法: 1. 開啟登錄檔:win+R調出執行模組,輸入regedit 開啟登錄檔編輯器 2.

Python Version 2.7 required which was not found in the registry 問題解決

 今天在安裝numpy時,出現了Python Version 2.7 required which was not found in the registry錯誤,解決方案如下。   Python的一些第三方庫只到登錄檔的HKEY_LOCAL_MACHINE\SO

解決安裝MySQL-python出現的:Python version 2.7 required, which was not found in the registry

安裝MySQL-python-1.2.3.win-amd64-py2.7.exe,時提示:Python version 2.7 required, which was not found in the

python version 2.7 required,which was not found in the registry

.html except http nco com name desc log all # # script to register Python 2.0 or later for use with win32all # and other extensions that

安裝第三方庫 報錯Python version 2.7 required, which was not found in the registry

try 三方庫 64位 req not 安裝 window 是我 found 我的Windows 系統是64位 這個問題有人說是註冊表沒有 ,手動註冊了一下就好了,但是我註冊的時候運行報錯。 那麽我的做法是: 刪掉本機所有安裝過得python , 1、 先進入控制面板,刪除

安裝第三方庫出現 Python version 2.7 required, which was not found in the registry

prefix another odin light admin urn utf n! .py 安裝第三方庫出現 Python version 2.7 required, which was not found in the registry 建立一個文件 register.

python2.7無法在登錄檔中被識別:python version 2.7 required,which was no

安裝MySQL-python-1.2.4b4.win32-py2.7的時候,不能再登錄檔中識別出來python2.7 方法:新建一個register.py 檔案,把一下程式碼貼進去,儲存 !E:\python2.7 import sys from _winreg impor

安裝Python-Matplotlib時出現的問題--Python version 2.7 required, which was not found in the registry

今天在安裝python的畫圖包的時候出現瞭如題的問題,網上查詢如下的結果: 原因: 64位程式和32位程式檢測登錄檔的位置是不一樣的: 64-bit: HKLM|HKCU\SOFTWARE

Python version 3.6 required, which was not found in the registry錯誤解決

問題 def eat war use soft 分享 key path 問題: 安裝pywin32出現Python version 3.6 required, which was not found in the registry錯誤解決 解決: 建立一個文件 reg

Python version 3.3 required, which was not found in the registry

() fix core can war 安裝 錯誤 -c gpa python registry函數語法 在windows下安裝numpy的時候, 出現了"Python version 3.3 required, which was not found in the re

python 2.7 安裝jupyter 失敗解決方法

我是64位系統 最近上課用要安裝jupyter,於是pip之 pip install jupyter -i https://pypi.douban.com/simple (豆瓣的源,好記) 智慧的pip下了一堆包,然後突然報了一個error https://www.

python 基礎 2.7 range與xrange的區別

占用 打開 start bsp ont pre xrange eight spa #/usr/bin/python #coding=utf-8 #@Time :2017/10/25 19:22 #@Auther :liuzhenchuan #@File :range

Python2.7.5升級到3.6.5

進行 TP AR get req pythonh pip安裝 ted 安裝 Python從2.7.5升級到3.6.5學習了:https://blog.csdn.net/liang19890820/article/details/51079633 wget https://w

centos7.3更換python版本---2.7.5換成3.6.4

water ron python 連接 mark 更新 zlib 不可 zxvf 1.準備 系統版本 cat /etc/redhat-release 安裝依賴包 yum -y install wget sqlite-devel xz gcc automake zli

windows平臺python安裝mysqlclient報錯"Microsoft Visual C++ 14.0 is required"的解決方案

err tool sta www. 方案 技術 sql build ont windows平臺直接用 pip install mysqlclient 命令安裝報錯: error: Microsoft Visual C++ 14.0 is required. Get it

Ubuntu 18 安裝 Python 3.7 報錯的解決方案

Ubuntu 18 安裝 Python 3.7 報錯的解決方案 Ubuntu 18 安裝 Python 3.7 報錯的解決方案 0. 環境 1. sudo make install 報錯 ZipImportEr

python的dict和set型別(python2.7版本)

python之什麼是dict     中文的說法就是字典,表現形式是鍵值對的形式,即key-value形式,類似於java裡的map集合,dict就是通過key來查詢value。dict的表現方式是用一對花括號{}來表示:          由於dict也是集合,len

Centos 6 升級python2.7

檢視python版本:python --version1.下載Python-2.7.12wget https://www.python.org/ftp/python/2.7.12/Python-2.7.12.tgz2.解壓tar   zxvf   Python-2.7.12

樹莓派+Python+pyserial 2.7實現串列埠通訊

手上有個CCD Camera(Barcode Reader/Scanner Module),它是通過RS232通訊的,用RS232轉USB的轉接線連線樹莓派,即可完成硬體連線。對於串列埠通訊,可以通過pyserial實現。 首先,安裝pyserial: tar zxvf