如何为Mac安装python3.4-dev?

时间:2017-01-19 14:09:50

标签: macos python-3.x pip homebrew

嘿伙计们我有点和自制我试过了

brew search python以及Sub web_query() ' web_query Macro ' This macro generates the web query used to populate sheet' 'get the file ID FILE_ID = Sheets("intake").Range("B1") If FILE_ID <> "" Then With Sheets("web_query").QueryTables.Add(Connection:="URL;http://url part1" _& FILE_ID & "url part2", Destination:=Sheets("web_query").Range("$A$1")) .Name = "query=short_descriptionLIKE" & FILE_ID & "&row_count=999999999" .FieldNames = True .RowNumbers = False .FillAdjacentFormulas = False .PreserveFormatting = True .RefreshOnFileOpen = False .BackgroundQuery = True .RefreshStyle = xlInsertDeleteCells .SavePassword = False .SaveData = True .AdjustColumnWidth = True .RefreshPeriod = 0 .WebSelectionType = xlEntirePage .WebFormatting = xlWebFormattingNone .WebPreFormattedTextToColumns = True .WebConsecutiveDelimitersAsOne = True .WebSingleBlockTextImport = False .WebDisableDateRecognition = False .WebDisableRedirections = False .Refresh BackgroundQuery:=False End With End If End Sub 并且无法在任何想法中找到python3.4-dev?

2 个答案:

答案 0 :(得分:1)

OS X没有此软件包可用。但是,可以在Debian站点clone()上找到包列表。这些软件包默认带有py3.5。试试吧:

brew install python3

答案 1 :(得分:1)

Pip不会自己安装Python。 pyenv可以帮助您安装所需的任何特定Python版本。看这里:

https://github.com/yyuu/pyenv#installation

然后在安装后运行

pyenv install 3.4-dev