Giter Club home page Giter Club logo

Comments (7)

nariakiiwatani avatar nariakiiwatani commented on August 10, 2024 1

I'm using pyOSC from python2.7 so I don't get this error but hope it helps.

The error message suggests that they don't have "L" literal in python3.
Since all integers are 64bit in python3, it may be fixed by simply removing "L" literal.

from pyosc.

frnsys avatar frnsys commented on August 10, 2024

I'm having this same issue, any luck?

from pyosc.

FreedomEclipse avatar FreedomEclipse commented on August 10, 2024

Also getting this error and its really driving me nuts. Any luck anyone?

from pyosc.

Villentretenmert avatar Villentretenmert commented on August 10, 2024

Just removin L and get
binary = struct.pack('>LL', 0, 1)

It does not work

from pyosc.

pedro-arevalo-moxie avatar pedro-arevalo-moxie commented on August 10, 2024

The program is still not working for Python 3. Any solutions?

from pyosc.

ninicksicard avatar ninicksicard commented on August 10, 2024

The OSC.py file wasnt completed for 3.5+
these are the modifications i made:
binary = struct.pack('>LL', 0L, 1L) ----> binary = struct.pack('>LL', 0, 1)
print "txt" ---->print("txt")
except error, e ----> except error as e
raise error, ----> raise error()
SocketServer ----> socketserver
ForkingMixIn : rebuilt the class from pythono 2.7 directly in the file
fromstr = map(ord, fromstr) --- > for i in fromstr : fromstr.append(ord(i))
FloatTypes = [types.FloatType] -----> FloatTypes = [float]
IntTypes = [types.IntType] -----> IntTypes = [int]
Just replace the OSC.py file with mine and run the install. The installation works, but i dont know if the rest of the library does yet.

OSC.py.txt

from pyosc.

kaosbeat avatar kaosbeat commented on August 10, 2024

having same issue, OSX 10.13.2 Python 3.5.2

from pyosc.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.