如何解决无法将 Seaborn 正确导入我的 IBM Watson-Studio
我正在尝试在 Windows 上的 IBM 云 (watson) 中导入 seaborn 以进行最终作业,但不知何故它给了我一个错误。我正在尝试使用以下代码导入 seaborn:
#notice: installing seaborn might takes a few minutes\
!conda install -c anaconda seaborn -y
但后来发生了这种情况:请我需要帮助来解决问题
Collecting package Metadata (current_repodata.json): done
Solving environment: Failed with initial frozen solve. retrying with flexible solve.
Solving environment: Failed with repodata from current_repodata.json,will retry with next repodata source.
Collecting package Metadata (repodata.json): done
Solving environment: Failed with initial frozen solve. retrying with flexible solve.
Solving environment: done
Package Plan
environment location: /opt/conda/envs/python-3.7-main
added / updated specs:
- seaborn
The following packages will be downloaded:
package | build
---------------------------|-----------------
argon2-cffi-20.1.0 | py37h7b6447c_1 49 KB anaconda
defusedxml-0.6.0 | py_0 23 KB anaconda
entrypoints-0.3 | py37_0 12 KB anaconda
fontconfig-2.13.0 | h9420a91_0 291 KB anaconda
icu-58.2 | he6710b0_3 22.7 MB anaconda
jupyter_client-6.1.7 | py_0 76 KB anaconda
libpng-1.6.37 | hbc83047_0 364 KB anaconda
libtiff-4.1.0 | h2733197_1 607 KB anaconda
libuuid-1.0.3 | h1bed415_2 16 KB anaconda
libxcb-1.14 | h7b6447c_0 610 KB anaconda
libxml2-2.9.10 | hb55368b_3 1.3 MB anaconda
lz4-c-1.9.2 | heb0550a_3 203 KB anaconda
markupsafe-1.1.1 | py37h14c3975_1 26 KB anaconda
mistune-0.8.4 |py37h14c3975_1001 53 KB anaconda
ncurses-6.2 | he6710b0_1 1.1 MB anaconda
packaging-20.4 | py_0 35 KB anaconda
pandocfilters-1.4.2 | py37_1 13 KB anaconda
pyjwt-1.7.1 | py37_0 32 KB anaconda
pyparsing-2.4.7 | py_0 64 KB anaconda
webencodings-0.5.1 | py37_1 19 KB anaconda
------------------------------------------------------------
Total: 27.5 MB
Downloading and Extracting Packages
libxml2-2.9.10 | 1.3 MB | ###############################6 | 86% WARNING conda.gateways.disk.delete:unlink_or_rename_to_trash(140): Could not remove or rename /opt/conda/pkgs/libxml2-2.9.10-hb55368b_3/bin/xmllint. Please remove this file manually (you may need to reboot to free file handles)
WARNING conda.gateways.disk.delete:unlink_or_rename_to_trash(140): Could not remove or rename /opt/conda/pkgs/libxml2-2.9.10-hb55368b_3/bin/xml2-config. Please remove this file manually (you may need to reboot to free file handles)
WARNING conda.gateways.disk.delete:unlink_or_rename_to_trash(140): Could not remove or rename /opt/conda/pkgs/libx
解决方法
如果您使用如下所示的默认运行时创建笔记本,则默认安装 Seaborn。
运行以下命令以查看已安装软件包列表中的 Seaborn
。
!pip list
如果您没有在列表中看到 Seaborn,请尝试使用以下命令进行安装
!pip install seaborn
如果您仍然看到错误,请使用您创建笔记本的项目所在的区域更新您的问题,以及环境的屏幕截图 + 错误帮助
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。