cure-lab / MagicDrive

[ICLR24] Official implementation of the paper “MagicDrive: Street View Generation with Diverse 3D Geometry Control”
https://gaoruiyuan.com/magicdrive/
GNU Affero General Public License v3.0
419 stars 22 forks source link

it occurs error when I install xformers in third_party #8

Closed zhangxiao696 closed 4 months ago

zhangxiao696 commented 4 months ago

thanks for your work!

when I install xformers in third_party by using "pip install .", find error:

image

if I update code in /opt/conda/lib/python3.7/subprocess.py, xformers is not work: packaging.version.InvalidVersion: Invalid version: '0.0.19xxx'

31ff61ed4d89c31f936f15a1ac88562e
flymin commented 4 months ago

I guess you download the zip rather than clone the repo.

Change this function to return an empty string (like doing nothing) and re-install xformers. It should fix the error.

zhangxiao696 commented 4 months ago

I guess you download the zip rather than clone the repo.

Change this function to return an empty string (like doing nothing) and re-install xformers. It should fix the error.

yes, I resolved the problem by using a occupy string. Thanks for your reply.