简体   繁体   中英

Error while installing django-google-address

I want to add location feature on my django project. In internet I found, I have to run pip install django-google-address first. This gives an error, how to solve this?

Complete output from command python setup.py egg_info: ERROR: 
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "C:\Users\Dell\AppData\Local\Temp\pip-install-h0qlrtha\django-google-address\setup.py", line 3, in <module>
      from pip.req import parse_requirements ModuleNotFoundError: No module named 'pip.req'
----------------------------------------
ERROR: Command "python setup.py egg_info" failed with error code 1 in C:\Users\Dell\AppData\Local\Temp\pip-install-h0qlrtha\django-google-address\

Use pip3 install django-google-address as this might be related to the version of python.

You might need to recreate some files as mentioned under No module named pip.req

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM