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

Environment setup problem on Mac #1

Open
Guykor opened this issue Mar 7, 2023 · 4 comments
Open

Environment setup problem on Mac #1

Guykor opened this issue Mar 7, 2023 · 4 comments

Comments

@Guykor
Copy link

Guykor commented Mar 7, 2023

Hi!
Great work! just wanted to inform that env setup using conda (as in tutorial) on local mac fails with the following prompt:
I'm still trying to understand why does it happen, but I raise an issue if its a general problem.

`Solving environment: failed

ResolvePackageNotFound:

  • libgcc-ng=9.3.0
  • ld_impl_linux-64=2.33.1
  • _openmp_mutex=4.5
  • libstdcxx-ng=9.1.0
  • libgfortran-ng=7.5.0
  • libxcb=1.14
  • faiss-gpu=1.7.0
  • libgomp=9.3.0
  • cudatoolkit=10.2.89
    `
@abearab
Copy link

abearab commented Mar 28, 2023

I think a yml file exported this way is helpful (link):

conda env export --from-history

@Guykor
Copy link
Author

Guykor commented May 7, 2023

The problem was OS related, I've installed it on linux and that problem disappeared.
I do have many other issues with installing a fresh conda env from the yml file:

  1. pip's llvmlite requirement fails due to implicit installation in the conda part (distutils package, so pip can't uninstall previous version 0.34 to install 0.36).
  2. torch-geometric is no specified in the environment, and even when installing it manually I have issues with import.

maybe I'm doing something wrong, but I've tried many times in different directions to solve these issues. If you could kindly double check that your environment.yml file is correct I would be grateful.

Thank you!

@WillardFord
Copy link

I also tried to download this repo on my M1 laptop but it doesn't possible without significant code changes in the repo itself. I don't think a simple environment change would work.

For example several of the packages require mkl software for example which is designed specifically for intel chips and will likely never be ported to Apple chips. Unfortunately we are out of luck.

For completeness sake the full list of undownloadable packages on my M1 laptop are listed below:

  - mkl_random
  - mkl_fft
  - mkl-service
  - mkl
  - libstdcxx-ng
  - libgomp
  - libgfortran4
  - libgfortran-ng
  - libgcc-ng
  - intel-openmp
  - faiss-gpu
  - cudatoolkit
  - _openmp_mutex
  - _libgcc_mutex

@ming-jeng
Copy link

Want to follow up if there's any solutions to get this working on mac?

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