存储库安装

PyMySQL安装

pip install pymysql

Successfully installed pymysql-0.10.1

import pymysql没有报错
terminal中python3.7, import pymysql, pymysql.VERSION

PyMongo 安装

pip install pymongo

Successfully installed pymongo-3.11.2
terminal中python3.7, import pymongo, pymongo.version

redis-py 安装

pip install redis

Successfully installed redis-3.5.3
terminal中python3.7, import redis, redis.VERSION

RedisDump 安装

用于Redis数据导入/导出的工具,基于Ruby实现,所以需先安装Ruby。
Ruby是一种纯粹的面向对象编程语言。

brew install ruby

安装完成

Summary
🍺  /usr/local/Cellar/ruby/2.7.2: 20,156 files, 35.3MB
==> Caveats 
==> ruby
By default, binaries installed by gem will be placed into:
  /usr/local/lib/ruby/gems/2.7.0/bin

You may want to add this to your PATH.

ruby is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have ruby first in your PATH run:
  echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> /Users/Clairezhang/.bash_profile

For compilers to find ruby you may need to set:
  export LDFLAGS="-L/usr/local/opt/ruby/lib"
  export CPPFLAGS="-I/usr/local/opt/ruby/include"

For pkg-config to find ruby you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/ruby/lib/pkgconfig"

按上述方法能修改PATH。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值