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.该怎么破额!!!