BASHA TECH

환경 세팅 Visual Studio Tools 설치 본문

Computer/Machine Learning

환경 세팅 Visual Studio Tools 설치

Basha 2022. 10. 5. 17:25
728x90

https://visualstudio.microsoft.com/ko/downloads/

 

Visual Studio Tools 다운로드 - Windows, Mac, Linux용 무료 설치

Visual Studio IDE 또는 VS Code를 무료로 다운로드하세요. Windows 또는 Mac에서 Visual Studio Professional 또는 Enterprise Edition을 사용해 보세요.

visualstudio.microsoft.com

 

Anaconda Prompt>>

 

conda create -n ml-dev python=3.9

(base) C:\Windows\system32>conda create -n ml-dev python=3.9
Collecting package metadata (current_repodata.json): done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
  current version: 4.14.0
  latest version: 22.9.0

Please update conda by running

    $ conda update -n base -c defaults conda



## Package Plan ##

  environment location: D:\Anaconda3\envs\ml-dev

  added / updated specs:
    - python=3.9


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    certifi-2022.9.14          |   py39haa95532_0         155 KB
    pip-22.2.2                 |   py39haa95532_0         2.3 MB
    python-3.9.13              |       h6244533_1        17.1 MB
    sqlite-3.39.3              |       h2bbff1b_0         804 KB
    ------------------------------------------------------------
                                           Total:        20.3 MB

The following NEW packages will be INSTALLED:

  ca-certificates    pkgs/main/win-64::ca-certificates-2022.07.19-haa95532_0
  certifi            pkgs/main/win-64::certifi-2022.9.14-py39haa95532_0
  openssl            pkgs/main/win-64::openssl-1.1.1q-h2bbff1b_0
  pip                pkgs/main/win-64::pip-22.2.2-py39haa95532_0
  python             pkgs/main/win-64::python-3.9.13-h6244533_1
  setuptools         pkgs/main/win-64::setuptools-63.4.1-py39haa95532_0
  sqlite             pkgs/main/win-64::sqlite-3.39.3-h2bbff1b_0
  tzdata             pkgs/main/noarch::tzdata-2022c-h04d1e81_0
  vc                 pkgs/main/win-64::vc-14.2-h21ff451_1
  vs2015_runtime     pkgs/main/win-64::vs2015_runtime-14.27.29016-h5e58377_2
  wheel              pkgs/main/noarch::wheel-0.37.1-pyhd3eb1b0_0
  wincertstore       pkgs/main/win-64::wincertstore-0.2-py39haa95532_2


Proceed ([y]/n)?

conda activate ml-dev

cd big15

cd ml-dev

pip install scikit-learn numpy pandas matplotlib seaborn

done
#
# To activate this environment, use
#
#     $ conda activate ml-dev
#
# To deactivate an active environment, use
#
#     $ conda deactivate

Retrieving notices: ...working... done

(base) C:\Windows\system32>
(base) C:\Windows\system32>conda activate ml-dev

(ml-dev) C:\Windows\system32>cd big15
지정된 경로를 찾을 수 없습니다.

(ml-dev) C:\Windows\system32>cd big15
지정된 경로를 찾을 수 없습니다.

(ml-dev) C:\Windows\system32>cd ml-dev
지정된 경로를 찾을 수 없습니다.

(ml-dev) C:\Windows\system32>pip install scikit-learn numpy pandas matplotlib seaborn
Collecting scikit-learn
  Downloading scikit_learn-1.1.2-cp39-cp39-win_amd64.whl (7.4 MB)
     ---------------------------------------- 7.4/7.4 MB 18.2 MB/s eta 0:00:00
Collecting numpy
  Using cached numpy-1.23.3-cp39-cp39-win_amd64.whl (14.7 MB)
Collecting pandas
  Downloading pandas-1.5.0-cp39-cp39-win_amd64.whl (10.9 MB)
     ---------------------------------------- 10.9/10.9 MB 18.7 MB/s eta 0:00:00
Collecting matplotlib
  Downloading matplotlib-3.6.0-cp39-cp39-win_amd64.whl (7.2 MB)
     ---------------------------------------- 7.2/7.2 MB 28.8 MB/s eta 0:00:00
Collecting seaborn
  Downloading seaborn-0.12.0-py3-none-any.whl (285 kB)
     ---------------------------------------- 285.1/285.1 kB 4.4 MB/s eta 0:00:00
Collecting scipy>=1.3.2
  Downloading scipy-1.9.1-cp39-cp39-win_amd64.whl (38.6 MB)
     ---------------------------------------- 38.6/38.6 MB 3.4 MB/s eta 0:00:00
Collecting threadpoolctl>=2.0.0
  Using cached threadpoolctl-3.1.0-py3-none-any.whl (14 kB)
Collecting joblib>=1.0.0
  Using cached joblib-1.2.0-py3-none-any.whl (297 kB)
Collecting pytz>=2020.1
  Downloading pytz-2022.4-py2.py3-none-any.whl (500 kB)
     ---------------------------------------- 500.8/500.8 kB 1.2 MB/s eta 0:00:00
Collecting python-dateutil>=2.8.1
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting cycler>=0.10
  Downloading cycler-0.11.0-py3-none-any.whl (6.4 kB)
Collecting packaging>=20.0
  Using cached packaging-21.3-py3-none-any.whl (40 kB)
Collecting fonttools>=4.22.0
  Downloading fonttools-4.37.4-py3-none-any.whl (960 kB)
     ---------------------------------------- 960.8/960.8 kB 3.0 MB/s eta 0:00:00
Collecting contourpy>=1.0.1
  Downloading contourpy-1.0.5-cp39-cp39-win_amd64.whl (161 kB)
     ---------------------------------------- 162.0/162.0 kB 1.9 MB/s eta 0:00:00
Collecting pyparsing>=2.2.1
  Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB)
Collecting pillow>=6.2.0
  Downloading Pillow-9.2.0-cp39-cp39-win_amd64.whl (3.3 MB)
     ---------------------------------------- 3.3/3.3 MB 23.2 MB/s eta 0:00:00
Collecting kiwisolver>=1.0.1
  Downloading kiwisolver-1.4.4-cp39-cp39-win_amd64.whl (55 kB)
     ---------------------------------------- 55.4/55.4 kB 728.6 kB/s eta 0:00:00
Collecting six>=1.5
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Installing collected packages: pytz, threadpoolctl, six, pyparsing, pillow, numpy, kiwisolver, joblib, fonttools, cycler, scipy, python-dateutil, packaging, contourpy, scikit-learn, pandas, matplotlib, seaborn

 

visual studio code

ctrl+shift+p => interpreter 설정해주기

정상적으로 동작한다면 ok

728x90
반응형
Comments