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

Unable to install on M1 chip #5

Open
quentinblampey opened this issue Feb 14, 2023 · 3 comments
Open

Unable to install on M1 chip #5

quentinblampey opened this issue Feb 14, 2023 · 3 comments

Comments

@quentinblampey
Copy link

Hello,

Thanks for releasing your postprocessing tool.
I was unable to directly install vpt with pip, since the tensorflow version you use has some issues on macos (probably an issue specific to the M1 chip).

Note that this version can be installed by running pip install tensorflow-macos==2.9.1. Thus, I managed to install vpt, but I had to clone the repo and update your pyproject.toml file to use tensorflow-macos instead of tensorflow.

I see two possible ways to fix it, if you want I can help you find out if it works:

  • Maybe the most recent versions of tensorflow can be directly installed with pip, without using tensorflow-macos?
  • Make it possible to install vpt with conda?

Note that I also couldn't pull the docker image, but I guess this is normal since your Dockerfile starts with FROM ubuntu:22.04

Thanks

@QBHuynh
Copy link

QBHuynh commented Feb 16, 2023

Hi,

Thank you for submitting this concern with associated work flow on getting it to function.

We'll work on assessing the best way to ensure functionality with the M1 chip and MacOS in a future release.

If you run into any more issues, please let us know!

@munizmom
Copy link

munizmom commented Feb 24, 2023

Hi Quentin,
I have a M1 Mac. For me the installation setting up a Conda environment with 3.8 < python version >3.11 and the poetry installation worked fine 4 days ago using python 3.9.
You just need to git clone the vizgen-postprocessing GitHub repository
cd /path/{vizgen-postprocessing}
conda activate myenvPy3.9
poetry install
And then the vpt functions became available to use.
Hope it helps!

Best,
Mar

@quentinblampey
Copy link
Author

Hi Quentin, I have a M1 Mac. For me the installation setting up a Conda environment with 3.8 < python version >3.11 and the poetry installation worked fine 4 days ago using python 3.9. You just need to git clone the vizgen-postprocessing GitHub repository cd /path/{vizgen-postprocessing} conda activate myenvPy3.9 poetry install And then the vpt functions became available to use. Hope it helps!

Best, Mar

Hello,
I was actually testing the installation with pip, and I didn't try the poetry installation (actually, I expected the same error to happen with poetry). So, good to know it works!
For now I stick with my current environment since my workaround was working, but maybe at some point I will switch to poetry.

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

3 participants