![]() ![]() bashrc/.zshrc file and change miniforge3 to miniconda3 and chose which one you want to use by default. This will initialize conda with Miniforge. “/Users/xyz/miniforge3/etc/profile.d/conda.sh” else export PATH=”/Users/xyz/miniforge3/bin:$PATH” fi fi unset _conda_setup # <<< conda initialize <<< bashrc/.zshrc: # > conda initialize > # !! Contents within this block are managed by ‘conda init’ !! _conda_setup=”$(‘/Users/xyz/miniforge3/bin/conda’ ‘shell.zsh’ ‘hook’ 2> /dev/null)” if then eval “$_conda_setup” else if then. Īfter installing Miniforge the initialization command will be set in your. You can choose whether to use packages compiled for Intel chips or Apple Silicon like stated here. At some point, I realized that I can install and use both, Miniforge and Miniconda on the same system.ĮDIT: As Lucas-Raphael Müller pointed out to me, you do not need to install both, Miniconda and Miniforge. Tensorflow works like expected when installed with Miniforge.īut as soon as I need to install certain packages that I use for work - like SimpleITK (which is now also available as M1 Python wheel!) - Miniforge does not manage to install it. When I wanted to install Tensorflow for the first time on my Mac, I stumbled across Miniforge ( ) which is comparable to Miniconda, but with conda-forge as the default channel and a focus on supporting various CPU architectures. ![]() Like many other, I use conda to set up environments for my projects - preferably with Anaconda or Miniconda. Since the M1 is an ARM-based system, many Python packages will not install properly because they are built to run on AMD64 (x86). I still struggle a lot with Python, Docker, and conda on my Mac, but I found a way to get many packages to run inside conda environments. If you recently bought or got a new M1 Mac from work and you are using Python to develop or work on data science projects you probably already wasted some hours trying to get some packages to run. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |