Open LukasHedegaard opened 4 years ago
Tested on Ubuntu 18.04.4 LTS as well
Hello,
I made the changes as suggested in your environment.yml, but I am still getting some ResolvePackageNotFound errors. They are as follows: _ResolvePackageNotFound:
Thank you.
I figured it out. I added conda-forge and it worked. :)
I figured it out. I added conda-forge and it worked. :)
How did you create the environment? What's the command line specifically? Thank you in advance
@anson-07, I usually use
conda env export --no-builds | grep -v "prefix" > environment.yml
The --no-builds
leaves out build-specific information (which may not translate between operating systems)
The grep -v "prefix"
takes the lines other than those starting with "prefix", thus avoiding your local anaconda env path in the environment.yml
file.
Hope it helps 😊
@anson-07, I usually use
conda env export --no-builds | grep -v "prefix" > environment.yml
The
--no-builds
leaves out build-specific information (which may not translate between operating systems) Thegrep -v "prefix"
takes the lines other than those starting with "prefix", thus avoiding your local anaconda env path in theenvironment.yml
file. Hope it helps 😊
Thanks for your reply but I'm using Windows and I couldn't find another command to replace the "grep" which is only usable in Linux. Still can't create the environment. conda-forge
could work but I'm not sure how the command line is.
When I run this
conda env export --no-builds | grep -v "prefix" > environment.yml
on ubuntu 20.04, I get this:
CondaEnvException: Unable to determine environment Please re-run this command with one of the following options:
- Provide an environment name via --name or -n
- Re-run this command inside an activated conda environment.
Awesome! thanks!
+1 here, this should be merged @cabaf
Updated
environment.yml
due to issues described in https://github.com/activitynet/ActivityNet/issues/72Environment updated from python 2.7 to 3.7.
Tested on macOS using conda 4.8.2.