 +import sys
  from contextlib import contextmanager
  from shutil import rmtree
-
+ 
 @@ -15,13 +16,22 @@ from .._compat import (
      Wheel,
      FAVORITE_HASH,

+            return set(self._json_dep_cache[ireq])
+        except Exception:
+            return set()

     def get_dependencies(self, ireq):
+        json_results = set()
+

         self.pip_options = pip_options
-        self.wheel_cache = WheelCache(CACHE_DIR, pip_options.format_control)
+        self.wheel_cache = WheelCache(PIPENV_CACHE_DIR, pip_options.format_control)
 
         index_urls = [pip_options.index_url] + pip_options.extra_index_urls
         if pip_options.no_index:
@@ -74,11 +124,15 @@ class PyPIRepository(BaseRepository):
