Can't install via pip because of egg_info error

后端 未结 10 1117
-上瘾入骨i
-上瘾入骨i 2020-11-22 13:58

No matter which package I\'m trying to install, I get this error:

error: invalid command \'egg_info\'

----------------------------------------
Cleaning up.         


        
10条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-22 14:49

    I'll add this in here as my problem had something todo with my virtualenv:

    I hadn't activated my virtual environment and was trying to install my requirements, this ultimately led to my install failing and throwing this error message.

    So make sure you activate your virtualenv!

提交回复
热议问题