ptone / pyosc Goto Github PK
View Code? Open in Web Editor NEWPython library for OSC (github clone/mirror)
Home Page: http://gitorious.org/pyosc
Python library for OSC (github clone/mirror)
Home Page: http://gitorious.org/pyosc
Hi all,
I'm trying to install this on Python 3 but I keep getting a lot of errors like:
"AttributeError: module 'types' has no attribute..."
I tried changing this to reflect the changes in Python 3 but there is always a new error. Is there a way to install this for Python 3?
Thanks!
I'm getting this error when I try to import (just checked, also on installation..):
OSX 10.11, Python 3.4.3
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/ ... /OSC.py", line 781
binary = struct.pack('>LL', 0L, 1L)
^
SyntaxError: invalid syntax
Any idea?
Hi there,
Here is what I get when I try to run the sender example:
client.send( OSCMessage("/user/1", [1.0, 2.0, 3.0 ] ) )
TypeError: init() takes at most 2 arguments (3 given)
Thanks,
When I download pyosc via pip and try running the knect-snd.py example I get the following error:
Traceback (most recent call last):
File "BlankOSC.py", line 8, in
client.send( OSCMessage("/user/1", [1.0, 2.0, 3.0 ] ) )
TypeError: init() takes at most 2 arguments (3 given)
This is when I copy and paste the example, nothing else. OSC sending works find when I create an OSC message with no arguments then append address and data. Anything I'm missing?
Can you provide an example of an handshake between server and client such that for every data being sent to server from client, the server has to request it to the client.
Hello
Im getting this error when I try run an OSC server.
The OSC client works fine.
Any ideas on what might be causing this?
Thanks
After running pip install pyOSC
or ./setup.py install
on ubuntu 16.04 and mint 18.2 we get the following error preventing installation.
Collecting pyOSC
Downloading https://files.pythonhosted.org/packages/7c/e4/6abb118cf110813a7922119ed0d53e5fe51c570296785ec2a39f37606d85/pyOSC-0.3.5b-5294.tar.gz
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-g9knkxpt/pyOSC/setup.py'"'"'; __file__='"'"'/tmp/pip-install-g9knkxpt/pyOSC/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-g9knkxpt/pyOSC/pip-egg-info
cwd: /tmp/pip-install-g9knkxpt/pyOSC/
Complete output (8 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-g9knkxpt/pyOSC/setup.py", line 5, in <module>
import OSC
File "/tmp/pip-install-g9knkxpt/pyOSC/OSC.py", line 735
binary = struct.pack('>ll', 0L, 1L)
^
SyntaxError: invalid syntax
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
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.