Skip to content

Commit

Permalink
ModuleNotFoundError: No module named 'pip.req': Issue #7
Browse files Browse the repository at this point in the history
  • Loading branch information
Nekmo committed Apr 18, 2018
1 parent 58bffba commit 9a4ed88
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from pip.req import parse_requirements
from distutils.version import LooseVersion
from distutils.util import convert_path
from fnmatch import fnmatchcase
import os
import sys
import uuid
import pip


if LooseVersion(pip.__version__) >= "10.0.0":
from pip._internal.req import parse_requirements
else:
from pip.req import parse_requirements


###############################
# Configuración del paquete #
Expand Down

0 comments on commit 9a4ed88

Please sign in to comment.