Open whelks-chance opened 6 years ago
When I run the following command: python3 datapusher/main.py deployment/datapusher_settings.py
The following error occurred:
Traceback (most recent call last):
File "datapusher/main.py", line 3, in
Using: Python 3.8 Flask==3.0.0
Hi @hongjie123,
I getting the same error. Are there any solutions?
Thanks in advance.
@eemirtekin @hongjie123 ckanserviceprovider
and CKAN 2.10.3 cannot be run with Flask 3.0.
Flask 3.0 will be supported on the next release of CKAN.
Hello, Ali,
I followed the steps below of CKAN 2.10.3.
https://docs.ckan.org/en/2.10/maintaining/installing/install-from-package.html
According to this page, it is shared that we can install CKAN 2.10.3 on Ubuntu 20.04.
Python 3.8.x version is installed on Ubuntu 20.04.
In what environment can I successfully configure CKAN? How can I downgrade Flask? Which version should I use?
I just performed the same installation on clean Ubuntu 22.04, and I got the same error again.
Thank you very much for your reply.
Emrah
The standard install from GitHub currently installs the latest version of Flask, currently 1.0.2
This results in the error message
as due to deprecation in how Flask deals with extensions, this is no longer functional. More info at:
http://flask.pocoo.org/docs/0.12/upgrading/#extension-imports
To solve this, you need Flask maximum version 0.12, achieved by: