Open tegg89 opened 2 years ago
I cannot install Ecole with 0.8.x version via conda-forge.
What error message do you get? If the environment is unsatisfiable,I recommend trying the equivalent mamba installer.
I also recommend keeping an environment.yaml
with all you dependencies so that you can start from a fresh environment and share with us if a new environment doe not work (otherwise we cannot reproduce the bug).
When I manually install the Ecole 0.8.x after downloading *.tar.gz files, the system cannot find libecole.so.0.8
How did you do it? If you are mixing conda/pip the environment may get broken.
When I installed the default Ecole library via conda, I could only install one with version <0.8.x, although I could find the Ecole with 0.8.x.
Perhaps some other dependencies in your environment are preventing conda from selecting a newer Ecole version. Hard to know without an environment file we could use.
I have the same error.
I use a new conda env use command
conda create -n ecole python=3.8
tar.bz2 download from URL: https://anaconda.org/conda-forge/ecole/0.8.1/download/linux-64/ecole-0.8.1-py39h4115d8b_1.tar.bz2
install ecole offline.
root@train-install-ecole-0:/share# conda install ecole-0.8.1-py38h2181f43_1.tar.bz2
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
root@train-install-ecole-0:/share# python
Python 3.8.5 (default, Sep 4 2020, 07:30:14)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ecole
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/miniconda3/lib/python3.8/site-packages/ecole/__init__.py", line 3, in <module>
from ecole.core import RandomGenerator, seed, spawn_random_generator, MarkovError, Default
ImportError: libecole.so.0.8: cannot open shared object file: No such file or directory
System Info: Docker Image.
@piscesvivian
install ecole offline.
This cannot work. The goal of conda is to install Ecole dependencies, if you just get that single file it's guaranteed to fail.
From my previous answer, I suggest you try to install mamba
in your base environment, then install ecole
with mamba
.
See the aforementioned Mamba doc for how to use Mamba.
Hi @AntoinePrv I installed it in a docker and it works fine. There only one issue (so far) I am trying to execute a code that uses spawn_random_generator where it gets stuck cannot import name 'spawn_random_generator' from 'ecole.core' I did not use mama. installed in docker and directly used conda as RUN conda install -n envEcole -c conda-forge ecole
Many thanks in advance.
I have successfully solved this problem!!
Same ERROR! I need to use ecole.core.observation.NodeBipartiteObs.variable_features
too. Thanks to this issue I was able to find out what the problem was.
This conda install -c conda-forge ecole
command in [https://pypi.org/project/ecole/] can only install the 0.7.3 version of ecole.
Use conda install ecole
directly after uninstall the 0.7.3 version of ecole. Then we can get the 0.8.1 version of ecole.
Make sure your conda version is the latest, like 24.5.0.
Describe the bug
conda-forge
. When I manually install the Ecole 0.8.x after downloading*.tar.gz
files, the system cannot findlibecole.so.0.8
.I could install Ecole via
pip
, but I encountered an error regarding thread. Since I need to useecole.core.observation.NodeBipartiteObs.variable_features
, I have to install Ecole with version 0.8.x via conda. How can I install it?Setting
Thank you for any help!