Joshua Baboo
Joshua Baboo

Reputation: 525

gramex install error: import pip.req ImportError: No module named req

My Environment details:

I'm getting below error while trying to install with pip install -verbose gramex or pip install -e . (from ) ```

(gramex_34) <src_path>\\gramex>pip install -e .
 Obtaining file:///<src_path>/gramex
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "<src_path>\gramex\setup.py", line 7, in 
 <module>
        from pip.req import parse_requirements
    ImportError: No module named req
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in <src_path>\gramex\

I could get the below ref on SoF its a usage issue with latest version of pip:

Upvotes: 2

Views: 1317

Answers (1)

S Anand
S Anand

Reputation: 11948

UPDATE: Since Jun 2018, this issue does not arise.

ORIGINAL ANSWER:

Yes Joshua - this was raised as an issue but isn't fixed yet.

The workaround is to downgrade from pip 10 to pip 9 -- and then install. This is not ideal. Will try and have a fix soon.

Upvotes: 0

Related Questions