From 07d17d3673b2d517ca278de7322cccf1ece73312 Mon Sep 17 00:00:00 2001 From: Berk Ozturk <1ozturkbe@gmail.com> Date: Wed, 2 May 2018 12:26:23 -0400 Subject: [PATCH] Update gpkitmodels to gplibrary I was trying to install the model to figure out how to use Sankey, when I ran into this error ```python $ pip install -e solar Obtaining file:///C:/Users/Berk/Dropbox%20%28MIT%29/MIT%20Graduate%20School/code/solar Requirement already satisfied: numpy in c:\users\berk\anaconda2\lib\site-packages (from solar==0.0.0.0) (1.14.2) Requirement already satisfied: scipy in c:\users\berk\anaconda2\lib\site-packages (from solar==0.0.0.0) (0.19.0) Requirement already satisfied: gpkit in c:\users\berk\dropbox (mit)\mit graduate school\code\gpkit (from solar==0.0.0.0) (0.7.0.0) Requirement already satisfied: pandas in c:\users\berk\anaconda2\lib\site-packages (from solar==0.0.0.0) (0.17.1) Requirement already satisfied: gpfit in c:\users\berk\dropbox (mit)\mit graduate school\code\gpfit (from solar==0.0.0.0) (0.1) Collecting gpkitmodels (from solar==0.0.0.0) Could not find a version that satisfies the requirement gpkitmodels (from solar==0.0.0.0) (from versions: ) No matching distribution found for gpkitmodels (from solar==0.0.0.0) ``` This is because the module is no longer called gpkitmodels. Easy fix. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 8a3639a..3f7f9b7 100644 --- a/setup.py +++ b/setup.py @@ -35,7 +35,7 @@ author="MIT Convex Engineering", author_email="mjburton@mit.edu", url="https://www.github.com/convexengineering/solar", - install_requires=["numpy", "scipy", "gpkit", "pandas", "gpfit", "gpkitmodels"], + install_requires=["numpy", "scipy", "gpkit", "pandas", "gpfit", "gplibrary"], version="0.0.0.0", packages=["solar"], package_data={"solar": ["*.csv"]},