gpt4 book ai didi

windows - 如何在 Windows 的 linux 子系统上安装 numpy?

转载 作者:行者123 更新时间:2023-12-04 18:48:56 26 4
gpt4 key购买 nike

我正在尝试在 Windows 的 Linux 子系统上安装 NumPy,但是当我尝试安装 pip sudo apt install python-pip这样我就可以使用 pip install numpy ,它给出了错误 E: Unable to locate package python-pip .
有什么建议么?
谢谢
编辑:
当我运行 pip install numpy它给出了错误:Command 'pip' not found, but there are 18 similar ones.我还记得python没有随ubuntu一起安装,但我可能记错了。

最佳答案

试试这个sudo apt install python3-pip

关于windows - 如何在 Windows 的 linux 子系统上安装 numpy?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66680238/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com