38,760
edits
(Created page with "Once the virtual environment has been activated, you can install the module using the command: {{Command|prompt=(ENV) [name@server ~]|pip install docplex}} The installation of...") |
(Updating to match new version of source page) |
||
Line 114: | Line 114: | ||
{{Command|salloc --time{{=}}1:0:0 --ntasks{{=}}1 --mem-per-cpu{{=}}8G}} | {{Command|salloc --time{{=}}1:0:0 --ntasks{{=}}1 --mem-per-cpu{{=}}8G}} | ||
<div class="mw-translate-fuzzy"> | |||
==Python== | ==Python== | ||
After you have installed [https://www.ibm.com/analytics/data-science/prescriptive-analytics/cplex-optimizer CPLEX] as documented above, you must first install the module that you created: | After you have installed [https://www.ibm.com/analytics/data-science/prescriptive-analytics/cplex-optimizer CPLEX] as documented above, you must first install the module that you created: | ||
{{Command|module load myclex/<version>}} | {{Command|module load myclex/<version>}} | ||
</div> | |||
To install the CPLEX Python modules like <tt>docplex</tt>, we suggest that you use a [[Python#Creating_and_using_a_virtual_environment | virtual environment]]. | <div class="mw-translate-fuzzy"> | ||
To install the CPLEX Python modules like <tt>docplex</tt>, we suggest that you use a [[Python#Creating_and_using_a_virtual_environment | virtual environment]]. | |||
</div> | |||
<div class="mw-translate-fuzzy"> | |||
Once the virtual environment has been activated, you can install the module using the command: | Once the virtual environment has been activated, you can install the module using the command: | ||
{{Command|prompt=(ENV) [name@server ~]|pip install docplex}} | {{Command|prompt=(ENV) [name@server ~]|pip install docplex}} | ||
The installation of these Python modules must be done on the login node because they are not available in the CVMFS wheelhouse. | The installation of these Python modules must be done on the login node because they are not available in the CVMFS wheelhouse. | ||
</div> |