在Mac OS上用virtualenv安装 tensorflow出现的问题(一)

来源:互联网 发布:在线网络理财产品好么 编辑:程序博客网 时间:2024/06/01 23:42

    Mac OS上用virtualenv安装 tensorflow按照手册输入   $ sudo easy_install pip

    正确时系统会要求你输入密码然后自动寻找最合适的pip,如下:

     

    Password:

    Searching for pip

    Best match: pip 9.0.1

    Adding pip 9.0.1 to easy-install.pth file

    Installing pip script to /Library/Frameworks/Python.framework/Versions/2.7/bin

    Installing pip3.5 script to /Library/Frameworks/Python.framework/Versions/2.7/bin

    Installing pip3 script to /Library/Frameworks/Python.framework/Versions/2.7/bin

    Using /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages

    Processing dependencies for pip

    Finished processing dependencies for pip

     

    部分童鞋会遇到安装不成功的现象系统提示以下这句话

     

    Please make the appropriate changes for your system and try again.

    //对你的系统做适当更改并再试一次

     

    出现这句话代表现在你没有给你的管理员身份添加root权限,可按照下边步骤尝试:

    1. 点击电脑左上角的小苹果,打开系统便好设置,并寻找用户与群组;

     

     

    1. 选择登陆选项对网络账号服务器点击加入

     

     

     

    3、点击打开目录实用工具

    4、点击上方菜单栏编辑,添加root用户即可

     

     

     

     

     此时,再次输入sudo easy_install pip即可

     

     

     

     

     

     

     

     

     

     

     

     

     

阅读全文
0 0