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

Support macOS Ventura #3452

Open
GuyWithGlasses00 opened this issue Apr 2, 2023 · 10 comments
Open

Support macOS Ventura #3452

GuyWithGlasses00 opened this issue Apr 2, 2023 · 10 comments

Comments

@GuyWithGlasses00
Copy link

GuyWithGlasses00 commented Apr 2, 2023

Hello,

I am having an issue installing the datatable package on my Mac. When I run the command line pip install datatable it raises an error reading error: metadata-generation-failed.

So far, I have:

  • Attempted to install the package using the S3 wheel URL

  • Attempted to install the source package from git

Both of which have generated the same error. Upon some googling, I found something saying this issue is commonly due to outdated setuptools and wheel packages or outdated source packages.

Has anyone experienced this issue? If so, were you able to find a solution?

@GuyWithGlasses00 GuyWithGlasses00 changed the title Install error - Install error - "metadata-generation-failed" MacOS Apr 2, 2023
@oleksiyskononenko
Copy link
Contributor

What are the versions of your python, pip and macOS?

@GuyWithGlasses00
Copy link
Author

GuyWithGlasses00 commented Apr 3, 2023 via email

@oleksiyskononenko
Copy link
Contributor

I don't think we tested datatable on macOS higher than Big Sur. We probably need to check what happens on both macOS Monterey and macOS Ventura, it could be that there are again some issues due to the wheel tag generation: #3175

@oleksiyskononenko
Copy link
Contributor

Btw, what is the CPU on your machine: Intel or Apple?

@GuyWithGlasses00
Copy link
Author

GuyWithGlasses00 commented Apr 3, 2023 via email

@Dixie234
Copy link

Hello,

I am having an issue installing the datatable package on my Mac. When I run the command line pip install datatable it raises an error reading error: metadata-generation-failed.

So far, I have:

  • Attempted to install the package using the S3 wheel URL
  • Attempted to install the source package from git

Both of which have generated the same error. Upon some googling, I found something saying this issue is commonly due to outdated setuptools and wheel packages or outdated source packages.

Has anyone experienced this issue? If so, were you able to find a solution?

I'm experiencing this same issue on my Windows OS. Tried installing using the follow commands with the same error, additionally the error said: NameError: name 'msvc_path' is not defined :

@oleksiyskononenko
Copy link
Contributor

@Dixie234 try installing from our AppVeyor builds by choosing appropriate wheel depending on your python’s version: https://datatable.readthedocs.io/en/latest/start/install.html

I suspect you have python 3.10 or 3.11?

@Dixie234
Copy link

@oleksiyskononenko Thank you for getting back to me so quickly.
Correct, I'm using python 3.11. As you suggested using the AppVeyor builds looks to have done the trick, thank you!

@oleksiyskononenko oleksiyskononenko changed the title Install error - "metadata-generation-failed" MacOS Support macOS Ventura May 2, 2023
@oleksiyskononenko
Copy link
Contributor

@GuyWithGlasses00 Could you try installing the latest dev wheel on macOS Ventura and python 3.10? Works fine for me on the new macOS.

@mkschulze
Copy link

Hello, is this package going to be updated to be compatible with Ventura again?

Intel CPU here, macOS 13.5.2, Python 3.11

Gives me the following error:

(a3-metrics) ➜ a3-metrics git:(main) ✗ pipenv install datatable
Installing datatable...
Resolving datatable...
Adding datatable to Pipfile's [packages] ...
✔ Installation Succeeded
Pipfile.lock (719bf2) out of date, updating to (550789)...
Locking [packages] dependencies...
Building requirements...
Resolving dependencies...
Resolving dependencies...
✘ Locking Failed!
⠦ Locking...
ERROR:pip.subprocessor:[present-rich] Preparing metadata (pyproject.toml) exited with 1
[ResolutionFailure]: File "/Users/me/.pyenv/versions/3.11.4/lib/python3.11/site-packages/pipenv/resolver.py", line 704, in _main
[ResolutionFailure]: resolve_packages(
[ResolutionFailure]: File "/Users/me/.pyenv/versions/3.11.4/lib/python3.11/site-packages/pipenv/resolver.py", line 662, in resolve_packages
[ResolutionFailure]: results, resolver = resolve(
[ResolutionFailure]: ^^^^^^^^
[ResolutionFailure]: File "/Users/me/.pyenv/versions/3.11.4/lib/python3.11/site-packages/pipenv/resolver.py", line 642, in resolve
[ResolutionFailure]: return resolve_deps(
[ResolutionFailure]: ^^^^^^^^^^^^^
[ResolutionFailure]: File "/Users/me/.pyenv/versions/3.11.4/lib/python3.11/site-packages/pipenv/utils/resolver.py", line 1167, in resolve_deps
[ResolutionFailure]: results, hashes, markers_lookup, resolver, skipped = actually_resolve_deps(
[ResolutionFailure]: ^^^^^^^^^^^^^^^^^^^^^^
[ResolutionFailure]: File "/Users/me/.pyenv/versions/3.11.4/lib/python3.11/site-packages/pipenv/utils/resolver.py", line 948, in actually_resolve_deps
[ResolutionFailure]: resolver.resolve()
[ResolutionFailure]: File "/Users/me/.pyenv/versions/3.11.4/lib/python3.11/site-packages/pipenv/utils/resolver.py", line 690, in resolve
[ResolutionFailure]: raise ResolutionFailure(message=str(e))
[pipenv.exceptions.ResolutionFailure]: Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
You can use $ pipenv run pip install <requirement_name> to bypass this mechanism, then run $ pipenv graph to inspect the versions actually installed in the virtualenv.
Hint: try $ pipenv lock --pre if it is a pre-release dependency.
ERROR: metadata generation failed

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

4 participants