CPLEX/en: Difference between revisions

no edit summary
(Updating to match new version of source page)
No edit summary
 
Line 121: Line 121:
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]].  
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">
Once the virtual environment has been activated, you should go in the directory <tt>$STUDIO_ROOT/python</tt> after which 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 ~]|python setup.py install}}
{{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 our [[Available_Python_wheels | software stack]].
The installation of these Python modules must be done on the login node because they are not available in our [[Available_Python_wheels | software stack]].
</div>
Bureaucrats, cc_docs_admin, cc_staff
2,309

edits