2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

[Python]はじめてのPythonでpip,Mecabインストールに勝利したい男② 環境設定編

Last updated at Posted at 2024-12-08

#はじめに
Qiita Advent Calendar 9日目らしい。
もう環境設定できたらなんでもいいや。
では、本編どぞ

前回の続き

MeCabというライブラリのインポートに苦労。
なにをすればコマンドプロンプトからパイソンを実行できるかわからない。
調べていく。

環境変数から変えていく。

コマンドプロンプトを管理者権限で開いて、
環境変数を以下に変えていく。

setx PATH "%PATH%;C:\Program Files\MeCab\bin"

結果、できた。

>mecab -v
mecab of 0.996

感想

初めて環境変数をいじった気がする。
コマンドプロンプトって意外といじるの大事だなと思った。
PythonにはVenVという仮想環境も存在すると聞いた。
それも勉強したいなと思いました。

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?