Último Compartir

Publicando las últimas noticias e ideas para ti

Popular Articles

Recent Stories

App 在macOS Catalina下提示已损坏无法打开的解决办法

There is no translation available.

在Terminal:
sudo xattr -r -d com.apple.quarantine /Applications/xxxx.app

安装odoo openerp时出现python setup.py egg_info

There is no translation available.

由于用homebrew安装了python2和python3,

在运行pip install -r requirement.txt时出现以下错误:

在MacOS下同时安装Python 2 和 3,并设置默认使用的版本

There is no translation available.

#Python 命令

  • 系统默认使用python2,使用brew可安装python3
  • python --version:查看python2版本

MacOS下 homebrew update 失败,提示路径不可写

There is no translation available.

运行 brew update 之后,

提示:

You should probably change the ownership and permissions of /usr/local

back to your user account.

sudo chown -R $(whoami):admin /usr/local

Macbook 修改 hosts

There is no translation available.

最近要上TensorFlow发现被墙,

安装Mac OS包管理工具Brew

There is no translation available.

Brew 官网:brew.sh

先安装Xcode

Mac终端界面显示优化

There is no translation available.

编辑 ~/.bash_profile

添加一行:

PS1=" → "

这一句是修改终端的提示,默认那个提示会显示当前用户,所在的目录等等,我发现这些东西也没什么用,太乱,所以,就直接使用一个 → 来表示。

Vagrant一些命令

There is no translation available.

下载vagrant:www.vagrantup.com

1.vagrant box list

2.vagrant box add [操作系统版本名称]