推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
KevinBu
V2EX  ›  Python

Python 开发是不是用 Ubuntu 更方便一些?

  •  
  •   KevinBu · Dec 26, 2018 · 3576 views
    This topic created in 2696 days ago, the information mentioned may be changed or developed.
    目前在 centos7 上碰到的问题:

    mysqlclient 无法安装,OSError: mysql_config not found,搜了好多方法都不好使

    tensorflow 无法安装,因为是装在公司的服务器上,没有显卡。而且 tensorflow 官网上也只找到了 Ubuntu 的安装文档。。。
    Supplement 1  ·  Dec 27, 2018
    哪位大佬能说一下这俩问题怎么解决😏
    18 replies    2018-12-27 23:46:42 +08:00
    kY8mbXW833Lu28xn
        1
    kY8mbXW833Lu28xn  
       Dec 26, 2018 via Android
    macos
    darkTianTian
        2
    darkTianTian  
       Dec 26, 2018
    CentOS 不太熟,反正我也是最近遇到一个 rabbitmq 安装特别麻烦的坑。
    Nick2VIPUser
        3
    Nick2VIPUser  
       Dec 26, 2018
    相比来说 Linux 方便一点
    其实 Linux 和 win 上面都有些不好安装的东西
    wxpython、opencv 我在 ubuntu 上安装就花了好久
    在 win server 安装一些 lib 经常缺少 C++的库;部署 django 或者 flask 项目也很麻烦
    mseasons
        4
    mseasons  
       Dec 27, 2018
    mac 贼爽
    SeaRecluse
        5
    SeaRecluse  
       Dec 27, 2018
    anaconda
    source activate
    conda install
    完事
    bikingtarzan
        6
    bikingtarzan  
       Dec 27, 2018 via Android
    在线装 tensorflow 就行,我用离线包安装就是不行…
    KevinBu
        7
    KevinBu  
    OP
       Dec 27, 2018
    @bikingtarzan 我用 pip install tensorflow 报错
    KevinBu
        8
    KevinBu  
    OP
       Dec 27, 2018
    @Nick2VIPUser Linux 的不同版本区别也不少~
    KevinBu
        9
    KevinBu  
    OP
       Dec 27, 2018
    @SeaRecluse anaconda 包含什么东西都
    bikingtarzan
        10
    bikingtarzan  
       Dec 27, 2018
    KevinBu
        11
    KevinBu  
    OP
       Dec 27, 2018
    @bikingtarzan 装在服务器上没有显卡
    SeaRecluse
        12
    SeaRecluse  
       Dec 27, 2018
    @KevinBu 相当于一个集成的科学运算库吧,可以创建隔离的环境来启动代码。我在 centos7 上没遇到过你出现的问题。
    xpresslink
        13
    xpresslink  
       Dec 27, 2018
    是的,centos 默认 yum 源内容版本比较旧。ubuntu 的 apt 源要新很多,很多东西直接用就基本够了。
    northisland
        14
    northisland  
       Dec 27, 2018
    一件一件解决吧,
    你描述的问题,只你没迈过的门槛而已,

    感觉 CentOS, Ubuntu 差不多
    godbmw
        15
    godbmw  
       Dec 27, 2018
    有句话:Ubuntu--从入门到换 Mac ╮(╯▽╰)╭
    feiniu
        16
    feiniu  
       Dec 27, 2018
    同想换 mac,Ubuntu 有时也头疼
    bikingtarzan
        17
    bikingtarzan  
       Dec 27, 2018   ❤️ 1
    @KevinBu 可以花个半小时试一试 anaconda 创建虚拟环境,再直接 pip install tensorflow。。。
    ifane
        18
    ifane  
       Dec 27, 2018
    yum install mysql-devel
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5953 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 73ms · UTC 02:17 · PVG 10:17 · LAX 19:17 · JFK 22:17
    ♥ Do have faith in what you're doing.