Posts

Showing posts with the label Anaconda

Anaconda Update All Possible Packages?

Answer : TL;DR: dependency conflicts: Updating one requires (by it's requirements) to downgrade another You are right: conda update --all is actually the way to go 1 . Conda always tries to upgrade the packages to the newest version in the series (say Python 2.x or 3.x). Dependency conflicts But it is possible that there are dependency conflicts (which prevent a further upgrade). Conda usually warns very explicitly if they occur. e.g. X requires Y <5.0, so Y will never be >= 5.0 That's why you 'cannot' upgrade them all. Resolving To add: maybe it could work but a newer version of X working with Y > 5.0 is not available in conda. It is possible to install with pip, since more packages are available in pip. But be aware that pip also installs packages if dependency conflicts exist and that it usually breaks your conda environment in the sense that you cannot reliably install with conda anymore. If you do that, do it as a last resort and af...

Anaconda Vs. Miniconda

Answer : Per the original docs: Choose Anaconda if you: Are new to conda or Python Like the convenience of having Python and over 1500 scientific packages automatically installed at once Have the time and disk space (a few minutes and 3 GB), and/or Don’t want to install each of the packages you want to use individually. Choose Miniconda if you: Do not mind installing each of the packages you want to use individually. Do not have time or disk space to install over 1500 packages at once, and/or Just want fast access to Python and the conda commands, and wish to sort out the other programs later. I use Miniconda myself. Anaconda is bloated. Many of the packages are never used and could still be easily installed if and when needed. Note that Conda is the package manager (e.g. conda list displays all installed packages in the environment), whereas Anaconda and Miniconda are distributions. A software distribution is a collection of packages, pre-built and pre-configured, ...

Anaconda - Graphviz - Can't Import After Installation

Answer : The graphviz conda package is no Python package. It simply puts the graphviz files into your virtual env's Library/ directory. Look e.g. for dot.exe in the Library/bin/ directory. To install the `graphviz` **Python package**, you can use `pip`: `conda install pip` and `pip install graphviz`. Always prefer conda packages if they are available over pip packages. Search for the package you need (`conda search pkgxy`) and then install it (`conda install pkgxy`). If it is not available, you can always build your own conda packages or you can try anaconda.org for user-built packages. Update : There exists now a python-graphviz package at Anaconda.org which contains the Python interface for the graphviz tool. Simply install it with conda install python-graphviz . (Thanks to wedran and g-kaklam for posting this solution and to endolith for notifying me). On conda: First install conda install graphviz Then the python-library for graphviz python-graphviz ...

Anaconda/conda - Install A Specific Package Version

Answer : To install a specific package: conda install <pkg>=<version> eg: conda install matplotlib=1.4.3 There is no version 1.3.0 for rope . 1.3.0 refers to the package cached-property . The highest available version of rope is 0.9.4 . You can install different versions with conda install package=version . But in this case there is only one version of rope so you don't need that. The reason you see the cached-property in this listing is because it contains the string "rope" : "cached-p rope erty" py35_0 means that you need python version 3.5 for this specific version. If you only have python3.4 and the package is only for version 3.5 you cannot install it with conda. I am not quite sure on the defaults either. It should be an indication that this package is inside the default conda channel. If any of these characters, '>', '<', '|' or '*', are used, a single or double quotes must be...

Anaconda: Cannot Import Cv2 Even Though Opencv Is Installed (how To Install Opencv3 For Python3)

Answer : opencv is not compatible with python 3. I had to install opencv3 for python 3. The marked answer in how could we install opencv on anaconda? explains how to install opencv(3) for anaconda: Run the following command: conda install -c https://conda.binstar.org/menpo opencv I realized that opencv3 is also available now, run the following command: conda install -c https://conda.binstar.org/menpo opencv3 Edit on Aug 18, 2016: You may like to add the "menpo" channel permanently by: conda config --add channels menpo And then opencv can be installed by: conda install opencv (or opencv3) Edit on Aug 14, 2017: " clinicalgraphics " channel provides relatively newer vtk version for very recent python3 conda install -c clinicalgraphics vtk Edit on April 16, 2020 (based on @AMC's comment): OpenCV can be installed through conda-forge (details see here) conda install -c conda-forge opencv You can try conda install -c menpo opencv=3 Use this cod...