Skip to content

Instantly share code, notes, and snippets.

@silenius
Last active February 12, 2021 16:03
Show Gist options
  • Save silenius/a5fde11ba4a354e97b081bcdb9d0e4c5 to your computer and use it in GitHub Desktop.
Save silenius/a5fde11ba4a354e97b081bcdb9d0e4c5 to your computer and use it in GitHub Desktop.
julien@x1:~/ > python3.7 -m venv ckan
julien@x1:~/ > source ckan/bin/activate
(ckan) julien@x1:~/ > python --version
Python 3.7.9
(ckan) julien@x1:~/ > pip install setuptools==44.1.0
Collecting setuptools==44.1.0
Downloading setuptools-44.1.0-py2.py3-none-any.whl (583 kB)
|████████████████████████████████| 583 kB 7.0 MB/s
Installing collected packages: setuptools
Attempting uninstall: setuptools
Found existing installation: setuptools 47.1.0
Uninstalling setuptools-47.1.0:
Successfully uninstalled setuptools-47.1.0
Successfully installed setuptools-44.1.0
WARNING: You are using pip version 20.1.1; however, version 21.0.1 is available.
You should consider upgrading via the '/usr/home/julien/ckan/bin/python3.7 -m pip install --upgrade pip' command.
(ckan) julien@x1:~/ > pip install -U pip
Collecting pip
Downloading pip-21.0.1-py3-none-any.whl (1.5 MB)
|████████████████████████████████| 1.5 MB 6.8 MB/s
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 20.1.1
Uninstalling pip-20.1.1:
Successfully uninstalled pip-20.1.1
Successfully installed pip-21.0.1
(ckan) julien@x1:~/ > pip install -e 'git+https://github.com/ckan/ckan.git#egg=ckan[requirements,dev]'
Obtaining ckan[dev,requirements] from git+https://github.com/ckan/ckan.git#egg=ckan[requirements,dev]
Cloning https://github.com/ckan/ckan.git to ./ckan/src/ckan
Running command git clone -q https://github.com/ckan/ckan.git /usr/home/julien/ckan/src/ckan
(...)
Running setup.py develop for ckan
Running setup.py install for beaker ... done
Successfully installed Blinker-1.4 Faker-6.1.1 Flask-DebugToolbar-0.11.0 Pygments-2.7.4 Sphinx-1.8.5 alabaster-0.7.12 alembic-1.0.0 arrow-0.17.0 atomicwrites-1.4.0 attrs-20.3.0 babel-2.7.0 backcall-0.2.0 beaker-1.11.0 beautifulsoup4-4.9.1 binaryornot-0.4.4 bleach-3.3.0 certifi-2020.6.20 chardet-3.0.4 ckan click-7.1.2 cookiecutter-1.7.0 coverage-5.4 coveralls-3.0.0 decorator-4.4.2 docopt-0.6.2 docutils-0.12 dominate-2.4.0 factory-boy-2.12.0 fanstatic-1.1 feedgen-0.9.0 flask-1.1.1 flask-babel-1.0.0 flask-multistatic-1.0 freezegun-0.3.15 future-0.18.2 idna-2.10 imagesize-1.2.0 importlib-metadata-3.4.0 incremental-17.5.0 ipdb-0.13.2 ipython-7.20.0 ipython-genutils-0.2.0 itsdangerous-1.1.0 jedi-0.18.0 jinja2-2.10.1 jinja2-time-0.2.0 lxml-4.6.2 mako-1.1.3 markdown-2.6.7 markupsafe-1.1.1 mock-2.0.0 more-itertools-8.7.0 nose-1.3.7 packaging-20.9 parso-0.8.1 passlib-1.7.3 pathtools-0.1.2 pbr-5.5.1 pexpect-4.8.0 pickleshare-0.7.5 pip-tools-5.1.2 pluggy-0.13.1 polib-1.0.7 poyo-0.5.0 prompt-toolkit-3.0.16 psycopg2-2.8.2 ptyprocess-0.7.0 py-1.10.0 pycodestyle-2.5.0 pyfakefs-3.2 pyjwt-1.7.1 pyparsing-2.4.7 pysolr-3.6.0 pytest-4.6.5 pytest-cov-2.7.1 pytest-freezegun-0.4.1 pytest-rerunfailures-8.0 pytest-split-tests-1.0.9 python-dateutil-2.8.1 python-editor-1.0.4 python-magic-0.4.15 pytz-2016.7 pyutilib-5.7.1 pyyaml-5.3.1 redis-3.5.3 repoze.lru-0.7 repoze.who-2.3 requests-2.24.0 responses-0.10.14 routes-1.13 rq-1.0 shutilwhich-1.1.0 simplejson-3.10.0 six-1.15.0 snowballstemmer-2.1.0 soupsieve-2.2 sphinx-rtd-theme-0.4.3 sphinxcontrib-serializinghtml-1.1.4 sphinxcontrib-websupport-1.2.4 sqlalchemy-1.3.5 sqlalchemy-migrate-0.12.0 sqlparse-0.3.0 tempita-0.5.2 text-unidecode-1.3 toml-0.10.2 towncrier-19.2.0 traitlets-5.0.5 typing-extensions-3.7.4.3 tzlocal-1.3 unicodecsv-0.14.1 urllib3-1.25.11 watchdog-0.10.3 wcwidth-0.2.5 webassets-0.12.1 webencodings-0.5.1 webob-1.8.6 werkzeug-1.0.0 whichcraft-0.6.1 zipp-3.4.0 zope.interface-4.7.2
(ckan) julien@x1:~/ > ckan
ERROR: You need to specify the CKAN config (.ini) file path.
Use the --config parameter or set environment variable CKAN_INI
or have one of ckan.ini, development.ini in the current directory.
Aborted!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment