Installation [DEV]

Create conda environment

conda create -n traceratops python=3.11
conda activate traceratops

Download & install the source code

cd $HOME/Repositories
git clone git@github.com:pyHi-M/traceratops.git

cd $HOME/Repositories/traceratops
pip install -e ".[dev]"

Strange error

  • If you get things like this during the installation:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
pylint 2.12.2 requires isort<6,>=4.2.5, which is not installed.
pylint 2.12.2 requires mccabe<0.7,>=0.6, which is not installed.
pylint 2.12.2 requires toml>=0.9.2, which is not installed.

OR

  • If a script name seems to refer to another package:

    • Identify the error package name (here it’s pylint).

    • If it’s not in the dependancies of your project, it’s a “ghost”.

    • To exorcise it:

      • Identify exe path : which pylint (give me /home/user/.local/bin/pylint)

      • Remove it : rm ~/.local/bin/pylint

    • Re-install your package to be sure pip install -e ".[dev]"