<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.videolan.org/index.php?action=history&amp;feed=atom&amp;title=Talk%3APython_bindings</id>
	<title>Talk:Python bindings - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.videolan.org/index.php?action=history&amp;feed=atom&amp;title=Talk%3APython_bindings"/>
	<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Talk:Python_bindings&amp;action=history"/>
	<updated>2026-11-04T17:19:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Talk:Python_bindings&amp;diff=19725&amp;oldid=prev</id>
		<title>Acidjunk at 13:35, 3 October 2011</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Talk:Python_bindings&amp;diff=19725&amp;oldid=prev"/>
		<updated>2011-10-03T13:35:53Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:35, 3 October 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;I&#039;ve had some difficulty getting the Python bindings to VLC operating on Mac OSX 10.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;6but &lt;/del&gt;finally found a workaround. The difficulty is that when operating on a Mac, the bindings will only operate properly using a 32 bit Python. On Mac OS 10.6 the default Python is version 2.6.1 which operates as a 64 bit python by default. This leads to a variety of errors depending on the circumstances but generally you will get vlc.py reporting &#039;image not found&#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;I&#039;ve had some difficulty getting the Python bindings to VLC operating on Mac OSX 10.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;6 but &lt;/ins&gt;finally found a workaround. The difficulty is that when operating on a Mac, the bindings will only operate properly using a 32 bit Python. On Mac OS 10.6 the default Python is version 2.6.1 which operates as a 64 bit python by default. This leads to a variety of errors depending on the circumstances but generally you will get vlc.py reporting &#039;image not found&#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The workaround is to force Python 2.6.1 to 32 bit architecture. This can be  done on a temporary basis with the commands:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The workaround is to force Python 2.6.1 to 32 bit architecture. This can be  done on a temporary basis with the commands:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Acidjunk</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Talk:Python_bindings&amp;diff=18964&amp;oldid=prev</id>
		<title>Adwelly: Getting vlc.py operating on Mac OSX 10.6</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Talk:Python_bindings&amp;diff=18964&amp;oldid=prev"/>
		<updated>2011-04-14T09:06:29Z</updated>

		<summary type="html">&lt;p&gt;Getting vlc.py operating on Mac OSX 10.6&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;I&amp;#039;ve had some difficulty getting the Python bindings to VLC operating on Mac OSX 10.6but finally found a workaround. The difficulty is that when operating on a Mac, the bindings will only operate properly using a 32 bit Python. On Mac OS 10.6 the default Python is version 2.6.1 which operates as a 64 bit python by default. This leads to a variety of errors depending on the circumstances but generally you will get vlc.py reporting &amp;#039;image not found&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The workaround is to force Python 2.6.1 to 32 bit architecture. This can be  done on a temporary basis with the commands:&lt;br /&gt;
&lt;br /&gt;
    % export VERSIONER_PYTHON_PREFER_32_BIT=yes # Bourne-like shells&lt;br /&gt;
or&lt;br /&gt;
    % setenv VERSIONER_PYTHON_PREFER_32_BIT yes # C-like shells&lt;br /&gt;
&lt;br /&gt;
You can also make the change semi-permanent with the command:&lt;br /&gt;
&lt;br /&gt;
    % defaults write com.apple.versioner.python Prefer-32-Bit -bool yes&lt;br /&gt;
&lt;br /&gt;
(both of these pages are from the OSX man page for Python). The vlc.py bindings will then operate correctly with the universal executable and the 32 bit executable which are available from the main download page for Macs.&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;d like to include this information on the main wiki page as it took me a couple of days to work it out. As to the larger question of getting vlc.py operating with a 64 bit Python, I&amp;#039;m currently clueless as I haven&amp;#039;t been able to get a build operating yet. I do know there&amp;#039;s no inherent problem with 64 bit python and ctypes as I&amp;#039;ve written my own library and loaded it.&lt;/div&gt;</summary>
		<author><name>Adwelly</name></author>
	</entry>
</feed>