laserson / squarify

Pure Python implementation of the squarify treemap layout algorithm
Other
297 stars 37 forks source link

Can not install using conda #13

Closed bhishanpdl closed 5 years ago

bhishanpdl commented 5 years ago

Thank for great library. I was able to install the library using pip, but pip is the default environment, I would like to install it to some environment eg. "myenv" in conda using: conda install -n myenv -c conda-forge squarify

But, this commands fails. How to install this package for conda environment?

laserson commented 5 years ago

If you activate the conda environment, you can use pip to install, which will use the environment's pip instead of the default environment. So in your example, you could run

source activate myenv
pip install squarify

and you can verify that it was installed with conda list

bhishanpdl commented 5 years ago

Thanks, it solved the issue.