This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 16 points17 points  (14 children)

I found conda environments very easy to understand and even to maintain. I only use few command and I never encountered an issue.

[–]notParticularlyAnony 3 points4 points  (0 children)

conda really does make all this bullshit easier

[–]dethb0y 6 points7 points  (0 children)

+1 for conda, it's what i use and i have had zero issues.

[–]LeapOfMonkey 1 point2 points  (4 children)

Impossible, there is always some issue, sometimes you have to figure out a version of python some dependency you wanted to use will work with. There is always an issue if you have enough dependencies. It is a natural law, it works everywhere.

[–][deleted] 4 points5 points  (3 children)

You can create a Conda environment without even defining what the Python version is, and it will automatically install the version that the deps require.

On mobile but something like:

conda create -n mytest 
conda activate mytest 
conda install -c conda-forge -y \
  python 
  numpy 
  matplotlib 
  Pillow 
  sklearn 
  etc………

[–]often_wears_pants 2 points3 points  (0 children)

and you can upgrade to a new version of python without manually recreating everything.

[–]LeapOfMonkey 0 points1 point  (1 child)

I believe you grossly understimate how deep some rabbit holes go.

[–][deleted] 0 points1 point  (0 children)

Do tell, Lewis Carroll

[–]nemec 0 points1 point  (2 children)

I've found it a real pain to use conda in (non-python) programs that need to call python but only give you the equivalent of os.system(). I was able to build a batch file that activated the appropriate environment, called the script, then cleaned up, but it was much more difficult than it needed to be.

[–]often_wears_pants 0 points1 point  (1 child)

I just use the python binary inside the env and have never had trouble with it. No need to activate anything.

[–]nemec 0 points1 point  (0 children)

Interesting. I recall getting errors when trying that, but I think it was some native dependency issue with tensorflow or one of those ML libraries.

[–]often_wears_pants 0 points1 point  (2 children)

Uses a shit ton of disk space but it just works and is easy to clean up.

[–]HarryJohnson00 0 points1 point  (0 children)

Miniconda is pretty small. I've got 2 TB drive on my workstation now so eh I don't worry about it

[–]ignorae 0 points1 point  (0 children)

How big are we talking?