HumanCompatibleAI / population-irl

(Experimental) Inverse reinforcement learning from trajectories generated by multiple agents with different (but correlated) rewards
MIT License
26 stars 2 forks source link

Corrupted/Incompatible environment.yml file #9

Closed Discordius closed 6 years ago

Discordius commented 6 years ago

My conda seems to have trouble parsing the environment.yml file, because of all the weird hashes after the version numbers.

I also had to remove a bunch of dependencies on mac, but there might be less we can do about that.

AdamGleave commented 6 years ago

What command are you using to create the environment? I just ran conda env create --file environment.yml --name pirl and it worked fine (Conda 4.5.0, Ubuntu 17.10).

It could be an OS issue, I'd be happy with having two environment.yml for Linux & Mac, although that feels kind of sad.

Discordius commented 6 years ago

Hmm, yeah. Then it's probably an OS issue. Currently seems best to have two environment.yml files.

AdamGleave commented 6 years ago

@Discordius do you want to export a Mac version? You can just run "conda env export".

AdamGleave commented 6 years ago

I found out the hashes are removed if you run "conda env export" with the --no-builds, does that resolve your issue?

AdamGleave commented 6 years ago

I assume this fixes things, closing.