Installing licenses¶
You can install licenses for Accelerate, IOPro or MKL Optimizations with the graphical Anaconda Navigator license manager, and you can install licenses for these and all other products from the command line.
Before you start¶
- You should have installed conda and received your license by email from your sales representative.
- If want to use Navigator, it needs to be installed. Both Navigator and conda are included in Anaconda.
- Optionally, your products or a free trial may already be installed.
- Save the license file to your
Downloads
folder (or directory). To save a few steps, make a note of the filename now. - If you need help, contact your sales rep or priority support.
Using the command line to install a license¶
Licenses for all Anaconda user products are stored in the home folder in a
hidden subfolder named ~/.continuum
. The license directory is hidden to
help protect your license files from accidental changes or deletion. The
following installation procedures describe how to manage hidden directories for
your operating system.
TIP: The conda command conda info --license
shows you the location of your license files
and validates those licenses.
Command line procedures:
- Windows.
- macOS.
- Linux.
- Updating conda and installing a product–all operating systems.
- Running your new packages or products–all operating systems.
- If you have problems.
Windows¶
Hidden folders appear in Windows Explorer only if the Show hidden files and
folders option is enabled. To bypass this issue, use the Anaconda prompt, and if
the hidden .continuum
folder has not been created yet, make one as discussed
below. Then copy the license file into the hidden license folder.
Open a terminal window.
To see the files in your home folder, run the command
dir
.In the output list, look for
.continuum
.If you do not see a folder named
.continuum
, make a new one withmkdir .continuum
.Find the license file in your
Downloads
folder or other folder where you saved the file:dir Downloads
NOTE: Replace
Downloads
with the name of the folder where you saved your license file.Copy the license file into the
.continuum
directory:copy Downloads\license_bundle_1234.txt .continuum
NOTE: Replace
license_bundle_1234.txt
with the name of your license file.
Your license is now installed on Windows. If you have any questions or problems, please contact your sales rep or priority support for assistance.
macOS¶
Use Finder to locate the hidden licenses folder. If the folder has not been created yet, make one as discussed below. Then copy and paste the license into the hidden folder.
- Look for the hidden folder:
- In the bottom row of icons, click the Finder icon.
- In the Go menu, select Go to folder.
- In the box that appears, type
~/.continuum
, and then click the Go button. - If the search results listing is empty, make a new hidden licenses folder by
selecting New Folder in the File menu and then typing
~/.continuum
.
- Copy the license file:
- Go to your
Downloads
folder or wherever you saved the license file. - Highlight the license filename.
- In the Edit menu, select Copy File.
- Go to your
- Return to the licenses directory:
- In the Go menu, select Go to folder.
- In the box that appears, type
~/.continuum
, and then click the Go Button.
- Paste in the license file:
- In the file listing, double-click the
~/.continuum
folder to open the folder. - In the top menu bar, in the Edit menu, select Paste Item.
- In the file listing, double-click the
- Update conda and install the product.
- Run the product.
Your license is now installed on macOS. If you have any questions or problems, please contact your sales rep or priority support for assistance.
Linux¶
Use the List-All command to display all directories including hidden ones, and if a license directory has not been created yet, make one as discussed below. Then copy the license into the hidden license directory.
Open a terminal window.
To see the files in your home folder, run the command
ls -a
.In the output list, look for
.continuum
.If you do not see a folder named
.continuum
, make a new one withmkdir .continuum
.Find the license file in your
Downloads
folder or other folder where you saved the file:cd Downloads ls
NOTE: Replace
Downloads
with the name of the folder where you saved your license file.If the list is long run:
ls | more
Highlight the filename, and then in the Edit menu, select Copy.
Copy the license file into the
.continuum
directory:cp license_bundle_1234.txt ~/.continuum
NOTE: Replace
license_bundle_1234.txt
with the name of your license file.TIP: Instead of typing the file name, you can paste it into the command:
- Type
cp
. - In the Edit menu, select Paste to paste in the license filename.
- Type
~/.continuum
. - Press Enter.
- Type
Your license is now installed on Linux. If you have any questions or problems, please contact your sales rep or priority support for assistance.
Updating conda and installing a product–all operating systems¶
NOTE: If you previously installed a 30-day trial, you may skip this procedure, but running it again is harmless.
To update conda and install a product:
In a terminal window, run:
conda update conda conda install your_package_name
NOTE: Replace
your_package_name
with the actual name of your package or product, such asaccelerate
. Follow the full installation instructions for the product.
Running your new packages or products–all operating systems¶
Start Python:
python
If you have multiple versions of Python on your computer, make sure that the startup message says it is Anaconda Python.
Import your newly licensed packages or products:
import your_package_name
NOTE: Replace
your_package_name
with the actual name of your package or product, such asaccelerate
. Follow the full installation instructions for the product.
If you have problems¶
If you have any questions or problems, please contact your sales rep or priority support for assistance.