簡體   English   中英

沒有名為 arcade 的模塊

[英]No Module named arcade

對於課程,我使用的是 python arcade。 我用pip install arcade安裝了它。 當我嘗試使用import arcade導入它時,它會彈出ModuleNotFoundError: No module named 'arcade'

我已經卸載並重新安裝了街機。 當我輸入pip freeze時它會出現。 我在 Windows 10 上使用 VS Code。當我查看 VS Code 中的“錯誤”選項卡時,它顯示“無法導入‘arcade’pylint(import-error)[3,1]”

我曾經遇到過同樣的問題。 我的解決方案是通過運行python -m pip install <module>而不是pip install <module>

我在 jupyter notebook 中遇到了同樣的問題,我已經解決了如下問題:

pip install notebook

對於 class 我正在使用 python 街機。 我用pip install arcade安裝它。 當我嘗試使用import arcade導入它時,它會彈出ModuleNotFoundError: No module named 'arcade'

我已經卸載並重新安裝了街機。 它出現在我輸入pip freeze時。 我在 windows 10 上使用 VS Code。當我查看 VS Code 中的“錯誤”選項卡時,它顯示“無法導入 'arcade' pylint(import-error)[3,1]”

對於 class 我正在使用 python 街機。 我用pip install arcade安裝它。 當我嘗試使用import arcade導入它時,它會彈出ModuleNotFoundError: No module named 'arcade'

我已經卸載並重新安裝了街機。 它出現在我輸入pip freeze時。 我在 windows 10 上使用 VS Code。當我查看 VS Code 中的“錯誤”選項卡時,它顯示“無法導入 'arcade' pylint(import-error)[3,1]”

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM