-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No module named 'vidcutter.libs.mpv' #308
Comments
For Windows 10 you need Python3 and Visual Studio Build Tools 2017 (available for download from Microsoft's Visual Studio pages) and libmpv installed. You can download the libmpv DLL here: https://sourceforge.net/projects/mpv-player-windows/files/libmpv/ Download the latest version and copy the DLL file into the vidcutter source code directory or, to make it easy, copy it to C:\Windows\System32 Now you can simply run the following command in the vidcutter source code directory:
This will create a .pyd file at vidcutter\libs\mpv.cp39-win_amd64.pyd and you can then PyCharm projects should work too. |
PLEASE IGNORE PREVIOUS EMAIL, I FORGOT libmpv DEPENDANCY
For Windows 10 you need **Python3** and **Visual Studio Build Tools 2017** (available for download from Microsoft's Visual Studio pages) and **libmpv** installed. You can download the libmpv DLL here:
https://sourceforge.net/projects/mpv-player-windows/files/libmpv/
Download the latest version and copy the DLL file into the vidcutter source code directory or, to make it easy, copy it to C:\Windows\System32
Now you can simply run the following command in the vidcutter source code directory:
python setup.py build_ext -i
This will create a .pyd file at vidcutter\libs\mpv.cp39-win_amd64.pyd and you can then run with:
python vidcutter
from the root source code directory.
Cheers,
Pete
…---- On Mon, 26 Apr 2021 20:44:51 +1000 soufaam ***@***.***> wrote ----
Hello,
I'm working in Windows 10 envirement and I'am trying to compile the source code using Pycharm . When I run main.py file it gives me this error :
import vidcutter.libs.mpv as mpv
ModuleNotFoundError: No module named 'vidcutter.libs.mpv'
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, #308, or https://github.com/notifications/unsubscribe-auth/ABALOS2TYZ3LUOJNYTARGVTTKUYZHANCNFSM43STYHQQ.
|
Thank you very much for your help
…On Thu, May 13, 2021, 9:01 AM Pete Alexandrou ***@***.***> wrote:
PLEASE IGNORE PREVIOUS EMAIL, I FORGOT libmpv DEPENDANCY
For Windows 10 you need **Python3** and **Visual Studio Build Tools
2017** (available for download from Microsoft's Visual Studio pages) and
**libmpv** installed. You can download the libmpv DLL here:
https://sourceforge.net/projects/mpv-player-windows/files/libmpv/
Download the latest version and copy the DLL file into the vidcutter
source code directory or, to make it easy, copy it to C:\Windows\System32
Now you can simply run the following command in the vidcutter source code
directory:
python setup.py build_ext -i
This will create a .pyd file at vidcutter\libs\mpv.cp39-win_amd64.pyd and
you can then run with:
python vidcutter
from the root source code directory.
Cheers,
Pete
---- On Mon, 26 Apr 2021 20:44:51 +1000 soufaam ***@***.***> wrote ----
Hello,
I'm working in Windows 10 envirement and I'am trying to compile the source
code using Pycharm . When I run main.py file it gives me this error :
import vidcutter.libs.mpv as mpv
ModuleNotFoundError: No module named 'vidcutter.libs.mpv'
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly,
#308, or
https://github.com/notifications/unsubscribe-auth/ABALOS2TYZ3LUOJNYTARGVTTKUYZHANCNFSM43STYHQQ.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#308 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI4UAB7IYDG7E76BL7L3OULTNOIOPANCNFSM43STYHQQ>
.
|
@ozmartian I followed the exact steps but the problem remains. To reproduce: Copy stacktrace:
|
This is the folder that is being created when downloading and running the latest version at https://sourceforge.net/projects/mpv-player-windows/files/libmpv/ |
@ozmartian fixed! The correct download link is this: https://sourceforge.net/projects/mpv-player-windows/files/libmpv/mpv-dev-x86_64-20211107-git-ec16769.7z/download trying to download the latest version doesn't provide the correct dll file. To make it work I had to put the DLL into |
Download the latest version and copy the DLL file into the vidcutter source code directory |
Hello,
I'm working in Windows 10 environment and I'am trying to compile the source code using Pycharm. When I run main. py file it gives me this error:
import vidcutter.libs.mpv as mpv
ModuleNotFoundError: No module named 'vidcutter.libs.mpv'
Any help will be appreciated
The text was updated successfully, but these errors were encountered: