微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

在 Heroku 中安装 pysqlcipher3 失败

如何解决在 Heroku 中安装 pysqlcipher3 失败

我正在尝试使用 pysqlcipher3 安装应用程序,但在 Heroku 中安装失败。

你知道如何解决这个问题吗?

将我的应用推送到 Heroku 时收到以下通知

Enumerating objects: 5,done.
Counting objects: 100% (5/5),done.
Delta compression using up to 4 threads
Compressing objects: 100% (3/3),done.
Writing objects: 100% (3/3),290 bytes | 290.00 KiB/s,done.
Total 3 (delta 2),reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote: 
remote: -----> Building on the Heroku-20 stack
remote: -----> Python app detected
remote:  !     Python has released a security update! Please consider upgrading to python-3.6.13
remote:        Learn More: https://devcenter.heroku.com/articles/python-runtimes
remote: -----> No change in requirements detected,installing from cache
remote: -----> Installing pip 20.1.1,setuptools 47.1.1 and wheel 0.34.2
remote: -----> Installing sqlite3
remote: -----> Installing requirements with pip
remote:        Collecting pysqlcipher3
remote:          Downloading pysqlcipher3-1.0.3.tar.gz (100 kB)
remote:        Building wheels for collected packages: pysqlcipher3
remote:          Building wheel for pysqlcipher3 (setup.py): started
remote:          Building wheel for pysqlcipher3 (setup.py): finished with status 'done'
remote:          WARNING: Legacy build of wheel for 'pysqlcipher3' created no files.
remote:          Command arguments: /app/.heroku/python/bin/python -u -c 'import sys,setuptools,tokenize; sys.argv[0] = '"'"'/tmp/pip-install-kkuyq900/pysqlcipher3/setup.py'"'"'; __file__='"'"'/tmp/pip-install-kkuyq900/pysqlcipher3/setup.py'"'"';f=getattr(tokenize,'"'"'open'"'"',open)(__file__);code=f.read().replace('"'"'\r\n'"'"','"'"'\n'"'"');f.close();exec(compile(code,__file__,'"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-0jb_b3yp
remote:          Command output: [use --verbose to show]
remote:          Running setup.py clean for pysqlcipher3
remote:        Failed to build pysqlcipher3
remote:        Installing collected packages: pysqlcipher3
remote:            Running setup.py install for pysqlcipher3: started
remote:            Running setup.py install for pysqlcipher3: finished with status 'done'
remote:        Successfully installed pysqlcipher3
remote: -----> discovering process types
remote:        procfile declares types -> web
remote: 
remote: -----> Compressing...
remote:        Done: 50.8M
remote: -----> Launching...
remote:        Released v24
remote:        App deployed to Heroku
remote: 
remote: Verifying deploy... done.

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。