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.yml does not work in OSX #2

Closed
dsanyal opened this issue Jul 12, 2020 · 4 comments
Closed

environment.yml does not work in OSX #2

dsanyal opened this issue Jul 12, 2020 · 4 comments

Comments

@dsanyal
Copy link

dsanyal commented Jul 12, 2020

Hi Abhishek,
Your environment.yml file is platform-specific (for Linux) and a strict export, which means that I can't use this file to recreate the conda environment in OSX. Is there an easy fix to this? Maybe you should run conda env export --from-history -f environment.yml just to get the package and version information and upload it?

Thanks.

@vochicong
Copy link

Hi @abhishekkrthakur ,

Thank you for adding the environment_osx.yml file to the repository, but running
conda env create -f environment_osx.yml gets an error.

Pip subprocess error:
  ERROR: Could not find a version that satisfies the requirement python-graphviz==0.13 (from -r /Users/congvc/approachingalmost/condaenv._voz6otr.requirements.txt (line 77)) (from versions: none)
ERROR: No matching distribution found for python-graphviz==0.13 (from -r /Users/congvc/approachingalmost/condaenv._voz6otr.requirements.txt (line 77))

BTW, can you share how to create these environment*.yml files?

@abhishekkrthakur
Copy link
Owner

Can you please try the new env file I just pushed?

I use : conda env export | grep -v "^prefix: " > environment.yml

@vochicong
Copy link

I've tried the new env file, it works! Thank you.

@abhishekkrthakur
Copy link
Owner

Great!

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