PyDub: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
Line 9: Line 9:


<source lang="bash">
<source lang="bash">
sudo easy_install setuptools
sudo python setup.py install
sudo python setup.py install
</source>
</source>
If it complains about setuptools missing, do this:
<source lang="bash">
sudo easy_install setuptools
</source>
... and then repeat the line above.
== Linux ==
* Download the latest code (as a zip)
* Open the Terminal
* "cd" into the folder with setup.py
<source lang="bash">
sudo python setup.py install
</source>
If it complains about setuptools missing, do this:
<source lang="bash">
sudo apt-get install python-setuptools
</source>
... and then repeat the line above.


== Running / Using pydub ==
== Running / Using pydub ==

Revision as of 14:16, 4 November 2014

http://pydub.com/

https://github.com/jiaaro/pydub/

Installing on OS X

  • Download the latest code (as a zip)
  • Open the Terminal
  • "cd" into the folder with setup.py
sudo python setup.py install

If it complains about setuptools missing, do this:

sudo easy_install setuptools

... and then repeat the line above.


Linux

  • Download the latest code (as a zip)
  • Open the Terminal
  • "cd" into the folder with setup.py
sudo python setup.py install

If it complains about setuptools missing, do this:

sudo apt-get install python-setuptools

... and then repeat the line above.

Running / Using pydub

  • Open terminal
  • Start "python"
  import pydub