Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error installing superset on an anaconda distribution

Having a nightmare here, been trying for hours with no luck. I'm using anaconda with a virtual environment on python 3.4 (I want to use geopandas, can't use 3.5) on windows 10. This is superset by the way: https://github.com/airbnb/superset

I also tried in my root conda environment but same issues.

First I do

activate py34

Then I tried two methods, A)

pip install superset

gives the error message

error: Microsoft visual c++ 10.0 is required. get it with "microsoft windows sdk 7.1" python

and B) Download the source files and go to the directory and

setup.py install

Produces a different output but the same error message.

So I tried installing the SDK as suggested (standard UI installation like a normal windows program), but then I get an error with no code or information provided:

Installation of the "Microsoft Windows SDK for Windows 7" product has reported the following error: Please refer to Samples\Setup\HTML\ConfigDetails.htm document for further information"

There is no error code provided and I also don't know where that ConfigDetails.htm file is.

I tried installing a more recent SDK found here but still the same problems: https://developer.microsoft.com/en-US/windows/downloads/windows-10-sdk

Any ideas? I'm relatively new to python and find packages the most difficult thing ever, so if the answer is obvious then sorry.

like image 366
AndyMoore Avatar asked Nov 21 '25 07:11

AndyMoore


1 Answers

Migrating OP's solution from a comment to an answer:

In the end the best solution was to install Cygwin and install Superset within Linux.

  • AndyMoore - Mar 2, 2017 at 20:50
like image 186
TylerH Avatar answered Nov 22 '25 20:11

TylerH



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!