conda install downgrade python version

If you want to set specific version, use it like this: WARNING: This command will overwrite the default python version system-wise conda install python=3.6 To create environment with a specific version, you can do: conda create -n $PYTHON36_ENV_NAME python=3.6 anaconda # set custom env name The anaconda at the end allows the env to use … Read more

RemoveError: ‘setuptools’ is a dependency of conda and cannot be removed from conda’s operating environment

While I still did not find how to cleanly uninstall anaconda, I was able to resolve the error by using the following: conda update –force conda conda update anaconda and again conda update conda As a result, I got a stable environment with no dependency conflicts. Seems like something within latest conda is too restrictive … Read more

Is that a bad idea to use conda and pip install on the same environment?

Don’t mix conda install and pip install within conda environment. Probably, decide to use conda or virtualenv+piponce and for all. And here is how you decide which one suits you best: Conda installs various (not only python) conda-adopted packages within conda environment. It gets your environments right if you are into environments. Pip installs python … Read more

What is the proper way to install TensorFlow on Apple M1 in 2022

Distilling the official directions from Apple (as of 13 July 2022), one would create an environment using the following YAML: tf-metal-arm64.yaml name: tf-metal channels: – apple – conda-forge dependencies: – python=3.9 ## specify desired version – pip – tensorflow-deps ## uncomment for use with Jupyter ## – ipykernel ## PyPI packages – pip: – tensorflow-macos … Read more

How can you “clone” a conda environment into the root environment?

There are options to copy dependency names/urls/versions to files. Recommendation Normally it is safer to work from a new environment rather than changing root. However, consider backing up your existing environments before attempting changes. Verify the desired outcome by testing these commands in a demo environment. To backup your root env for example: λ conda … Read more

How can I run Conda?

You might want to try this: For Anaconda 2: export PATH=~/anaconda2/bin:$PATH For Anaconda 3: export PATH=~/anaconda3/bin:$PATH For Anaconda 4: Use the Anaconda Prompt. And then conda –version to confirm that it worked. The export PATH=~/anaconda3/bin:$PATH works, but it stops when you exit the terminal in order change that you have to run sudo nano ~/.bashrc … Read more

After conda update, python kernel crashes when matplotlib is used

Update 2021-11-06 The default pkgs/main channel for conda has reverted to using freetype 2.10.4 for Windows, per main / packages / freetype. If you are still experiencing the issue, use conda list freetype to check the version: freetype != 2.11.0 If it is 2.11.0, then change the version, per the solution, or conda update –all … Read more

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