擅长:python、mysql、java
<p><a href="https://www.ibm.com/support/knowledgecenter/SSSA5P_12.7.0/ilog.odms.cplex.help/CPLEX/GettingStarted/topics/set_up/Python_setup.html" rel="nofollow noreferrer">https://www.ibm.com/support/knowledgecenter/SSSA5P_12.7.0/ilog.odms.cplex.help/CPLEX/GettingStarted/topics/set_up/Python_setup.html</a></p>
<blockquote>
<p>Setting the environment variable PYTHONPATH</p>
<p>If you run multiple versions of CPLEX side-by-side, then use this way
of declaring the location of CPLEX and its Python API to your Python
installation by means of the environment variable PYTHONPATH.</p>
<p>To start using the CPLEX Python API, set the Python path environment
variable PYTHONPATH to the value of
yourCplexhome/python/VERSION/PLATFORM. Setting this environment
variable enables that version of Python to find the CPLEX modules that
it needs to run Python commands and scripts that use the CPLEX Python
API.</p>
</blockquote>