pyspark安装-清华源

 conda  create --name pypyspark python=3.8

 conda env list
 

pip install pyspark -i https://pypi.tuna.tsinghua.edu.cn/simple/ 指定源安装更快

conda config --show channels 显示配置的源

channels:
  - https://mirrors.ustc.edu.cn/anaconda/cloud/menpo/
  - https://mirrors.ustc.edu.cn/anaconda/cloud/bioconda/
  - https://mirrors.ustc.edu.cn/anaconda/cloud/msys2/
  - https://mirrors.ustc.edu.cn/anaconda/cloud/conda-forge/
  - https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
  - https://mirrors.ustc.edu.cn/anaconda/pkgs/main/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
  - defaults
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/fastai/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/
 

  • 15
    点赞
  • 13
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
pip install pyspark的镜像源可以根据用户所在的地理位置和网络环境选择使用合适的镜像源。常用的镜像源包括: 1. PyPI镜像源:即Python Package Index的镜像源,可以通过修改pip的配置文件或使用命令行参数来指定。常用的PyPI镜像源有豆瓣、清华、阿里云等。 2. 国内镜像源:一些国内的云服务提供商也提供了针对Python包的镜像源,如阿里云、华为云、腾讯云等。可以根据具体需要选择使用。 3. 其他镜像源:一些社区或组织也提供了自己的镜像源,如Anaconda镜像源、Conda-forge镜像源等。 根据引用中提到的安装方式,pip install pyspark可以直接通过PyPI镜像源进行安装。具体使用哪个镜像源,***的PyPI镜像源。在执行pip install pyspark命令时,可以使用如下命令指定使用豆瓣镜像源: pip install -i https://pypi.doubanio.com/simple pyspark 这样就可以使用豆瓣的PyPI镜像源进行安装了。当然,用户也可以根据自己的需求选择其他合适的镜像源。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* *3* [Python应用实战案例-pyspark库从安装到实战保姆级讲解](https://blog.csdn.net/wenyusuran/article/details/122367039)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 100%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值