-
Notifications
You must be signed in to change notification settings - Fork 946
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
Js add specs and cli docs #3771
Conversation
✅ Deploy Preview for docs-getdbt-com ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
|
||
## Installation | ||
1. Create or activate your virtual environment.`python -m venv venv` | ||
2. Run `pip install dbt-metricflow` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Jstein77 is it pip install dbt-metricflow
or pip install metricflow
per the readme?
also what python versions are supported? the metricflow github repo says requires-python = ">=3.8,<3.12"
but my error seems to imply it doesn't support 3.11, which I'm on?
I'm on python 3.11.4, so when i tried installing using dbt-metricflow
, i got the below error:
(mwong-metrics) ➜ ~ git:(current) ✗ pip install dbt-metricflow
ERROR: Ignored the following versions that require a different python version: 0.0.1 Requires-Python <3.10,>=3.8; 0.0.2 Requires-Python <3.10,>=3.8; 0.0.3 Requires-Python <3.10,>=3.8
ERROR: Could not find a version that satisfies the requirement dbt-metricflow (from versions: none)
ERROR: No matching distribution found for dbt-metricflow
but when i used pip install metricflow
as specified in the cli package github readme, it installed successfully.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is a bug. The preferred way to install the cli is pip install dbt-metricflow
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dbt-labs/metricflow#663 should be resolved when this is merged
…t.com into js-add-specs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚢
The MetricFlow CLI is compatible with Python versions 3.8, 3.9, 3.10 and 3.11 | ||
|
||
# CLI commands | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.
let me know if you want me to merge @Jstein77 ! |
What are you changing in this pull request and why?
Adding additional generic example to metrics and measures docs.