简体   繁体   中英

How to install python 3 vlc properly?

So I have installed the vlc folders from pypi, tried to write the installing code but when I try to import vlc, it says no module named vlc. And when I try to write the pip install python-vlc or pip3 install python-vlc code, it just says syntax error on 'install'. Any tips or more information about installing and importing vlc?

First of all, you have to make sure how many pythons you have installed in your PC, are they all python 3 or you have it both?

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. Make sure your both pip and the python you use are in the same directory.

Run the pip or pip3 according to the one you used:)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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