windows10下安装anaconda,跑spark

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/sinat_26566137/article/details/82891210

不建议在windows10下面安装spark:
https://www.zhihu.com/question/35973656

https://superuser.com/questions/988505/how-to-search-and-install-package-in-anaconda-conda
conda install 老是提示找不到对应安装包:
类似这样:
conda install -c https://conda.anaconda.org/zhenxieit pandoc
中间那个是源;
https://anaconda.org/conda-forge/numpy

参考:https://www.zhihu.com/question/38252144
红线处使用了 install --use-local 方法直接调用本地的安装包

我都是先Google 包名+conda 然后开头会有几个推荐的下载路径

那几个推荐的都挺快的

让环境变量生效很重要!!!!!!!!!!!!!
参考:https://zhuanlan.zhihu.com/p/37617055
所有环境配置完以后,可以通过重启来使得系统环境变量激活。这里介绍一种更为简单的操作,首先在Powershell中运行

set PATH=C:
关闭该窗口,在新窗口中运行

echo %PATH%
系统变量即生效。该操作不改变系统环境变量,省去了关机的时间。(原理请参照其他博客。)

在完成所有环境变量配置后,可以在Powershell中运行spark-shell,显示如下界面:

猜你喜欢

转载自blog.csdn.net/sinat_26566137/article/details/82891210