homebrew

install ext-zip for Mac

大兔子大兔子 提交于 2020-01-09 10:17:11
问题 I am trying to run composer update and I get the following errors: Problem 1 - The requested PHP extension ext-zip * is missing from your system. Install or enable PHP's zip extension. Problem 2 - maatwebsite/excel 3.1.10 requires phpoffice/phpspreadsheet ^1.6 -> satisfiable by phpoffice/phpspreadsheet[1.6.0, 1.7.0, 1.8.0, 1.8.1, 1.8.2, 1.9.0]. - maatwebsite/excel 3.1.11 requires phpoffice/phpspreadsheet ^1.6 -> satisfiable by phpoffice/phpspreadsheet[1.6.0, 1.7.0, 1.8.0, 1.8.1, 1.8.2, 1.9.0]

install ext-zip for Mac

若如初见. 提交于 2020-01-09 10:15:08
问题 I am trying to run composer update and I get the following errors: Problem 1 - The requested PHP extension ext-zip * is missing from your system. Install or enable PHP's zip extension. Problem 2 - maatwebsite/excel 3.1.10 requires phpoffice/phpspreadsheet ^1.6 -> satisfiable by phpoffice/phpspreadsheet[1.6.0, 1.7.0, 1.8.0, 1.8.1, 1.8.2, 1.9.0]. - maatwebsite/excel 3.1.11 requires phpoffice/phpspreadsheet ^1.6 -> satisfiable by phpoffice/phpspreadsheet[1.6.0, 1.7.0, 1.8.0, 1.8.1, 1.8.2, 1.9.0]

brew install clang-omp not working

你说的曾经没有我的故事 提交于 2020-01-09 06:30:58
问题 I need to compile a C++ code with OpenMP on my Mac. Unfortunately the default version of clang installed on the Mac (703.0.31) does not support OpenMP. Therefore, I am trying to install the clang-omp package with brew (e.g., following this guide). The issue is that brew cannot find neither the libiomp, nor the clang-omp package: $ brew install clang-omp Error: No available formula with the name "clang-omp" ==> Searching for similarly named formulae... Error: No similarly named formulae found.

brew install clang-omp not working

爱⌒轻易说出口 提交于 2020-01-09 06:29:07
问题 I need to compile a C++ code with OpenMP on my Mac. Unfortunately the default version of clang installed on the Mac (703.0.31) does not support OpenMP. Therefore, I am trying to install the clang-omp package with brew (e.g., following this guide). The issue is that brew cannot find neither the libiomp, nor the clang-omp package: $ brew install clang-omp Error: No available formula with the name "clang-omp" ==> Searching for similarly named formulae... Error: No similarly named formulae found.

Mac下Homebrew替换镜像

…衆ロ難τιáo~ 提交于 2020-01-07 20:03:59
替换git和homebrew镜像源 一、git加速 查找域名对应的地址 nslookup github.com nslookup github.global.ssl.fastly.Net 修改hosts文件 sudo vim /etc/hosts # add two lines at the end. 31.13.66.1 github.global.ssl.fastly.net 13.229.188.59 github.com 刷新DNS缓存(根据你的操作系统选择) # Mac sudo killall -HUP mDNSResponder # linux sudo /etc/init.d/networking restart 二、homebrew替换为清华镜像源 清华镜像站: 清华镜像站 homebrew替换指南: 帮助文档 git -C "$(brew --repo)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git git -C "$(brew --repo homebrew/core)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core

macos系统软件管理工具Homebrew

China☆狼群 提交于 2020-01-07 07:54:15
Homebrew 使用指北 文章作者 由 Bestony 发布日期 2019年8月2日 Homebrew 使用指北无评论 对于习惯了使用命令来完成一切的程序员来说,安装软件这种小事,自然是能够用命令解决,就不用图形界面选择。但是在 Linux 中,我们有 yum 、 apt 、 dnf 、 pkg 等命令来完成软件的安装,macOS 却并未为我们提供一个好用的包管理器,帮助我们更好的使用 macOS。 好在,虽然官方没有提供,我们却可以使用 Homebrew 这一神器,来完成类似的工作,就如同 Homebrew 的 Slogan :“The missing package manager for macOS (or Linux)” Homebrew Homebrew 由开发者 Max Howell 开发,并基于 BSD 开源,是一个非常方便的包管理器工具。在早期, Homebrew 仅有 macOS 的版本,后续随着用户的增多,Homebrew 还提供了 Linux 的版本,帮助开发者在 Linux 同样使用 Homebrew 来配置环境。 Homebrew 的几个核心概念 在正式介绍 Homebrew 的使用之前,我先为你介绍一下 Homebrew 中的一些核心的概念,了解这些概念,就可以帮助你更好的去使用 Homebrew。 词汇 含义 formula (e) 安装包的描述文件

