[英]How to install python 3 vlc properly?
所以我從 pypi 安裝了 vlc 文件夾,嘗試編寫安裝代碼,但是當我嘗試導入 vlc 時,它說沒有名為 vlc 的模塊。 當我嘗試編寫pip install python-vlc
或pip3 install python-vlc
代碼時,它只是說“安裝”時出現語法錯誤。 有關安裝和導入 vlc 的任何提示或更多信息?
首先,您必須確定您的 PC 中安裝了多少個 python,它們都是 python 3 還是兩者都有?
Let's identify which python you are using in your terminal, python
or python3
Then, check it with which pip
, which pip3
and which python
if you are using python, which python3
if you are using python3
at your terminal. 確保您使用的pip
和python
位於同一目錄中。
根據您使用的運行pip
或pip3
:)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.