Почему pip freeze выдает ошибку Could not generate requirement for distribution -ip 21.0? [дубликат]

pip freeze > requirements.txt выдает ошибку WARNING: Could not generate requirement for distribution -ip 21.0 (c:\python39\lib\site-packages): Parse error at "'-ip==21.'": Expected W:(abcd...) Как убрать эту ошибку и что это за ошибка?

Ниже приведено содержимое файла после выполнения команды pip freeze > requirements.txt requirments.txt

aioredis==1.3.1
asgiref==3.3.1
astroid==2.4.2
async-timeout==3.0.1
attrs==21.2.0
autobahn==21.3.1
Automat==20.2.0
beautifulsoup4==4.9.3
bs4==0.0.1
certifi==2020.12.5
cffi==1.14.5
channels==3.0.4
channels-redis==3.3.1
chardet==4.0.0
colorama==0.4.4
constantly==15.1.0
coreapi==2.3.3
coreschema==0.0.4
cryptography==3.4.7
daphne==3.0.2
defusedxml==0.7.1
Django==3.0.11
django-binary-database-files==1.0.10
django-cors-headers==3.7.0
django-render-block==0.8.1
django-templated-email==2.4.0
django-templated-mail==1.1.1
djangochannelsrestframework==0.3.0
djangorestframework==3.12.2
djangorestframework-simplejwt==4.7.1
djoser==2.1.0
hiredis==2.0.0
hyperlink==21.0.0
idna==2.10
incremental==21.3.0
isort==5.7.0
itypes==1.2.0
Jinja2==3.0.1
joblib==1.1.0
lazy-object-proxy==1.4.3
MarkupSafe==2.0.1
mccabe==0.6.1
msgpack==1.0.2
mysqlclient==2.0.3
numpy==1.21.4
oauthlib==3.1.0
pandas==1.3.4
Pillow==8.3.1
ply==3.11
psycopg2==2.8.6
psycopg2-binary==2.8.6
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycparser==2.20
PyJWT==2.1.0
pylint==2.6.0
pylint-django==2.4.2
pylint-plugin-utils==0.6
pyOpenSSL==21.0.0
python-dateutil==2.8.2
python3-openid==3.2.0
pytz==2020.5
requests==2.25.1
requests-oauthlib==1.3.0
scikit-learn==1.0.1
scipy==1.7.2
service-identity==21.1.0
six==1.15.0
sklearn==0.0
social-auth-app-django==4.0.0
social-auth-core==4.1.0
soupsieve==2.1
sqlparse==0.4.1
threadpoolctl==3.0.0
toml==0.10.2
Twisted==21.7.0
twisted-iocpsupport==1.0.2
txaio==21.2.1
typing-extensions==3.10.0.2
uritemplate==3.0.1
urllib3==1.26.3
waitress==2.0.0
whitenoise==5.3.0
wrapt==1.12.1
zope.interface==5.4.0

Ниже приведено содержимое файла после выполнения команды pip freeze > requirements.txt. Я новичок в django, любая помощь будет оценена по достоинству!

Вернуться на верх