![](/img/trans.png)
[英]How can I manage to install packages within python-dev on windows systems just like that on Linux?
[英]How can i install Python-dev inside a docker container?
I have a docker container (bash),
i want to install numpy
inside the container using command pip intsall numpy
but it gives error SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-dev
SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-dev
當我嘗試安裝 python-dev 時,使用命令pip install python-dev
,它給出錯誤Could not find a version that satisfies the requirement python-dev (from versions: none)
幫助將不勝感激
你有沒有試過檢查你現有的python-dev的當前版本?
使用 python 開發 -v
然后嘗試將 python dev 安裝/更新到最新版本
apt-get install -f python3.10 -dev
希望這會有所幫助
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.