Comments (6)
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.
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.
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.
had the same issue under debian, symlinking fixed it, thanks
from carbonate.
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.
Should be fixed in #33
from carbonate.
Related Issues (20)
- Error when running pip install carbonate HOT 3
- Fix lint errors
- Description is not properly rendered on pypi.org
- piping carbon-list to carbon-sieve produces nothing HOT 11
- Tests for Python 2.7 producing error HOT 2
- Passing a file with metric names to carbon-lookup HOT 1
- When is aggregated-consistent-hashing supported? HOT 2
- inspect.getargspec() is deprecated in python 3.0 HOT 1
- carbon-lookup returns None for cluster
- carbon-lookup returns nodes on bad metric HOT 2
- 1.1.8 sync broken on python3 HOT 3
- Missing newline in batch files causes rsync errors HOT 1
- Carbonate can't find carbon installed in virtualenv (or non virtualenv on Mac OS X) HOT 9
- New release HOT 4
- Is carbonate still considered beta quality? HOT 3
- call to ConsistentHashRing with wrong args HOT 2
- Carbon-sieve errors out when results from carbon-list are piped to it. HOT 2
- preserving timestamps with sync HOT 3
- carbon-hosts fails HOT 3
- Add LICENSE file to pypi package HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from carbonate.