解决Jupyter无法导入已安装的 module问题
作者:redhorse_plus 时间:2022-05-13 07:14:18
问题描述:
已经用pip install jieba安装好jieba分词工具,但是在Jupyter 里import jieba运行一直提示ImportError: No module named 'jieba'
好郁闷!
然后找了各种方法,conda install jieba也是不行的
但是终于还是找到方法了
(1)使用命令 anaconda search -t conda jieba查找对应版本
(2)使用
conda install -c jiangxiluning jieba=0.36.2
jiangxiluning 和 0.36.2部分根据查到的列表改成对应Name和Version
终于大功告成
补充知识:python|jupyter notebook|jieba|句子分词
用python jieba进行句子分词
一、安装jieba
pip install jieba
二、常用函数
jieba.lcut(s)
jieba.lcut(s,cut_all=True)
来源:https://blog.csdn.net/sarah98/article/details/77240512
标签:Jupyter,导入,安装,module
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
MySQL数据库搜索中的大小写敏感性
2008-11-24 12:44:00
WPF自定义搜索框代码分享
2023-07-18 23:31:04
![](https://img.aspxhome.com/file/2023/1/79061_0s.jpg)
如何通过Python实现定时打卡小程序
2023-10-20 14:11:33
![](https://img.aspxhome.com/file/2023/9/82579_0s.png)
查询字符串中包含特殊字符的问题
2009-01-09 13:13:00
简单的Python的curses库使用教程
2023-11-06 15:04:28
![](https://img.aspxhome.com/file/2023/9/78699_0s.gif)
完美解决phpdoc导出文档中@package的warning及Error的错误
2023-10-07 10:07:49
python循环定时中断执行某一段程序的实例
2023-10-09 22:11:20
Django使用channels + websocket打造在线聊天室
2022-01-05 11:16:26
![](https://img.aspxhome.com/file/2023/9/76729_0s.gif)
.NET framework 4.0 安装失败回滚问题
2023-07-11 15:50:35
![](https://img.aspxhome.com/file/2023/4/78074_0s.png)
SQLServer 全文检索(full-text)语法
2011-12-01 10:38:22
元组列表字典(莫烦python基础)
2022-03-23 09:15:58
主流浏览器性能比较
2009-10-19 14:34:00
![](https://img.aspxhome.com/file/UploadPic/200910/19/15-02_performance_comparison_of_web_browsers_preview-60s.jpg)
详解在Azure上部署Asp.NET Core Web App
2023-07-20 00:55:18
![](https://img.aspxhome.com/file/2023/3/78423_0s.png)
CSS的优先级与特殊性
2008-06-24 11:36:00
js实现的捐赠管理完整实例
2023-08-22 05:25:14
python中的插入排序的简单用法
2023-09-30 07:57:51
![](https://img.aspxhome.com/file/2023/3/63193_0s.png)
从零开始搭建基于Python的微信小程序的教程分享
2022-09-08 19:38:59
python命名关键字参数的作用详解
2023-09-01 10:35:37
PyTorch两种安装方法
2022-04-16 04:11:50
![](https://img.aspxhome.com/file/2023/6/76166_0s.png)
python实现自动化脚本编写
2023-11-13 14:58:14