python - 在 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.
解决方案
推荐阅读
- mysql - 是否可以在 mysql 的列中使用数学函数?
- listview - 在 Flutter 的 3000 个项目列表中更改项目的状态
- google-cloud-firestore - Firestore 数据库规则 获取文档
- javascript - slideUp/slideDown 滑动两个(全部)子菜单
- javascript - Lodash 查找对象数组
- sass - 如何从变量创建 SASS 映射?
- solr - 在 Apache Solr 中,有没有办法确定核心是否有任何未提交/暂存的更改?
- go - 传递引用不更新字节数组
- java - spring-boot 项目中过时和最新的依赖项冲突
- arrays - 在 TypeScript 中创建具有多个属性的数组时删除重复项