daviddoukhan / py_sonicvisualiser Goto Github PK
View Code? Open in Web Editor NEWA framework for manipulating sonic visualiser annotation files
License: GNU General Public License v2.0
A framework for manipulating sonic visualiser annotation files
License: GNU General Public License v2.0
Hi David !
Trying to install py_sonicvisualiser through pip raise the following Error:
$ sudo pip install py_sonicvisualiser
Downloading/unpacking py-sonicvisualiser
Running setup.py egg_info for package py-sonicvisualiser
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/home/thomas/code/timeside/TimeSide/build/py-sonicvisualiser/setup.py", line 37, in <module>
long_description = open('README.md').read(),
IOError: [Errno 2] No such file or directory: 'README.md'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/home/thomas/code/timeside/TimeSide/build/py-sonicvisualiser/setup.py", line 37, in <module>
long_description = open('README.md').read(),
IOError: [Errno 2] No such file or directory: 'README.md'
Hi David !
There is an issue when installing py-sonicvisualiser with pip install
from Pypi.
Pip was not able to find a version that satisfies the requirement appearently because py-sonicvisualiser current version is is 0.2-9-gebe83bd and such a naming convention seems not to be supported by Pip (see http://stackoverflow.com/a/18319230) which seems to consider releases as pre-releases.
The workaround for setting py-sonicvisualiser as a requirement is to specify the exact version: "py-sonicvisualiser==0.2-9-gebe83bd"
But this leads to the following warning:
Downloading py_sonicvisualiser-0.2-9-gebe83bd.tar.gz
Running setup.py egg_info for package py-sonicvisualiser
/tmp/tsdiademsenv/local/lib/python2.7/site-packages/setuptools-11.0-py2.7.egg/setuptools/dist.py:293: UserWarning: The version specified ('0.2-9-gebe83bd') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
"details." % self.metadata.version
see PEP 440: https://www.python.org/dev/peps/pep-0440/
The proper fix would be for py_sonicvisualiser to follow a PEP440 compatible naming convention as 0.2.9 for example.
Hello,
When running the example1.py,I found a AttributeError: parentNode happens at SVEnv.py, line 246 ,dataset = self.data.appendChild(SVDataset3D(self.doc, str(imodel), self.samplerate))
It's ok to appendChild(self.doc.createElement('Text')),what is the difference?
Hello,
I was trying to install py_sonicvisualiser using pip. It had unmet dependencies which never seem to resolve.
pip install py_sonicvisualiser
Collecting py_sonicvisualiser
Downloading https://files.pythonhosted.org/packages/47/2d/e5bf249cafa88259e39f97847c3be575a25a6005cc896a55287c7e6c8da7/py_sonicvisualiser-0.3.tar.gz
Requirement already satisfied: setuptools in c:\python37\lib\site-packages (from py_sonicvisualiser) (39.0.1)
Requirement already satisfied: numpy in c:\python37\lib\site-packages (from py_sonicvisualiser) (1.15.2)
Collecting scipy (from py_sonicvisualiser)
Downloading https://files.pythonhosted.org/packages/c4/f3/752fd6778a9d07fddb2b02dac5895287e594d2d0d156a2a422c710f6a851/scipy-1.1.0-cp37-none-win_amd64.whl (30.9MB)
100% |████████████████████████████████| 30.9MB 186kB/s
Installing collected packages: scipy, py-sonicvisualiser
Running setup.py install for py-sonicvisualiser ... done
Successfully installed py-sonicvisualiser-0.3 scipy-1.1.0
PS C:\WINDOWS\system32> python
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import py_sonicvisaliser
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'py_sonicvisaliser'
>>> import py_sonicvisualiser
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python37\lib\site-packages\py_sonicvisualiser\__init__.py", line 6, in <module>
from SVEnv import SVEnv
ModuleNotFoundError: No module named 'SVEnv'
>>> import py-sonicvisualiser
File "<stdin>", line 1
import py-sonicvisualiser
^
SyntaxError: invalid syntax
>>> import py_sonicvisualiser
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python37\lib\site-packages\py_sonicvisualiser\__init__.py", line 6, in <module>
from SVEnv import SVEnv
ModuleNotFoundError: No module named 'SVEnv'
>>> pip install^Z
File "<stdin>", line 1
pip install�
^
SyntaxError: invalid syntax
>>> ^Z
PS C:\WINDOWS\system32> pip install SVEnv
Collecting SVEnv
Could not find a version that satisfies the requirement SVEnv (from versions: )
No matching distribution found for SVEnv
PS C:\WINDOWS\system32> pip install SV
Collecting SV
Downloading https://files.pythonhosted.org/packages/39/92/d5c6afa1ec05d34ba898c0a1aec6fa94117285915c2a8cb8b139af1079bb/sv-0.2.2.tar.gz (81kB)
100% |████████████████████████████████| 81kB 194kB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\SUMUKH~1\AppData\Local\Temp\pip-install-fizj7qjl\SV\setup.py", line 2, in <module>
import compiler, os, pydoc
ModuleNotFoundError: No module named 'compiler'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\SUMUKH~1\AppData\Local\Temp\pip-install-fizj7qjl\SV\
PS C:\WINDOWS\system32> pip install compiler
Collecting compiler
Downloading https://files.pythonhosted.org/packages/3a/5c/e0cfbb58ad022407b500af966d775b437adb64f9fe197986dfa38ebb428c/compiler-0.2.0-py3-none-any.whl
Installing collected packages: compiler
Successfully installed compiler-0.2.0
PS C:\WINDOWS\system32> pip install SV
Collecting SV
Using cached https://files.pythonhosted.org/packages/39/92/d5c6afa1ec05d34ba898c0a1aec6fa94117285915c2a8cb8b139af1079bb/sv-0.2.2.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\SUMUKH~1\AppData\Local\Temp\pip-install-ybvi3udc\SV\setup.py", line 3, in <module>
from compiler import visitor
ImportError: cannot import name 'visitor' from 'compiler' (c:\python37\lib\site-packages\compiler\__init__.py)
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\SUMUKH~1\AppData\Local\Temp\pip-install-ybvi3udc\SV\
PS C:\WINDOWS\system32> pip install SV
Collecting SV
Using cached https://files.pythonhosted.org/packages/39/92/d5c6afa1ec05d34ba898c0a1aec6fa94117285915c2a8cb8b139af1079bb/sv-0.2.2.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\SUMUKH~1\AppData\Local\Temp\pip-install-066rtl9s\SV\setup.py", line 3, in <module>
from compiler import visitor
ImportError: cannot import name 'visitor' from 'compiler' (c:\python37\lib\site-packages\compiler\__init__.py)
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\SUMUKH~1\AppData\Local\Temp\pip-install-066rtl9s\SV\
PS C:\WINDOWS\system32> pip install VCS
>>
Collecting VCS
Downloading https://files.pythonhosted.org/packages/75/1e/9a3579a5a1f1bc9a1bc7e3b0d248efe635b6dbbc2679d5af5af8fc375b98/vcs-0.4.0.tar.gz (482kB)
100% |████████████████████████████████| 491kB 514kB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\SUMUKH~1\AppData\Local\Temp\pip-install-tff3s8jq\VCS\setup.py", line 11
except IOError, err:
^
SyntaxError: invalid syntax
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\SUMUKH~1\AppData\Local\Temp\pip-install-tff3s8jq\VCS\
PS C:\WINDOWS\system32>
Above is a description.
Please do tell if Im doing anything wrong. If there are contribution opportunities, I'd like to work on it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.