Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/16.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
mysqlclient在python3 virtualenv(Mac OS)中安装失败_Mysql_Python 3.x - Fatal编程技术网

mysqlclient在python3 virtualenv(Mac OS)中安装失败

mysqlclient在python3 virtualenv(Mac OS)中安装失败,mysql,python-3.x,Mysql,Python 3.x,我正在尝试使用以下命令在python3 virtualenv中安装mysqlclient: pip3安装mysqlclient 以下是我得到的错误: clang: error: linker command failed with exit code 1 (use -v to see invocation) error: command 'gcc' failed with exit status 1 ----------------------------------------

我正在尝试使用以下命令在python3 virtualenv中安装mysqlclient:

pip3安装mysqlclient

以下是我得到的错误:

  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  error: command 'gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for mysqlclient
lssl到底是什么?我尝试了
brew安装lssl
,但没有类似的内容。 希望在这方面得到一些帮助:(


注意:Im使用python3.6.5

您可能需要安装命令行工具

xcode-select --install