qcachegrind “flat profile” dock panel disappeared. how to restore?

橙三吉。 提交于 2020-01-07 02:21:47
问题 I installed qcachegrind on OS X via brew. No problems. I generated a few *.callgrind files and viewed them with qcachegrind. Again, no problem. While viewing one file I accidentally closed the "flat profile" dock panel. Now anytime I open qcachegrind that panel is missing. I tried running lsof to figure out where qcachegrind was getting its preferences, but that didn't help. I deleted a file from ~/Library/Preferences/io.github.qcachegrind.plist that appeared to store window position data,

急速搭建 Serverless AI 应用:为你写诗

橙三吉。 提交于 2020-01-07 00:54:49
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 简介: AI model serving 是函数计算一个比较典型的应用场景。数据科学家训练好模型以后往往需要找软件工程师把模型变成系统或者服务,通常把这个过程称之为 model serving。函数计算无需运维和弹性伸缩的特性,正好符合数据科学家对高可用分布式系统的诉求。本文将介绍把一个 TensorFlow CharRNN 训练的自动写五言绝句古诗的模型部署到函数计算的例子。 前言 首先介绍下在本文出现的几个比较重要的概念: 函数计算(Function Compute) : 函数计算 是一个事件驱动的服务,通过函数计算,用户无需管理服务器等运行情况,只需编写代码并上传。函数计算准备计算资源,并以弹性伸缩的方式运行用户代码,而用户只需根据实际代码运行所消耗的资源进行付费。函数计算更多信息 参考 。 Fun : Fun 是一个用于支持 Serverless 应用部署的工具,能帮助您便捷地管理函数计算、API 网关、日志服务等资源。它通过一个资源配置文件(template.yml),协助您进行开发、构建、部署操作。Fun 的更多文档 参考 。 备注: 本文介绍的技巧需要 Fun 版本大于等于 3.2.0。 依赖工具 本项目是在 MacOS 下开发的,涉及到的工具是平台无关的,对于 Linux 和 Windows

Homebrew | curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

假装没事ソ 提交于 2020-01-06 23:07:00
某天想玩玩 Homebrew,突然提示如下: 依稀记得,我曾经玩过这个东西啊,啥情况? 果断官网准备安装下 Homebrew: 出师不利,自然的打开 Stack Overflow 查找解决之道: Homebrew installation on Mac OS X Failed to connect to raw.githubusercontent.com port 443 关键靠谱答案截图如下: 我们按照此步骤操作一番~ Step 1:首先打开 Homebrew install: Homebrew install 将文件另存为: brew_install.rb 鉴于个人也出现了几次打不开的情况,这里附上百度网盘地址,方便小伙伴操作: 链接: https://pan.baidu.com/s/1HvJZj0dl9fDqtgzmVtK2iw 密码:umqb Step 2:ruby 安装已下载的 brew_install.rb: iTerm 2 键入如下指令: ruby [brew_install.rb 地址] 如下图所示: 安装成功信息如下: 哦可,玩去吧~ 来源: CSDN 作者: HLQ_Struggle 链接: https://blog.csdn.net/u012400885/article/details/103849472

Ruby OpenSSL Install on Mac 10.10 Yosemite

给你一囗甜甜゛ 提交于 2020-01-06 13:54:43
问题 Using brew I go though the normal install process to get rbenv and Ruby installed. Everything goes smoothly but it is soon apparent Ruby did not install with openssl onboard. The only thing that seems to allow rbenv to auto install openssl during the ruby install is to use this: sudo ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include /usr/include Is this a bug in rbenv or brew that needs fixing? 回答1: There's a long thread