Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

graphite-web and carbon, installed from 'pip' is broken if venv is used #2205

Closed
Civil opened this issue Jan 16, 2018 · 4 comments
Closed

graphite-web and carbon, installed from 'pip' is broken if venv is used #2205

Civil opened this issue Jan 16, 2018 · 4 comments

Comments

@Civil
Copy link

Civil commented Jan 16, 2018

if you are installing in venv, you'll get following paths (relative to venv root):

./lib/python2.7/site-packages/opt/graphite/webapp
./lib/python2.7/site-packages/opt/graphite/lib/carbon/
./lib/python2.7/site-packages/opt/graphite/lib/twisted/

This is wrong and must be fixed.

@deniszh deniszh added the bug label Jan 16, 2018
@deniszh
Copy link
Member

deniszh commented Jan 16, 2018

Yes, confirmed.

@zasca
Copy link

zasca commented Oct 12, 2018

This is due to changes in the pip versions. By default virtualenv installs the latest version pip.

Workarounds:

  1. pip install --no-binary=:all: <carbon/graphite-web>
  2. pip install pip==6.1.1

since 7.0.0 introduced: build wheels prior to installing from sdist
Affects to python package sources: pip install <carbon/graphite-web>

since 10.0.0b1 introduced:
packages which specify one or more build dependencies this way will be built into wheels
Affects to VCS sources:
pip install https://github.com/graphite-project/<carbon/graphite-web>/tarball/<tag/commit>

@piotr1212
Copy link
Member

I guess this should help too #2409

@stale
Copy link

stale bot commented Apr 13, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants