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?
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?
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.