Skip to content

Instantly share code, notes, and snippets.

@guerrerocarlos
Last active February 3, 2025 20:03
Show Gist options
  • Save guerrerocarlos/4e248ef80752884c8833d2dc367a832f to your computer and use it in GitHub Desktop.
Save guerrerocarlos/4e248ef80752884c8833d2dc367a832f to your computer and use it in GitHub Desktop.
sudo apt update
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update
apt-cache policy docker-ce
sudo apt install docker-ce
sudo systemctl status docker
cd /tmp
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
chmod u+x get_helm.sh
./get_helm.sh
cd -
cd /tmp
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
chmod +x kubectl
sudo mv kubectl /usr/local/bin/
kubectl version --client
cd -
cd /tmp
curl https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh --output anaconda.sh
bash anaconda.sh
cd -
source ~/.bashrc
@guerrerocarlos
Copy link
Author

(base) root@ny001:~/ai-core/cookiecutter# make service name=carlos
Makefile:26: warning: overriding recipe for target 'setup'
/root/ai-core/shared/python.mk:48: warning: ignoring old recipe for target 'setup'
conda env create
--prefix ./env
--file environment.yml
WARNING: The conda.compat module is deprecated and will be removed in a future release.
WARNING: The conda.compat module is deprecated and will be removed in a future release.
Collecting package metadata: done
Solving environment: failed

ResolvePackageNotFound:

  • pyyaml=6.0.2 -> libgcc-ng[version='>=11.2.0'] -> __glibc[version='>=2.17']
  • pyyaml=6.0.2 -> python[version='>=3.13,<3.14.0a0'] -> expat[version='>=2.6.3,<3.0a0'] -> libstdcxx-ng[version='>=11.2.0']
  • pyyaml=6.0.2 -> python[version='>=3.13,<3.14.0a0'] -> libmpdec[version='>=4.0.0,<5.0a0']
  • pyyaml=6.0.2 -> python[version='>=3.13,<3.14.0a0'] -> libuuid[version='>=1.41.5,<2.0a0']
  • pyyaml=6.0.2 -> python[version='>=3.13,<3.14.0a0'] -> ncurses[version='>=6.4,<7.0a0']
  • pyyaml=6.0.2 -> python[version='>=3.13,<3.14.0a0'] -> openssl[version='>=3.0.15,<4.0a0']
  • pyyaml=6.0.2 -> python[version='>=3.13,<3.14.0a0'] -> sqlite[version='>=3.45.3,<4.0a0'] -> zlib[version='>=1.2.13,<1.3.0a0,>=1.2.13,<2.0a0']
  • pyyaml=6.0.2 -> python[version='>=3.13,<3.14.0a0'] -> tk[version='>=8.6.14,<8.7.0a0']
  • pyyaml=6.0.2 -> python[version='>=3.13,<3.14.0a0'] -> xz[version='>=5.4.6,<6.0a0']
  • python=3.12.3 -> expat[version='>=2.6.2,<3.0a0'] -> libgcc-ng[version='>=11.2.0'] -> __glibc[version='>=2.17']
  • python=3.12.3 -> expat[version='>=2.6.2,<3.0a0'] -> libstdcxx-ng[version='>=11.2.0']
  • python=3.12.3 -> libuuid[version='>=1.41.5,<2.0a0']
  • python=3.12.3 -> ncurses[version='>=6.4,<7.0a0']
  • python=3.12.3 -> sqlite[version='>=3.45.3,<4.0a0'] -> zlib[version='>=1.2.13,<1.3.0a0,>=1.2.13,<2.0a0']
  • python=3.12.3 -> tk[version='>=8.6.14,<8.7.0a0']
  • python=3.12.3 -> xz[version='>=5.4.6,<6.0a0']

make: *** [Makefile:20: env] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment