Comments (2)
Hey LPLukasLP,
I also use MacOS but I don't have any problems installing PySCIPOpt
using conda
.
In the following, I will describe the commands I use to install PySCIPOpt
using conda
on MacOS:
conda create --name pyscipopt-env
to create a new, seperate environment. Here, I name the environmentpyscipopt-env
but you can choose a different name. After running the command, you may need to typey
when asked toProceed ([y]/n)?
conda activate pyscipopt-env
to activate the newly created environment.conda install --channel conda-forge pyscipopt
to installPySCIPOpt
. After running the command, you may also here need to typey
when asked toProceed ([y]/n)?
. Here, I receive the following output:
Solving environment: done
## Package Plan ##
environment location: <PATH_TO_ENV>
added / updated specs:
- pyscipopt
The following NEW packages will be INSTALLED:
ampl-mp conda-forge/osx-64::ampl-mp-3.1.0-h2beb688_1006
bzip2 conda-forge/osx-64::bzip2-1.0.8-h0d85af4_4
ca-certificates conda-forge/osx-64::ca-certificates-2021.10.8-h033912b_0
cppad conda-forge/osx-64::cppad-20220000.1-he49afe7_0
gmp conda-forge/osx-64::gmp-6.2.1-h2e338ed_0
ipopt conda-forge/osx-64::ipopt-3.14.4-hc501a57_0
libblas conda-forge/osx-64::libblas-3.9.0-13_osx64_openblas
libcxx conda-forge/osx-64::libcxx-12.0.1-habf9029_1
libedit conda-forge/osx-64::libedit-3.1.20191231-h0678c8f_2
libffi conda-forge/osx-64::libffi-3.4.2-h0d85af4_5
libgfortran conda-forge/osx-64::libgfortran-5.0.0-9_3_0_h6c81a4c_23
libgfortran5 conda-forge/osx-64::libgfortran5-9.3.0-h6c81a4c_23
libiconv conda-forge/osx-64::libiconv-1.16-haf1e3a3_0
liblapack conda-forge/osx-64::liblapack-3.9.0-13_osx64_openblas
libopenblas conda-forge/osx-64::libopenblas-0.3.18-openmp_h3351f45_0
libzlib conda-forge/osx-64::libzlib-1.2.11-h9173be1_1013
llvm-openmp conda-forge/osx-64::llvm-openmp-13.0.1-hda6cdc1_0
metis conda-forge/osx-64::metis-5.1.0-h2e338ed_1006
mumps-include conda-forge/osx-64::mumps-include-5.2.1-h694c41f_10
mumps-seq conda-forge/osx-64::mumps-seq-5.2.1-h805a9e9_10
ncurses conda-forge/osx-64::ncurses-6.3-he49afe7_0
openssl conda-forge/osx-64::openssl-3.0.0-h0d85af4_2
pip conda-forge/noarch::pip-22.0.3-pyhd8ed1ab_0
pyscipopt conda-forge/osx-64::pyscipopt-4.0.0-py310hba3363e_0
python conda-forge/osx-64::python-3.10.2-hea1dfa3_3_cpython
python_abi conda-forge/osx-64::python_abi-3.10-2_cp310
readline conda-forge/osx-64::readline-8.1-h05e3726_0
scip conda-forge/osx-64::scip-8.0.0-h2adb400_0
scotch conda-forge/osx-64::scotch-6.0.9-h9f43b6f_1
setuptools conda-forge/osx-64::setuptools-60.9.3-py310h2ec42d9_0
sqlite conda-forge/osx-64::sqlite-3.37.0-h23a322b_0
tbb conda-forge/osx-64::tbb-2021.5.0-h940c156_0
tk conda-forge/osx-64::tk-8.6.12-h5dbffcc_0
tzdata conda-forge/noarch::tzdata-2021e-he74cb21_0
unixodbc conda-forge/osx-64::unixodbc-2.3.9-hd863c23_0
wheel conda-forge/noarch::wheel-0.37.1-pyhd8ed1ab_0
xz conda-forge/osx-64::xz-5.2.5-haf1e3a3_1
zlib conda-forge/osx-64::zlib-1.2.11-h9173be1_1013
Proceed ([y]/n)? y
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
If this doesn't work, you should consider installing PySCIPOpt
with pip
. But you then need to install the SCIP Optimization Suite
and set the SCIPOPTDIR
environment variable before (for more details see INSTALL.md).
Best wishes
Jurgen
from pyscipopt-feedstock.
Hey Jurgen,
thank you, the approach to set a new environment in anaconda actually worked!
I did it sligtly different: Instead of installing it by entering commands into the Mac Terminal or the Anaconda prompt, I set up a new environment in the Anaconda Navigator. There, I installed a different version of Python (not 3.9, but 3.8). Then, I was able to install the PySCIPOpt package in the new environment. I did that via Anaconda Navigator as well.
As far as I can relate, this was the same approach of how to get PySCIPOpt running in conda, just with a different way how to hand in the commands to the system.
As it works now, I will close the issue in GitHub
from pyscipopt-feedstock.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyscipopt-feedstock.