LoginSignup
2
1

More than 1 year has passed since last update.

【環境構築】UbuntuにMySQL環境を作ろうとして激ハマりした

Last updated at Posted at 2022-04-03

VirtualBoxのUbuntuにて、MySQLを使おうとしたところ
環境構築中にエラーでハマった。

$ pip install mysqlclient
Collecting mysqlclient
  Using cached mysqlclient-2.1.0.tar.gz (87 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
 
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      ERROR: Can not execute `setup.py` since setuptools is not available in the build environment.
      [end of output]
 
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

下記記事を参考にさせていただき、無事解決。
https://qiita.com/Ken227/items/02482710e297ef691c8e

2
1
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
1