GraphLab-Create 2.1安装失败:无法卸载certifi及Anaconda2自动安装问题
Got it, let's tackle that frustrating certifi error stopping your GraphLab-Create 2.1 install. The root issue here is that certifi was installed via distutils, which pip refuses to uninstall by default—we just need to work around that restriction. Here's how to fix it step by step:
First, make sure you're working within your
gl-envenvironment. Either launch the terminal directly from Anaconda Navigator for this environment, or run this command in your Windows command prompt:activate gl-envYou have two straightforward options to bypass the certifi conflict:
Force-update certifi first
This replaces the distutils-managed version with a pip-controlled one, eliminating the uninstall error for future operations:pip install --ignore-installed certifiOnce that finishes, run the standard GraphLab-Create installation command (don’t forget to include your license key if required):
pip install graphlab-create==2.1 -i https://static.turi.com/pypi/simple/Install GraphLab directly while ignoring certifi
If you want to handle it in one step, add the--ignore-installed certififlag to your install command:pip install graphlab-create==2.1 --ignore-installed certifi -i https://static.turi.com/pypi/simple/
To confirm the installation worked, launch Python in the
gl-envterminal and run:import graphlabIf no errors show up, you’re all set to use GraphLab-Create!
内容的提问来源于stack exchange,提问作者Felix

