ubuntu 2

[Ubuntu Linux/WSL] System has not been booted with systemd as init system (PID 1). Can't operate.

Ubuntu 20.04, 정확히는 WSL에 mysql을 설치하고 시작하려니 이난리가 났다 우선 결론부터 적자면 In Ubuntusudo apt updatesudo apt install -y gitgit clone https://github.com/DamionGans/ubuntu-wsl2-systemd-script.gitcd ubuntu-wsl2-systemd-script/bash ubuntu-wsl2-systemd-script.sh --force  In cmdwsl --shutdown  이제부터 과정 시작  1. 시도 1 (실패) https://parkkingcar.tistory.com/96 [Linux] systemctl 명령 에러 System has not been booted with systemd..

[Ubuntu Linux/Python] pip가 특정 torch version을 찾지 못함/우분투 파이썬 가상환경 버전 다운그레이드

라이브러리 의존 문제때문에 torch 1.6.0을 설치해야 했었는데 참고로 pip install --upgrade pip 진행해도 실패함 torch 버전을 자꾸 1.11 아래로는 인식을 못하는게 좀 싸해서 python 버전을 다운그레이드 해보기로 했다 일단 저 시점에서 python 버전은 3.10.x였음 1. 일단 패키지 설치 apt-get install python3.7-dev python3.7-venv 사실 원래 설치하고싶었던건 3.6이라 python3.6-venv, python3.6-dev로 자의적으로 바꿔봤는데 없다더라 왜 3.7만 있는지는 모름 1.1. python3.7 위치 확인(optional) which python3.7 사실 안해도 별로 상관없음 보통 /usr/bin/python3.7이기..