Hello
The cyanobacteria universe is not working with the latest carve version, is that right? So I found out that I should user carve version 1.4. For the latest carve version I was using the scip solver. However, for carve 1.4 it has to be CPLEX, so I downloaded and installed the academic CPLEX. When trying to set up the python API, I noticed that I would need to create a python 3.10 environment, because I have the latest, so I did. Within the py310 environment, when I run:
python /opt/ibm/ILOG/CPLEX_Studio2211/python/setup.py install
I have the following error:
###############################################################################
Invoking ['/home/marlaux/anaconda3/envs/py310/bin/python', '-m', 'pip', 'install', '.'] in /opt/ibm/ILOG/CPLEX_Studio2211/cplex/python/3.10/x86-64_linux
Processing /opt/ibm/ILOG/CPLEX_Studio2211/cplex/python/3.10/x86-64_linux
Preparing metadata (setup.py) ... done
Building wheels for collected packages: cplex
Building wheel for cplex (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error: could not delete 'build/lib/cplex/constant_class.py': Permission denied
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cplex
Running setup.py clean for cplex
Failed to build cplex
ERROR: Could not build wheels for cplex, which is required to install pyproject.toml-based projects
Could not install CPLEX, code = 1
###############################################################################
I search all I could find about this issue trying to solve it, and after almost a entire day trying, I'm here asking for your help.
Could anyone maybe try to help me? Thank you very much
Below some details about my OS and py310 env:
Ubuntu 22.04 (on WSL and VS code)
cplex file downloaded: cplex_studio2211.linux_x86_64.bin
Path to cplex (default): /opt/ibm/ILOG/CPLEX_Studio2211/cplex/bin/x86-64_linux
conda activate py310
python --version
Python 3.10.13
pip list
Package Version
Hello The cyanobacteria universe is not working with the latest carve version, is that right? So I found out that I should user carve version 1.4. For the latest carve version I was using the scip solver. However, for carve 1.4 it has to be CPLEX, so I downloaded and installed the academic CPLEX. When trying to set up the python API, I noticed that I would need to create a python 3.10 environment, because I have the latest, so I did. Within the py310 environment, when I run: python /opt/ibm/ILOG/CPLEX_Studio2211/python/setup.py install I have the following error:
############################################################################### Invoking ['/home/marlaux/anaconda3/envs/py310/bin/python', '-m', 'pip', 'install', '.'] in /opt/ibm/ILOG/CPLEX_Studio2211/cplex/python/3.10/x86-64_linux Processing /opt/ibm/ILOG/CPLEX_Studio2211/cplex/python/3.10/x86-64_linux Preparing metadata (setup.py) ... done Building wheels for collected packages: cplex Building wheel for cplex (setup.py) ... error error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [1 lines of output] error: could not delete 'build/lib/cplex/constant_class.py': Permission denied [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for cplex Running setup.py clean for cplex Failed to build cplex ERROR: Could not build wheels for cplex, which is required to install pyproject.toml-based projects Could not install CPLEX, code = 1 ###############################################################################
I search all I could find about this issue trying to solve it, and after almost a entire day trying, I'm here asking for your help. Could anyone maybe try to help me? Thank you very much Below some details about my OS and py310 env: Ubuntu 22.04 (on WSL and VS code) cplex file downloaded: cplex_studio2211.linux_x86_64.bin Path to cplex (default): /opt/ibm/ILOG/CPLEX_Studio2211/cplex/bin/x86-64_linux