简体   繁体   English

如何在 SageMaker Studio 实验室中拨打 pip

[英]How to pip in SageMaker Studio Lab

enter image description here I want to pip matminer in the jupyter lab but failed. enter image description here我想在 jupyter 实验室中使用 pip matminer 但失败了。 If someone knows why and how to fix the problem如果有人知道为什么以及如何解决问题

ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/home/studio-lab-user/.conda/envs/default/lib/python3.9/site-packages/numpy-1.22.1.dist-info/METADATA'错误:由于 OSError 无法安装包:[Errno 2] 没有这样的文件或目录:'/home/studio-lab-user/.conda/envs/default/lib/python3.9/site-packages/numpy- 1.22.1.dist-info/元数据'

I just ran it with no problems %pip install matminer --user我只是毫无问题地运行它 %pip install matminer --user

I did use a % instead of a.我确实使用了 % 而不是 a。 per the best practices.根据最佳实践。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM