代码运行时显示没下载Jieba库:
但是在cmd里显示是下载好了的,没报错:
C:\Users\DELL>python
Python 3.9.12 (main, Apr 4 2022, 05:22:27) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
Warning:
This Python interpreter is in a conda environment, but the environment has
not been activated. Libraries may fail to load. To activate this environment
please see https://conda.io/activation
Type "help", "copyright", "credits" or "license" for more information.
>>> import jieba
>>>
这是怎么回事呢?在网上搜了,说可能是地址的问题,我已经把Jieba放到了 C:\Users\DELL\anaconda3\Lib\site-packages 当中了,还是不行,也按照网上的各个方法试了很久还是不行,不知道是不是版本对不上?但是我也不知道在哪看版本,也不知道怎么删掉现在的jieba,弄了好久了 头都大了真是