Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- 데이터분석
- 바로팜
- activation
- 퍼널분석
- 팔방이익구조
- 역설구조
- 활성화
- 전환율
- 올라
- 그로스해킹
- mysql설치 #mysql #mysqluser #mysqlworkbench
- allra
- aarrr
- sklearn
- 선정산서비스
- 코호트
- model_selection
- 핀테크
- fundbox
- 서말리포켓
- 비즈니스모델
- 머신러닝
- 리텐션
- pmf
- CAC
- BM분석
- retention
- 인게이지먼트
- 한장으로끝내는비즈니스모델100
- 셀프스토리지
Archives
- Today
- Total
데이터로그😎
[ubuntu] 로컬에 ubuntu(linux)를 설치하는 건에 관하여.... 본문
먼저 로컬에서 linux를 사용하려면 wsl을 설치해야 하는데, 아래의 사이트를 참고했다.
https://webdir.tistory.com/541
ubuntu 설치
PS C:\Users\TEMP> wsl --install
설치 중: Ubuntu
Ubuntu이(가) 설치되었습니다.
Ubuntu을(를) 시작하는 중...
Installing, this may take a few minutes...
Please create a default UNIX user account. The username does not need to match your Windows username.
For more information visit: https://aka.ms/wslusers
Enter new UNIX username: ubuntu
New password:
Retype new password:
passwd: password updated successfully
Installation successful!
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
Welcome to Ubuntu 22.04.2 LTS (GNU/Linux 5.15.90.1-microsoft-standard-WSL2 x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
This message is shown once a day. To disable it please create the
/home/ubuntu/.hushlogin file.
miniconda3 설치
ubuntu@JeeYeon:~$ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
ubuntu@JeeYeon:~$ bash Miniconda3-latest-Linux-x86_64.sh
.....
Thank you for installing Miniconda3!
그런데, 여기서 conda init base를 하니까 ;
conda: command not found가 뜨는 것.....
그리하여 어떻게 해결했나?
ubuntu@JeeYeon:~$ conda init
conda: command not found
PATH에 miniconda3/bin을 추가해줬다. = 이 경로가 base가 되는 것.
ubuntu@JeeYeon:~$ export PATH=/home/ubuntu/miniconda3/bin:$PATH
ubuntu@JeeYeon:~$ conda --version
conda 23.5.2
그런데... 여기서 또 에러가 뜨는 것이다...
conda activate를 쓸 수 없단다.
ubuntu@JeeYeon:~$ conda activate
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
To initialize your shell, run
$ conda init <SHELL_NAME>
Currently supported shells are:
- bash
- fish
- tcsh
- xonsh
- zsh
- powershell
See 'conda init --help' for more information and options.
IMPORTANT: You may need to close and restart your shell after running 'conda init'.
그래서 어떻게 해결했게?
아래의 코드는 변경된 profile을 conda의 shell script에 적용하는 코드
그리했더니 condda activate base가 먹혔다 드뎌!!!!!
ubuntu@JeeYeon:~$ source ~/miniconda3/etc/profile.d/conda.sh
ubuntu@JeeYeon:~$ conda activate base
(base) ubuntu@JeeYeon:~$
'#4. 기타 공부 > #4.1. Data Engineering' 카테고리의 다른 글
[airflow] airflow(ubuntu)-mysql 연결하기? (0) | 2023.09.13 |
---|---|
[airflow] airflow 사용하기 (0) | 2023.09.11 |
[ubuntu] 로컬 WSL(ubuntu) - vscode 연결하기 (0) | 2023.09.11 |
Data architecture (0) | 2023.09.07 |
Data 저장소 (0) | 2023.09.07 |