Code Monkey home page Code Monkey logo

Comments (6)

AlexRRR avatar AlexRRR commented on June 28, 2024

I found the problem: the carbon package is installed by pip under /opt/graphite/lib
and not /usr/local/lib/python2.7/dist-packages/ as it was expecting. After symlinking things, this works.

from carbonate.

jssjr avatar jssjr commented on June 28, 2024

Interesting. You shouldn't need to create symlinks to compensate for graphite/carbon installing its libraries in odd places because of https://github.com/jssjr/carbonate/blob/master/carbonate/cluster.py#L3-L4.

Glad you found a fix, though.

from carbonate.

aruetten avatar aruetten commented on June 28, 2024

I run into the same problem when I installed carbonate and carbon via pip. If carbon is installed via the debian package this problems seems not to be present.

The debian package has the following patch:
http://sources.debian.net/src/graphite-carbon/0.9.12-3/debian/patches/disable_install_opt.patch

Could this be the a general solution for this issue?
Would it make sense to include it upstream?

from carbonate.

psych0d0g avatar psych0d0g commented on June 28, 2024

had the same issue under debian, symlinking fixed it, thanks

from carbonate.

jssjr avatar jssjr commented on June 28, 2024

Yeah. This is gross. The debian package is removing the /opt/graphite prefix from setup so we're able to load all of carbonate's dependencies directly from the default sys.path. I made an attempt to fix this with #33. Do you mind giving that a shot to see if this fixes things more reliably?

from carbonate.

jssjr avatar jssjr commented on June 28, 2024

Should be fixed in #33

from carbonate.

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.