3

I have tried the conda install anytree command. But I get a message saying package cannot be found.

Is there a way to install it using conda instead of pip?

merv
  • 67,214
  • 13
  • 180
  • 245
GaryTheBaddy
  • 123
  • 1
  • 8

1 Answers1

1

There are no reliable1 channels hosting anytree in Anaconda Cloud. It is possible to use PyPI together with Conda - Conda literally installs pip - just make sure to activate your env before using it. Be aware that mixing Conda and PyPI can lead to issues (see "Using Pip in a Conda Environment").

However, if you're really committed to installing from Conda only, then consider contributing to the community by adding an install recipe for anytree to Conda Forge.


1 As you can see from search results, there is one channel whose name is unfamiliar, but it only ever uploaded one (now outdated) version for Windows. I don't consider that reliable.

merv
  • 67,214
  • 13
  • 180
  • 245