Closed gaellafond closed 1 year ago
I ran it again. It crashed again, but this time due to lack of RAM:
Collecting package metadata (repodata.json): done
Solving environment: \ Killed
I tried using GESIS
and mybinder.org
, but they both crashed with the Notebook and the Console:
Note: you may need to restart the kernel to use updated packages.
I don't know if there is a way to restart the kernel
ask requested...
Hi @gaellafond
Sorry you're having issues installing the environment. It looks like the error is likely to do with communication between your machine and Anaconda. It may be worthwile to update conda (conda update conda
) or use Mamba as a drop-in replacement for conda
If you're running on GESIS/MyBinder, the memory can be an issue but if you need to restart a kernel, you can do so with Kernel (in the top menu bar) -> Restart Kernel
Thanks Lucas. I gave another try at GESIS. Once the page is loaded, I select either Notebook or Console. I type the following command:
conda env create -f ./environment.yml
It display the following logs:
Collecting package metadata (repodata.json): done
Solving environment: | ^C
failed
CondaError: KeyboardInterrupt
Note: you may need to restart the kernel to use updated packages.
NOTE: I'm NOT touching the keyboard during the whole process! That interruption CTRL+C
is not coming from me.
At this point, GESIS is dead. Restarting the kernel does nothing. Closing the console and loading a new one shows a 405 Method Not Allowed
error.
Either I'm doing something wrong, or GESIS can't run the code anymore.
With MyBinder, I run the same command:
conda env create -f ./environment.yml
It runs for a few minutes. The Mem
status in the bottom left corner goes above 2 GB (shown in red), then jump back down to 250 MB with the following output in the console:
Collecting package metadata (repodata.json): -
Note: you may need to restart the kernel to use updated packages.
Restarting the kernel just put me back at the beginning. The environment is reset. MyBinder clearly don't have enough RAM to run the code.
Using conda on my computer:
I install conda version : 22.9.0
.
The update command said it updated conda to 23.1.0
When I run the command conda --version
, it still shows 22.9.0
$ conda update conda
Collecting package metadata (current_repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 22.9.0
latest version: 23.1.0
Please update conda by running
$ conda update -n base -c defaults conda
# All requested packages already installed.
Retrieving notices: ...working... done
$ conda update -n base -c defaults conda
Collecting package metadata (current_repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 22.9.0
latest version: 23.1.0
Please update conda by running
$ conda update -n base -c defaults conda
# All requested packages already installed.
Retrieving notices: ...working... done
$ conda --version
conda 22.9.0
Mamba I download and installed Mamba using Mambaforge. It installed a more recent version of conda:
$ conda --version
conda 22.11.1
I ran the same command as with the others:
$ conda env create -f ./environment.yml
Collecting package metadata (repodata.json): done
Solving environment: \
It has been running for over 3 hours. It hasn't crashed yet, so I guess I'm on a good path...
I just realised that the .ipynb
files are not part of the application code base. They are the pages of the Jupyter Notebook. I do not need to run the conda
command lines described in the REAME when using GESIS
, I can simply open those Notebook files are execute the code line by line.
I believe you assumed your users would already know that. This is my first experience with Jupyter and all I was getting was an empty Notebook or Console when i was clicking the big button in the middle of the page. I had no idea that those buttons had no use, and I had to open the .ipynb file to get somewhere.
Thanks for taking time to answer my question. Maybe you could add just a line saying to open the .ipynb files when using GESIS
of MyBinder
, for people like me who are coming from a different codding background.
I got the following error during the initialisation (see bellow). I'm new to python, this might be a trivial error.
I'm following the instructions described in
Install locally
from the Readme file:It fails at the line
conda env create -f ./environment.yml
after several minutes.I'm using
conda 22.9.0
NOTE: I have anonymised my username with
[...]
in the error output.Error output