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

The 'bleeding edge' is bleeding... #587

Closed
alxfed opened this issue May 31, 2021 · 4 comments
Closed

The 'bleeding edge' is bleeding... #587

alxfed opened this issue May 31, 2021 · 4 comments

Comments

@alxfed
Copy link

alxfed commented May 31, 2021

Are you fully aware of the fact that the recommendations for installation of your 'bleeding edge' version from git
https://github.com/facebook/Ax#installing-from-git
don't work? The error message is:

  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
  WARNING: Generating metadata for package Ax produced metadata for project name ax-platform. Fix your #egg=Ax fragments.
WARNING: Discarding git+ssh://****@github.com/facebook/Ax.git#egg=Ax. Requested ax-platform from git+ssh://****@github.com/facebook/Ax.git#egg=Ax has inconsistent name: filename has 'ax', but metadata has 'ax-platform'
ERROR: Could not find a version that satisfies the requirement ax (unavailable) (from versions: 0.1.0, 0.3.0, 0.4.0, 0.6.0, 0.7.0, 0.8.0, 0.9.0, 0.10.0, 0.11.0, 0.12.0, 0.13.0, 0.14.0, 0.15.0, 0.20.0, 0.21.0, 0.22.0, 0.24.0, 0.27.0, 0.29.0, 0.31.0, 0.32.0, 0.34.0, 0.35.0, 0.36.0, 0.39.0, 0.40.0, 0.41.0, 0.42.0, 0.43.0, 0.44.0, 0.45.0, 0.46.0, 0.47.0, 0.48.0, 0.49.0, 0.50.0, 0.51.0, 0.52.0)
ERROR: No matching distribution found for ax (unavailable)

Also, I started trying to install it from git, because apparently the PIPY version contains a bug in db.py file and doesn't execute even the simplest example from your page, however, the version in GitHub repo has this bug fixed...

@ldworkin
Copy link
Contributor

ldworkin commented Jun 1, 2021

Hi @alxfed ! Sorry you're having trouble installing our platform. Can you try pip3 install git+ssh://git@github.com/facebook/Ax.git#egg=ax-platform and let me know if that works? It looks like in pip >= 20.3, things will fail if there's name mismatch (see discussion here), whereas this wasn't an issue in previous versions. We will update our docs.

For the db.py file bug, are you referring to #560? We'll get a fix out for that soon. It should still be possible to use much of the library without touching our storage code, though. Out of curiosity, what example was it failing on?

@alxfed
Copy link
Author

alxfed commented Jun 1, 2021

Yes, that is what I meant.
Just of curiosity, I would like to know the name of the hero who did it. Can you let us know?

@ldworkin
Copy link
Contributor

ldworkin commented Jun 1, 2021

Haha, sorry I didn't follow -- the hero who did what?

@alxfed
Copy link
Author

alxfed commented Jun 1, 2021

Who wrote and I quote:
name_or_url=url
in the call of SQLAlchemy function/object create_engine()

@alxfed alxfed closed this as completed Jun 1, 2021
facebook-github-bot pushed a commit that referenced this issue Jun 2, 2021
Summary: As discussed in #587, fixing these instructions for pip >= 20.3 (should also be backwards compatible)

Reviewed By: bernardbeckerman

Differential Revision: D28817358

fbshipit-source-id: be59f1e60ed3aa81b203ad4a48f014e1119d2bd6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants