h2oai / datatable

A Python package for manipulating 2-dimensional tabular data structures
https://datatable.readthedocs.io
Mozilla Public License 2.0
1.81k stars 155 forks source link

Support macOS Ventura #3452

Open GuyWithGlasses00 opened 1 year ago

GuyWithGlasses00 commented 1 year ago

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:

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?

oleksiyskononenko commented 1 year ago

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

GuyWithGlasses00 commented 1 year ago

Python3 3.10.4, PIP 23.0.1, macOS Ventura 13.2.1

On Sun, Apr 2, 2023 at 11:14 AM Oleksiy @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/h2oai/datatable/issues/3452#issuecomment-1493369261, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYKHECDW4UMFGWSJI5JXBZDW7GJUVANCNFSM6AAAAAAWQLDNYQ . You are receiving this because you authored the thread.Message ID: @.***>

-- Issaac Hansen Actuarial Science The Ohio State University @.*** | (614) 403-3963

oleksiyskononenko commented 1 year ago

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: https://github.com/h2oai/datatable/issues/3175

oleksiyskononenko commented 1 year ago

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

GuyWithGlasses00 commented 1 year ago

Intel

On Mon, Apr 3, 2023 at 7:40 PM Oleksiy @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/h2oai/datatable/issues/3452#issuecomment-1495128385, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYKHECD2FFRSF3GC6BBQT3TW7NNVRANCNFSM6AAAAAAWQLDNYQ . You are receiving this because you authored the thread.Message ID: @.***>

-- Issaac Hansen Actuarial Science The Ohio State University @.*** | (614) 403-3963

Dixie234 commented 1 year ago

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 commented 1 year ago

@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 commented 1 year ago

@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 commented 1 year ago

@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 commented 12 months ago

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: 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: 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: 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: File "/Users/me/.pyenv/versions/3.11.4/lib/python3.11/site-packages/pipenv/utils/resolver.py", line 948, in actually_resolve_deps

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 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