Mac Python sublimeText

Posted 徒步阳光

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Mac Python sublimeText相关的知识,希望对你有一定的参考价值。

https://www.cnblogs.com/corolcorona/p/6678197.html


https://blog.csdn.net/olanlanxiari/article/details/48086917

https://blog.csdn.net/u014259820/article/details/81023224X

https://docs.brew.sh/Homebrew-and-Python

python -V
python3 -V

https://www.cnblogs.com/cynthia-wuqian/p/9303514.html

pip

https://www.cnblogs.com/xiexiaoxiao/p/7147920.html
https://zhuanlan.zhihu.com/p/32579762

卸载安装
https://blog.csdn.net/swiftfake/article/details/82591367

bogon:~ zlj$ brew install python3
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).

Warning: python 3.7.3 is already installed and up-to-date
To reinstall 3.7.3, run `brew reinstall python`
bogon:~ zlj$ brew reinstall python
==> Reinstalling python 
==> Installing dependencies for python: openssl and readline
==> Installing python dependency: openssl
==> Downloading https://mirrors.aliyun.com/homebrew/homebrew-bottles/bottles/openssl-1.0.2s.high_sierra.bottle.tar.g
######################################################################## 100.0%
==> Pouring openssl-1.0.2s.high_sierra.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the SystemRoots
keychain. To add additional certificates (e.g. the certificates added in
the System keychain), place .pem files in
  /usr/local/etc/openssl/certs

and run
  /usr/local/opt/openssl/bin/c_rehash

openssl is keg-only, which means it was not symlinked into /usr/local,
because Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries.

If you need to have openssl first in your PATH run:
  echo \'export PATH="/usr/local/opt/openssl/bin:$PATH"\' >> ~/.bash_profile

For compilers to find openssl you may need to set:
  export LDFLAGS="-L/usr/local/opt/openssl/lib"
  export CPPFLAGS="-I/usr/local/opt/openssl/include"

For pkg-config to find openssl you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig"

==> Summary

以上是关于Mac Python sublimeText的主要内容,如果未能解决你的问题,请参考以下文章

Mac Sublime Text 3 配置Python环境及安装插件

Python学习需要安装的工具

sublime text3安装 mac os汉化/常用模块

Mac环境下Sublime 3 配置 Anaconda 实现python自动补全

mac系统下怎样利用好sublime text 2编写html,css,js代码

如何升级到python3版本并且安装pip3及ipython3