惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
云风的 BLOG
云风的 BLOG
IT之家
IT之家
C
Check Point Blog
T
The Blog of Author Tim Ferriss
S
SegmentFault 最新的问题
人人都是产品经理
人人都是产品经理
H
Hackread – Cybersecurity News, Data Breaches, AI and More
美团技术团队
M
MIT News - Artificial intelligence
Jina AI
Jina AI
Blog — PlanetScale
Blog — PlanetScale
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Microsoft Security Blog
Microsoft Security Blog
G
Google Developers Blog
F
Fortinet All Blogs
V
Visual Studio Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
T
Tailwind CSS Blog
Hugging Face - Blog
Hugging Face - Blog
MyScale Blog
MyScale Blog
爱范儿
爱范儿
The Cloudflare Blog
博客园 - 三生石上(FineUI控件)

博客园 - bigdog

安装PyTorch_1 Pandas上的Dataframe求差集 Python函数返回多结果 Pandas下的Dataframe如何实现多条件筛选 将英文缩写扩展成正常英文的方法 如何安装pytorch Selenium 获取Select元素的选中值 安装MxNet Docker 的日常 Ubuntu上安装Docker Ubuntu华为云挂载新硬盘 Python读写大文件-将整行文字根据分号分行 Pandas中的DataFrame读取Mysql的方法 Pandas中的DataFrame读取Oracle的方法 Kettle 7.1 配置连接Oracle、Mysql、SqlServe的DLL文件准备 Nginx开启访问日志记录 Selenium chromeDriver 下载地址 在Linux上部署Nginx,反向代理tornado的WebSite Linux上安装Mysql
Linux 下安装NLTK的过程
bigdog · 2022-06-13 · via 博客园 - bigdog

1. 使用虚拟机安装Linux

2. 使用Miniananconda安装Python

下载地址:https://docs.conda.io/en/latest/miniconda.html#linux-installers

执行命令: bash /root/Miniconda3-latest-Linux-x86_64.sh

一路回车之后,Minianaconda会安装在

/root/miniconda3

重启Linux

3. 创建虚拟Python环境

conda create -n env_nlp python=3.8

4. 激活NLP环境

conda activate env_nlp

conda install nltk

进入Python客户端

python

# 由于是自己安装的Linux,没有安装SSL库,无法下载NLTK语料库,需要做下设置,才能下载

import ssl

ssl._create_default_https_context = ssl._create_unverified_context

#下载语料库

import nltk

nltk.download('all')

好了,静静等待就好了

对了,如果太慢了,就改一下Anaconda的下载库地址,改为清华的库地址