久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

Anaconda 運行時錯誤:Python 未作為框架安裝?

Anaconda Runtime Error: Python is not installed as a framework?(Anaconda 運行時錯誤:Python 未作為框架安裝?)
本文介紹了Anaconda 運行時錯誤:Python 未作為框架安裝?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

我已經使用 pkg 安裝程序安裝了 Anaconda:

I've installed Anaconda with the pkg installer:

Python 2.7.10 |Continuum Analytics, Inc.| (default, May 28 2015, 17:04:42) 
[GCC 4.2.1 (Apple Inc. build 5577)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://binstar.org

但是當我嘗試使用 matplotlib 中的任何東西時,即:

but when I attempt to use anything from matplotlib, i.e.:

 from matplotlib import pyplot as plt

我明白了

RuntimeError: Python is not installed as a framework.
The Mac OS X backend will not be able to function correctly if Python is not installed 
as a framework. See the Python documentation for more information on installing Python 
as a framework on Mac OS X. Please either reinstall Python as a framework,
or try one of the other backends.

我真的不確定這意味著什么,或者如何解決它.

I'm really not sure what this means, or how to go about fixing it.

推薦答案

如果您遇到此錯誤,請不要忘記檢查您的 bash_profile.

If you experience this error, don't forget to check your bash_profile.

您可以通過以下方式在終端中執行此操作:

You can do this in terminal by:

cd

然后

nano .bash_profile

檢查內容.Macports 和 Homebrew 為他們在這里所做的事情添加了自己的標題.您可以刪除他們對 $PATH 所做的聲明.只留下 Anaconda 制作的那個.我有一個如果你愿意,你可以:

check the contents. Macports and Homebrew add their own headings for things they've done here. You can remove the declarations they make to $PATH. Just leave the one Anaconda has made. I had a If you would like, you can:

cp .bash_profile ./bash_profile_backup_yyyy_mm_dd 

并備份文件,文件名索引到您更改它的日期.也就是說,只要您實際輸入日期,而不僅僅是我建議的格式字符.

and have a backup of the file, with filename indexing to the date you changed it. That is, provided you actually put in the date in instead of just the formatting characters I'm suggesting.

source ~/.bash_profile

將刷新您的系統對 bash_profile 的引用,您應該可以很好地導入和使用 matplotlib

will refresh your system's reference to the bash_profile and you should be good to go in importing and using matplotlib

這篇關于Anaconda 運行時錯誤:Python 未作為框架安裝?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

How to install Selenium in a conda environment?(如何在 conda 環境中安裝 Selenium?)
get the CUDA and CUDNN version on windows with Anaconda installe(使用 Anaconda installe 在 Windows 上獲取 CUDA 和 CUDNN 版本)
How can I download Anaconda for python 3.6(如何下載適用于 python 3.6 的 Anaconda)
Using two different Python Distributions(使用兩個不同的 Python 發行版)
How can I install Anaconda aside an existing pyenv installation on OSX?(除了 OSX 上現有的 pyenv 安裝之外,如何安裝 Anaconda?)
Permanently set Python path for Anaconda within Cygwin(在 Cygwin 中為 Anaconda 永久設置 Python 路徑)
主站蜘蛛池模板: 欧美日韩第一页 | 超碰美女在线 | 日韩精品在线免费 | 国产成人免费视频网站高清观看视频 | 欧美性大战久久久久久久蜜臀 | 亚洲欧美日本国产 | 国产乱码精品1区2区3区 | 亚洲欧美中文日韩在线v日本 | 欧美视频在线播放 | 国产精品久久久久久久久久三级 | 看亚洲a级一级毛片 | 操夜夜| 亚洲精品一区二区三区中文字幕 | 国产一区二区免费在线 | 欧美不卡一区二区三区 | 成人精品一区二区三区 | 偷拍自拍网址 | 国产一区二区三区高清 | 国产成人精品一区二区在线 | 日韩成人免费av | 99re热精品视频国产免费 | 亚洲成人精品 | 亚洲视频 欧美视频 | 国产我和子的乱视频网站 | 一级片免费观看 | 操久久 | 精品国产不卡一区二区三区 | 久久av一区二区三区 | 成人小视频在线观看 | 久久伊人精品 | 91精品国产综合久久精品图片 | 亚洲人成人一区二区在线观看 | 精品在线 | 午夜手机在线视频 | 成人在线视频一区二区三区 | 欧美日韩中文字幕在线 | 精品福利在线视频 | 99伊人 | 国产91久久久久久久免费 | 久久69精品久久久久久久电影好 | 亚洲精选久久 |