環境命令備忘

g++ http_client.cpp -I/usr/local/libevent-2.1.8-stable/include -L/usr/local/libevent-2.1.8-stable/.libs -levent -g -o http_clientpython

g++ http_connect.cpp -o http_connect /usr/local/libevent-2.1.8-stable/.libs/libevent.so -I. -L.服務器

 

pip 安裝加快速度:    pip install  -i https://pypi.tuna.tsinghua.edu.cn/simple/ pandasspa

conda create -n your_env_name python=X.Xcode

anaconda指定環境名安裝包:  conda install --name python36 pylint                  //python36--環境名  pyling--包名圖片

啓動 jupyer 命令:jupyter notebook --allow-rootip

scp上傳文件目錄到遠程服務器pandas

scp -r pyalgotrade/ root@192.168.0.8:/root/anaconda3/envs/python37/lib/python3.7/site-packagesit

調整jupyter輸出圖片大小pip

import matplotlib.pyplot as plt plt.rcParams['figure.figsize'] = [10, 5]
相關文章
相關標籤/搜索