Install only available packages using “conda install –yes –file requirements.txt” without error

I ended up just iterating over the lines of the file $ while read requirement; do conda install –yes $requirement; done < requirements.txt Edit: If you would like to install a package using pip if it is not available through conda, give this a go: $ while read requirement; do conda install –yes $requirement || … Read more

anaconda – graphviz – can’t import after installation

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 … Read more

How to reset anaconda root environment

See https://github.com/conda/conda/issues/1032 This has been implemented as conda list –revisions and conda install –rev REV_NUM. EDIT: be careful though if you execute conda install –rev 0 as this will remove your root environment and the conda command. Maybe conda install –rev 1 would produce the desired behavior (restore root environment to its state after first … Read more

How is Anaconda related to Python?

Anaconda is a commercial python and R distribution. It aims to provide everything you need (Python-wise) for data science “out of the box”. It includes: The core Python language 100+ Python “packages” (libraries) Spyder (IDE/editor – like PyCharm) and Jupyter conda, Anaconda’s own package manager, used for updating Anaconda and packages Your course may have … Read more

how to update spyder on anaconda

To expand on juanpa.arrivillaga’s comment: If you want to update Spyder in the root environment, then conda update spyder works for me. If you want to update Spyder for a virtual environment you have created (e.g., for a different version of Python), then conda update -n $ENV_NAME spyder where $ENV_NAME is your environment name. EDIT: … Read more

Upgrade to python 3.8 using conda

You can update your python version to 3.8 in conda using the command conda install -c anaconda python=3.8 as per https://anaconda.org/anaconda/python. Though not all packages support 3.8 yet, running conda update –all may resolve some dependency failures. You can also create a new environment called py38 using this command conda create -n py38 python=3.8 Edit … Read more

Conda command not found

If you’re using zsh and it has not been set up to read .bashrc, you need to add the Miniconda directory to the zsh shell PATH environment variable. Add this to your .zshrc: export PATH=”/home/username/miniconda/bin:$PATH” Make sure to replace /home/username/miniconda with your actual path. Save, exit the terminal and then reopen the terminal. conda command … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)