roguesir
2017-03-31 08:13
采纳率: 63.6%
浏览 3.5k
已采纳

关于Mac python安装第三方库settings,遇到了一些问题

python编程时需要import settings,但是尝试了各种方法都不好用,就是安装不上settings库,有木有懂得大神帮帮忙呀
错误提示如下:
用pip装:
$ pip install settings
Collecting settings
Could not find a version that satisfies the requirement settings (from versions: )
No matching distribution found for settings
用sudo pip:
$ sudo pip install settings
Password:
The directory '/Users/naver/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/naver/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting settings
Could not find a version that satisfies the requirement settings (from versions: )
No matching distribution found for settings
用brew装:
$ brew install settings
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
amazon-ecs-cli fluent-bit jfrog-cli-go osmfilter rtv
convox g3log jmxtrans osrm-backend

Error: No available formula with the name "settings"
==> Searching for similarly named formulae...
This similarly named formula was found:
gsettings-desktop-schemas
To install it, run:
brew install gsettings-desktop-schemas
==> Searching taps...
Error: No formulae found in taps.

这个Error: No formulae found in taps.该怎么破额!!!

  • 写回答
  • 好问题 提建议
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • roguesir 2017-04-18 09:16
    已采纳

    哪个库是路径下自己编写的文件。。。我说怎么找了这么久都没有找到,:)

    已采纳该答案
    评论
    解决 无用
    打赏 举报

相关推荐 更多相似问题