Giter Club home page Giter Club logo

Comments (7)

pfifer avatar pfifer commented on August 16, 2024 2

I'm looking into a complete fix similar to what @kpourdeilami suggested. I'm trying to track down the reason setup.py does the override of install the way it does.

I hope to have a fix complete for the next release.

from amazon-kinesis-client-python.

whummer avatar whummer commented on August 16, 2024

+1 happens here as well under Python 2.7.11 on OS X 10.11.

from amazon-kinesis-client-python.

pfifer avatar pfifer commented on August 16, 2024

I'm not able to recreate this on my system with either Python 2.7.12, or 3.5.2. I am using python installed from Homebrew in both cases where the results are being installed into a directory owned by me.

Is the command line you're using for install different than python/python3 setup.py install?

from amazon-kinesis-client-python.

 avatar commented on August 16, 2024

I install it with pip which in turn uses the python setup.py install and I'm using the homebrew version of python

@whummer I was able to resolve this by removing a few lines from the setup.py (source) It's not a proper fix but it got rid of the error

from amazon-kinesis-client-python.

pfifer avatar pfifer commented on August 16, 2024

I was trying to install it directly from the source directory, and not pip. Once I tried using the pip installation I did get see the same thing.

To make it more confusing it appears the installation actually succeeds, and the egg is dropped in
/usr/local/lib/python2.7/site-packages/amazon_kclpy-1.3.1-py2.7.egg/
or
/usr/local/lib/python3.5/site-packages/amazon_kclpy-1.3.1-py3.5.egg/

This is also using Homebrew.

The setup.py is working somewhat correctly, but I don't want it to generate the error message. I'm not sure if the setup actually needs to override install, or call do_egg_install directly this way. Switching to just calling install.run(self) appears to work correctly on my laptop.

Can you check whether the egg is showing up in one of the directories above, even after the pip install failure?

from amazon-kinesis-client-python.

whummer avatar whummer commented on August 16, 2024

@pfifer I can confirm that the egg is showing up correctly in the directory lib/python2.7/site-packages/amazon_kclpy-1.3.1-py2.7.egg/, including all required JAR files, even after the pip install failure. Can we maybe apply the fix suggested by @kpourdeilami ? Thanks

from amazon-kinesis-client-python.

pfifer avatar pfifer commented on August 16, 2024

This should be fixed in release 1.4.0. Please let us know if you have any problems.

from amazon-kinesis-client-python.

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.