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

[BUG] Source install includes .egg directories #2823

Open
itinneed2022 opened this issue Nov 9, 2023 · 3 comments
Open

[BUG] Source install includes .egg directories #2823

itinneed2022 opened this issue Nov 9, 2023 · 3 comments

Comments

@itinneed2022
Copy link

Describe the bug
When trying to install from source, the path is extended to include ".egg" directories in /opt/graphite/webapp, /opt/graphite/lib

To Reproduce
I installed the requirements using the requirements.txt file:
(/usr/local/src/carbon -or- graphite)
python39 -m pip install -r requirements.txt
And then installed carbon:
python39 setup.py install

Expected behavior
/opt/graphite/webapp/ should contain content and graphite directories
This will let me run the django-admin migrate steps later in setup.

Screenshots
image

Environment (please complete the following information):

  • OS flavor: Red Hat 8.8
  • Graphite-web version 1.2.0
  • Django/Python version Python39, Django==4.2.7
  • Setup type Source

Additional context
I installed Django 4.2.7, using the requirements file. But I'm seeing Django 3.2.23 in the default directory:
/app/graphite/webapp/Django-3.2.23-py3.9.egg/

@itinneed2022
Copy link
Author

Note, I just switched to Graphite 1.1.0, and the directory issue is gone.

@deniszh
Copy link
Member

deniszh commented Nov 10, 2023

Yes, confirming that. For proper installation with recent python you need to call it like

python39 setup.py install --single-version-externally-managed --root=/

Copy link

stale bot commented Mar 17, 2024

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.

@stale stale bot added the stale label Mar 17, 2024
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

2 participants