(base) F:\>conda install -c anaconda nltk
WARNING: The conda.compat module is deprecated and will be removed in a future release.
Collecting package metadata: done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 4.6.11
latest version: 4.6.14
Please update conda by running
$ conda update -n base -c defaults conda
## Package Plan ##
environment location: F:\Python
added / updated specs:
- nltk
......................................................
......................................................
Executing transaction: \ WARNING conda.gateways.disk.delete:unlink_or_rename_to_trash(138): Could not remove or rename F:\Python\Library\resources\icudtl.dat. Please remove this file manually (you may need to reboot to free file handles)
failed
ERROR conda.core.link:_execute(568): An error occurred while installing package 'anaconda::qt-5.9.7-vc14h73c81de_0'.
OSError(22, 'Invalid argument')
Attempting to roll back.
Rolling back transaction: done
[Errno 22] Invalid argument: 'F:\\Python\\Library\\resources\\icudtl.dat'enter link description here
Run Code Online (Sandbox Code Playgroud)
小智 6
关闭机器中的所有 Python 实例,然后尝试运行安装。我在安装 keras 时遇到了同样的错误。我尝试手动删除 .dat 文件,但它说该文件正在 Python 中使用。所以,我关闭了 Spyder 并重新安装,它奏效了。我使用 Python3.7
| 归档时间: |
|
| 查看次数: |
2139 次 |
| 最近记录: |