Python-audiodiff installation - python-3.x

trying to install audio diff for python 3.0 in visual studio code but getting an error message stating no matching distribution found for mutagen==1.21.
I tried installing mutagen 1.21 got installed but still not able to install audiodiff.

So, looking at this issue it looks like these libraries (mutagenwrapper and audiodiff) are written for Python2 so if you are using Python3 they won't work.
Luckily, it looks like #SteveClement has updated them to Python3 himself (thank you to this comment for pointing it out).
So, to install his versions of them:
pip install git+https://github.com/SteveClement/mutagenwrapper.git
pip install git+https://github.com/SteveClement/audiodiff.git
I can't test these but let me know if this works for you.

Related

PyMesh Installation on Python 3.6 Windows

I am trying to install Pymesh on Python 3.6.
In my first try, I installed through pip, however it installed a wrong PyMesh than I wanted.
It installed the following, https://pypi.org/project/pymesh/, while I wanted https://pymesh.readthedocs.io/en/latest/
I uninstalled it, and tried installing the later PyMesh, however no luck. There were no instructions for windows. I downloaded the source from github. I extracted and pasted it in C:\Python36\Lib\site-packages
Then I ran python3 setup.py build - when an error showed up, I also tried python3 setup.py install, which worked. However, I am unable to do a simple basic command mentioned in the web page: https://pymesh.readthedocs.io/en/latest/basic.html
It is saying pymesh does not have module name load_mesh.
Looking for the process or thoughts on how to properly install pyMesh for Windows.
My go to solution for problems like this on Windows is always to try it in a conda env first. If that fails, use Docker.

Installing Graphviz on windows 10

I'm trying to install graphviz on windows 10 (Python 3.6). I went through multiple documentations but nothing seems to work. I tried to run below commands which were explained in the various documentations but it didn't work.
install -c anaconda graphviz
conda install -c anaconda graphviz #I tried these commands in python console
I get below error:
Syntax Error : invalid syntax
Can anyone tell me the exact procedure of installing graphviz on windows?
pip install graphviz didn't work for me. The library could be imported, but when I tried to open real-world examples, it crashed because of missed dependencies. (I actually found this topic while trying to solve those crashes lol).
The following two commands solved all my problems:
conda install graphviz
conda install python-graphviz
I am now able to replicate all the (graphviz) plots presented in this well-known Machine Learning repository:
https://github.com/quark0/darts
PS. Perhaps executing only the second command (alone) is enough (conda install python-graphviz), I am not 100% sure. I only know that conda install graphviz doesn't work alone for Python.
You should first install graphviz. http://www.graphviz.org/download/
After installing it and adding to path installing the python bindings should be straight forward.
pip install graphviz
edit: Updated the link

qfrm module - No module named 'qfrm.Options' (Python 3.5.1)

I am quite newbie in python and I am trying to make the qfrm 0.2.0.27 library to work. Unfortunately there is no documentation about this library. I installed it using pip and when I try to import it I get the following error:
No module named 'qfrm.Options'
Does anyone have a solutions for this? I am using python 3.5.1. and PyCharm
I also ran into this problem. The current version in the PyPi index is qfrm-0.2.0.27.
The version on the website appears to be qfrm-0.2.0.23. Although it is older, it worked without error for me.
If you download the ...23 whl file and install that one (pip install [file_name].whl) you may find it works better.
I'm on Python version 2.7.11 and was unable to install qfrm version 0.2.0.27 and received the error message: No module named 'qfrm.Options'
However, I was able to install qfrm version 0.2.0.23, as follows: pip install -v qfrm==0.2.0.23

yagmail installation win32ctypes matching distribution not found error

yagmail was working for me, this is the first time ive tried it since I upgraded to python 3.5, and it doesnt work. I uninstalled yagmail and tried to pip install it again but it showed me this error on no matching distribution found for win32ctypes?
http://imgur.com/nko5GRs
Any help will be appreciated. Thanks!
It seems to be a keyring issue. Probably they need to support windows for Python3.5
You could try to see if their most recent version on git works:
pip uninstall keyring
pip install git+https://github.com/jaraco/keyring.git
pip install yagmail
Let me know, and feel free to open a ticket on github as well.
Not sure if that would work: there are no issues for Python 3.5 on OS' other than Windows.

iPython on Win8 fails to install modules

Please bear with me the total novice of Python 3 and non native English speaker.
I'm using windows 8 in iPython notebook environment, and I have problem installing modules such as Jieba. If you go to its homepage, the English version is in the bottom (however, not as updated as the Chinese version). It says it supports Python 3 as well, so I tried using git as it suggested, but it gave me this (I successfully cloned it before).
Some other things I tried as well
Using cmd to run setup.py
Using pip3 (it's another module I failed to install)
Installing easy_install (same, couldn't install it)
Do I have to use other approaches to install modules cause I'm using iPython notebook? I'm so frustrated. I'm trying to do text mining on some Chinese texts but I struggle so much with this hurdle already.
You've already cloned Jieba into your home directory (~), which is why your second attempt at cloning failed. Enter the jieba directory, and run git pull to sync any changes from the master repo. You can then run python setup.py install in that directory to install the module.
To install pip on Windows, follow the instructions in this question.

Resources