This also confines updating to the things I use which saves time. The first time I installed Anaconda I used the full installer but after some time I realised that I only use a small part of the entire distribution and so I now install using Miniconda and then add the things I need using Conda. I | Modules | Environment Modules | package BTW Environment modules are available in the OpenSuSE repos: sudo zypper se Modules This way python will point to /usr/bin/python if I don’t load Anaconda. To keep Anaconda from interfering with the system Python I load it using Environment modules c.f. Since I do all Python development using Anaconda I keep the system installation to the bare minimum. You can roll back an update if need be.Īnaconda installs in your home directory per default but I prefer to have data in my home directory and software in other places so therefore I put it under /opt. Miniconda.ħ It’s updated regularly but you can opt to stay on a particular version if you want and due to the environment setup you can have several or all versions if you like and switch between them. Anaconda and one that install the bare bones i.e. which means I don’t have to.ģ It’s available also on Windows which I also have to live with.Ĥ It’s available in 32-bit and 64-bit versions.ĥ The installation management program Conda allows parallel installation of as many python versions as you want and every module is available for every version so everything works together in a seamless fashionĦ Anaconda comes in two flavors: one that installs everything i.e. I have chosen to install the Anaconda Python distribution under /opt for several reasons:ġ It’s free (although there are things you can buy).Ģ Some smart people have devoted (and are devoting) time to assemble a large number of excellent third party modules, IDEs etc. Since you say you are on LEAP and want the python3 repo, the following installs the appropriate repo zypper in -f dev_LEAP_42.1_Python3Īfter installing your new repo, refresh and optionally update your system.įor what it’s worth at this point in time: Lastly, be sure you have your special Python repo installed which will provide you many more packages and versions than in the OSS. This is a common tool used by Developers who need to build applications using a version of Python different than what is installed by default or for specific target systems. This is because virtualenv allows you to apply a specified Python globally (the entire machine) or per application (the root of a Python application). With virtualenv you can even install a complete version of Python from the official Python repositories using pip. Not that long ago, when I checked a new Python install on openSUSE, virtualenv was included and implemented by default (but you should doublecheck and install virtualenv if it wasn’t already included). You can use virtualenv to install multiple versions of Python2 and Python3 side by side.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |