Code Monkey home page Code Monkey logo

Comments (3)

pjkundert avatar pjkundert commented on July 20, 2024

Nope, it is unit tested on 2.6; however, I clearly didn't test the setup.py
installer on a 2.5 system! Pull requests appreciated -- I'm in Jerusalem
right now so won't get to it for a few days...

On Wednesday, November 12, 2014, Johan Forsberg [email protected]
wrote:

I tried installing cppio under Python 2.6 (CentOS 6) and I got this error:

Downloading/unpacking cpppo
Downloading cpppo-2.9.1.tar.gz (202kB): 202kB downloaded
Running setup.py egg_info for package cpppo
Traceback (most recent call last):
File "", line 16, in
File "/tmp/pip-build-johfor/cpppo/setup.py", line 14, in
if sys.version_info.major < 3:
AttributeError: 'tuple' object has no attribute 'major'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

File "", line 16, in

File "/tmp/pip-build-johfor/cpppo/setup.py", line 14, in

if sys.version_info.major < 3:

AttributeError: 'tuple' object has no attribute 'major'

This is apparently only supported in >=2.7. I have no idea if there are
other things preventing cpppo from working on 2.6, but at least it's a good
idea to state somewhere that it's only compatible with 2.7 and up.


Reply to this email directly or view it on GitHub
#2.

-pjk

from cpppo.

datasim avatar datasim commented on July 20, 2024

Sorry, on a 2.6 system (writing this from my phone...)

On Wednesday, November 12, 2014, Perry Kundert [email protected]
wrote:

Nope, it is unit tested on 2.6; however, I clearly didn't test the
setup.py
installer on a 2.5 system! Pull requests appreciated -- I'm in Jerusalem
right now so won't get to it for a few days...

On Wednesday, November 12, 2014, Johan Forsberg <[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');>
wrote:

I tried installing cppio under Python 2.6 (CentOS 6) and I got this
error:

Downloading/unpacking cpppo
Downloading cpppo-2.9.1.tar.gz (202kB): 202kB downloaded
Running setup.py egg_info for package cpppo
Traceback (most recent call last):
File "", line 16, in
File "/tmp/pip-build-johfor/cpppo/setup.py", line 14, in
if sys.version_info.major < 3:
AttributeError: 'tuple' object has no attribute 'major'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

File "", line 16, in

File "/tmp/pip-build-johfor/cpppo/setup.py", line 14, in

if sys.version_info.major < 3:

AttributeError: 'tuple' object has no attribute 'major'

This is apparently only supported in >=2.7. I have no idea if there are
other things preventing cpppo from working on 2.6, but at least it's a
good
idea to state somewhere that it's only compatible with 2.7 and up.


Reply to this email directly or view it on GitHub
#2.

-pjk


Reply to this email directly or view it on GitHub
#2 (comment).

-pjk

from cpppo.

pjkundert avatar pjkundert commented on July 20, 2024

I was incorrect -- cpppo was not unit tested under 2.6! I mis-remembered; I extensively tested one of packages it uses (greenery) under 2.6, but not cpppo!

This has been fixed; cpppo 2.9.2 now works correctly under Python 2.6, and installs correctly via pip. Due to some changes in how python -m executes modules, in order to run the cpppo.server.enip and cpppo.server.enip.client, you must specify the 'main' file explicitly, eg: 'python -m cpppo.server.enip.main --print TAGNAME=DINT[1000]'.

from cpppo.

Related Issues (20)

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.