ChildProject is a python package distributed through pypi. It is meant to
function in conjunction with multiple dependency packages, both python packages and system packages. This is why we
advise users to install all of those in a self-contained conda environment, this will ensure separation between your
system and the software used in projects using ChildProject. You can choose to install ChildProject on its own,
but be aware that some features may fail or be unavailable if some system packages used by ChildProject are missing.
The following instructions will let you install the following packages inside a self-contained conda environment:
ChildProject (and dependencies), the package that is documented here, follow the main installation instructions to get it
DataLad (and dependencies), a python software for the management and delivery of scientific data. Although ChildProject may work without it, a number of datasets of daylong recordings of children require it. We advise to work with it alongside ChildProject. Follow the instructions in the section “Datalad installation” to get it as well.
This installation procedure requires a package able to handle conda environments. We recommend using micromamba
but you can use any alternative. A very common alternative is anaconda (conda command). If you are not sure you have conda or
micromamba installed, check the Check and or install Anaconda / Micromamba.
Warning
All our instructions use micromamba commands, if you are using a difference environment manager, such as anaconda
, replace all instructions with the proper command (conda for example).
# download the conda environment
curlhttps://raw.githubusercontent.com/LAAC-LSCP/ChildProject/master/env_linux.yml-oenv.yml
# create the conda environment
micromambaenvcreate-fenv.yml
# activate the environment (this should be done systematically to use our package)
micromambaactivatechildproject
Use a terminal window
# download the conda environment
curlhttps://raw.githubusercontent.com/LAAC-LSCP/ChildProject/master/env_macos.yml-oenv.yml
# create the conda environment
micromambaenvcreate-fenv.yml
# activate the environment (this should be done systematically to use our package)
micromambaactivatechildproject
Use powershell if conda/micromamba is installed as a command, or use the anaconda/miniconda powershell prompt
program if conda is installed as a program.
# download the conda environmentcurl https://raw.githubusercontent.com/LAAC-LSCP/ChildProject/master/env_windows.yml-oenv.yml# create the conda environmentmicromambaenvcreate-fenv.yml# activate the environment (this should be done systematically to use our package)micromambaactivatechildproject
Installation as system packages and separated python packages
Installing directly dependencies as system packages is not recommended as this won’t clearly separate dependencies
between projects and requires you to have administrator privileges.
Instructions here will install the system dependencies directly into the operating system, the python requirements will
be installed separately (as installing python packages directly in the system is highly discouraged as
it could break system packages, still installing directly is possible by replacing pipx with pip and passing the
–break-system-packages flag.) In windows, those intructions guide you into installing the python packages in anaconda
prompt.
Make sure you have a recent version of python installed or install it (https://www.python.org/)
Installing packages on Debian
sudoapt-getinstallsoxffmpeggitgit-annexpipx
Installing packages on Fedora/RHEL/CentOS/Rocky
# if the EPEL is not added on your system, you may need to add it with# sudo dnf install epel-release -y# sudo crb enable# sudo dnf install rpmfusion-free-release -y
sudodnfinstallsoxffmpeggitgit-annexpipx
Installing packages on Arch
sudopacman-Ssoxffmpeggitgit-annexpipx
Then python packages can be installed with pipx directly (or alternatives like uv)
pipxinstalldatalad
pipxinstallChildProject
Make sure you have a recent version of python installed or install it (https://www.python.org/)
# install via brew, git should be installed by default
brewinstallsoxffmpeggit-annexpipx
pipxinstalldatalad
pipxinstallChildProject
Download and run the Git installer found in this page, use the first link in the page. When running the installer, we advise you keep all the default choices.
Open an Anaconda prompt, after all the installations, you should now have a program called “Anaconda Prompt” in your start Menu, if you can’t find it, use the search field. You will use this program whenever you use ChilProject so it is probably best to pin it to the start menu or create a shortcut on your desktop. Launch it, you should be presented with a terminal window, allowing you to enter and launch commands
You can now make sure the packages have been successfully installed:
each –version command should output the version of the package.
If you installed in an environment, check it is activated or activate it
We recommend that you regularly keep DataLad and our package up to date.
To upgrade this package, do pipinstallChildProject--upgrade in virtual environments, or
pipxupgradeChildProject if installed directly.
You may also want to install the development version from GitHub in order
to receive more recent updates before their release:
To check if conda or micromamba is installed, run in a terminal or powershell the following commands :
conda--version and micromamba--version. If either command prints a version number, they are installed and
you should be able to use them.
On windows, you may have a ‘prompt’ version of anaconda install, search for ‘powershell anaconda prompt’ in your
programs, launch it to use a terminal where cona is available.
If none is installed, refer to the installation instructions:
Miniconda is installed as a program, which means you need admin rights. It is then accessible in the terminal on
Linux/MacOS and by launching a program on Windows (miniconda prompt). Follow instructions here
to install.
If you are having trouble installing ChildProject, please look
for similar issues on our GithHub (in Issues or Discussions).
If this issue is related to a dependency of the package, we recommend that you ask
the developers of the dependency directly as you may get more accurate advice.
If this issue is related to DataLad, please create an issue on DataLad’s GitHub.
You will still need git-annex in order to use DataLad.
It can be installed with brew for Mac users (brew install git-annex)
or through apt for Linux users (apt install git-annex).
Most likely, you will lack permissions to do so if you failed to install anaconda.
In this case, pleaser refer to your system administrator.
If this does not work better for you, make sure that your version of Mac OS is 10.14 or later.
We are aware of issues with Mac OS 10.13 (High Sierra) and earlier.
If your issues persistent, please report it to DataLad.