FastApi Deployment: Error: failed to update dependencies: Unsupported option #468
-
Hello, I am trying to deploying Fastapi project to deta micros. it showing this message . by using "deta new". Error Message` { Adding dependencies... Error: failed to update dependencies: Unsupported option Here is my requirements.txtThese requirements were autogenerated by pipenv pipenv lock -r > requirements.txt anyio==3.6.1; python_full_version >= '3.6.2' asgiref==3.5.2; python_version >= '3.7' certifi==2022.6.15; python_version >= '3.6' charset-normalizer==2.1.1; python_version >= '3.6' click==8.1.3; python_version >= '3.7' colorama==0.4.5 datetime==4.5 dnspython==2.2.1; python_version >= '3.6' and python_version < '4.0' email-validator==1.2.1 fastapi-jwt-auth==0.5.0 fastapi[all]==0.82.0 greenlet==1.1.3; python_version >= '3' and platform_machine == 'aarch64' or (platform_machine == 'ppc64le' or (platform_machine == 'x86_64' or (platform_machine == 'amd64' or (platform_machine == 'AMD64' or (platform_machine == 'win32' or platform_machine == 'WIN32'))))) h11==0.13.0; python_version >= '3.6' httptools==0.4.0 idna==3.3; python_version >= '3.5' itsdangerous==2.1.2 jinja2==3.1.2 markupsafe==2.1.1; python_version >= '3.7' numpy==1.23.2; python_version < '3.10' and platform_machine != 'aarch64' and platform_machine != 'arm64' orjson==3.8.0 pandas==1.4.4 pydantic==1.10.2 pyjwt==1.7.1 pymysql==1.0.2 python-dateutil==2.8.2; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3' python-dotenv==0.21.0 python-multipart==0.0.5 pytz==2022.2.1 pyyaml==6.0 requests==2.28.1 setuptools==65.3.0; python_version >= '3.7' six==1.16.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3' sniffio==1.3.0; python_version >= '3.7' sqlalchemy==1.4.41 starlette==0.19.1; python_version >= '3.6' typing-extensions==4.3.0; python_version < '3.10' ujson==5.4.0 urllib3==1.26.12; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5' and python_version < '4.0' watchgod==0.8.2 websockets==10.3 werkzeug==2.2.2 zope.interface==5.4.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4' ` dont know which requiremnt is breaking. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
main issue is this line "-i https://pypi.org/simple" and also i just copy pakages name from pipfile and paste in txt. its worked |
Beta Was this translation helpful? Give feedback.
main issue is this line "-i https://pypi.org/simple" and also i just copy pakages name from pipfile and paste in txt. its worked