![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
Whity_Yuan
这个作者很懒,什么都没留下…
展开
-
安装numpy, pandas, scipy 和matplotlib
首先找到python的安装文件夹, 在pathon35/Script文件夹里新建一个bat文件(我安装的是3.5版本),通过文本编辑器在里面写上cmd,点击它就可以直接打开一个该路径下的命令行窗口。在命令行窗口下运行pip install numpypip install scipy等等, 就可以安装相应的库。对于3开头的版本, 使用pip3替代pip。如果版本安装错误,想卸载后重装,可使用pip...原创 2018-03-26 23:29:32 · 333 阅读 · 0 评论 -
正则表达式基本字符含义
转载 2018-03-27 04:13:25 · 250 阅读 · 0 评论 -
pip install error
Traceback (most recent call last): File "/usr/bin/pip", line 9, in <module> from pip import mainImportError: cannot import name main solution> sudo python -m pip uninstall pip...原创 2018-12-22 00:57:07 · 371 阅读 · 0 评论 -
python addition problem ????
These 2 blocks of code give different result, why? import matplotlib.pyplot as pltimport numpy as npfrom mpl_toolkits.mplot3d import Axes3Ddef midpoints(x): sl = () for i in range(x....原创 2018-12-31 05:08:21 · 1393 阅读 · 0 评论 -
Tensor Flow Notes
tf.equal(): 比较两个数组/矩阵的对应元素,返回一个布尔值向量,对应位置相等返回True;不等返回False。correct_prediction = tf.equal(tf.argmax(y,1), tf.argmax(y_,1))tf.boolean_mask(tensor,mask,name='boolean_mask',axis=None)tensor是N维度的te...转载 2019-03-14 04:07:08 · 148 阅读 · 0 评论 -
create python virtual environment with python3.5 and python3.6
sourceThis quick tutorial is going to show you how to install the latest Python 3.6.1 in Ubuntu 16.04 LTS via PPA.Ubuntu 16.04 comes with both Python 2.7 and Python 3.5 by default. You can install...转载 2019-06-19 14:48:40 · 312 阅读 · 0 评论