gem install compass
如果安装不了,更换源试试
先移出
gem sources --remove https://rubygems.org/
再添加
gem source -a http://gems.ruby-china.com
然后再重新运行,就可以愉...
4年前 (2021-08-21)
喜欢
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directo...
4年前 (2021-08-21)
喜欢
创建文件api
from flask import Blueprint
route_api = Blueprint('api_page', __name__)
@route_api.route('/api1')
def index():
...
4年前 (2021-08-20)
喜欢
pip3 install -i https://mirrors.aliyun.com/pypi/simple flask
pip3 install -i https://mirrors.aliyun.com/pypi/simple 包名
...
4年前 (2021-08-20)
喜欢
from flask import Flask
app = Flask(__name__)
@app.route('/')
def helloword():
return 'Hello Word'
if __name__ == &...
4年前 (2021-08-20)
喜欢
pip3 install Flask
或者使用阿里云的源进行安装
pip3 install -i https://mirrors.aliyun.com/pypi/simple flask
...
4年前 (2021-08-20)
喜欢
Consider using the --user option or check the permissions.
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permissi...
4年前 (2021-08-20)
喜欢
js
import AMapLoader from '@amap/amap-jsapi-loader';
created() {
var that = this;
AMapLoader.load({
...
4年前 (2021-08-20)
喜欢
var number1=1;
let number2=2;
const number3=3;
少用var 多用let
...
4年前 (2021-08-20)
喜欢
ES5 ES3 支持目前所有主流浏览器
没有ES4
ES6=ES2015目前浏览器不支持,未来会支持。
ES2016 就是 (ES7)
ES2017 就是 (ES8)
...
4年前 (2021-08-20)
喜欢