Packaging with Python

This forum is about all development around libVLC.
thatguyandrew1992
New Cone
New Cone
Posts: 4
Joined: 17 May 2008 19:03

Packaging with Python

Postby thatguyandrew1992 » 16 Jul 2015 03:16

I have a libvlc program and I am trying to package it with cxFreeze and/or py2exe

I package it with py2exe on a clean Win7 VM, 64 bit with 64bit python.
I then take the dist folder that was generated and add in libvlc.dll and libvlccore.dll from the 64bit VLC program/install.

I then have another clean Win7 64bit VM with the VS Redist 64bit installed.
When I try and run it I get the following error
"core libvlc error: No plugins found! Check your VLC intance."

*VLC is not installed on this VM

Any ideas on how to get passed this? VLC is not installed on the VM that I am running the package program on.

EDIT:
Installing VLC didn't help

When I try the package that I made with cxFreeze, I get the following error
Traceback
File C:\Python27\lib\site-packages\cx_Freeze\initscripts\Console.py
...
AttributeError: 'NoneType' object has no attribute 'media_player_new'

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Packaging with Python

Postby Jean-Baptiste Kempf » 16 Jul 2015 10:40

You must package all the plugins/ folder, next to libVLC.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 13 guests