As Windows does not have Python installed by default it means there are multiple options for Windows users. Covering all possible installation options is beyond the scope of this manual. Therefore we will outline one specific path that assumes that the user has not got Python installed on their system
That being said OpenEye Python Toolkits are compatible with many versions of Python, including those from Python.org. The toolkits can be used with virtualenv and venv. They can be both conda and pip installed.
If you have a specific environment and wish to install OpenEye Python Toolkits please contact support at email@example.com.
Installing Anaconda and OpenEye Python Toolkits¶
- Install Anaconda from https://www.anaconda.com/download Please select the Python 3x version.
If your Windows user name contains a space Anaconda will prompt with a warning. Continuing with installation will cause issues. Installation into C:\Anaconda3 should work satisfactorily.
- Launch the Anaconda Navigator application and navigate to the Anaconda Environments tab.
3. Click ‘Create’ at the bottom and a dialog appears. Provide a name for the new environment, e.g. oetoolkits as in Create Environment and click ‘Create’.
On Windows, currently only Python 3.7, or 3.8 versions are supported.
- When the new environment has finished initializing click ‘Channels’ which will bring up a dialog. Click ‘Add’ and enter https://conda.anaconda.org/openeye as in Add OpenEye Channel. Press enter. Then click ‘Update channels’.
- The option ‘Not installed’ or ‘All’ should be selected, not ‘Installed’ as in List Packages.
- In the ‘Search packages’ box start to type openeye and you should see the openeye-toolkits listed. Tick the box to select them and then click ‘Apply’ as in Select OpenEye Toolkits
- A dialog will appear indicating openeye-toolkits and additional dependencies will be installed; click ‘Apply’.
- The toolkits have now been installed. To test this click on the green triangle next to the oetoolkits environment. Select Open Terminal.
- This will bring up the Anaconda Prompt with the oetoolkits environment loaded.
To check the toolkits have been installed please download and run the oecheminfo.py script below:
(C:\Anaconda3\envs\oetoolkits) C:\Users\User Name> python oecheminfo.py Installed OEChem version: 22.214.171.124 platform: microsoft-win64-msvc14-x64 built: 20210315 ...