-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ModuleNotFoundError: No module named 'ckanext.spatial' on extension installation #333
Comments
I have the same problem :( |
can somebody help. It is very urgent issue. |
i have same problems also, damn |
fatal: [staging_01]: FAILED! => changed=false cmd: - /usr/lib/ckan/default/bin/pip3 - install - -e - git+https://github.com/ckan/[email protected]#egg=ckanext-spatial msg: |- stdout: Obtaining ckanext-spatial from git+https://github.com/ckan/[email protected]#egg=ckanext-spatial Cloning https://github.com/ckan/ckanext-spatial.git (to revision v2.1.1) to /usr/lib/ckan/default/src/ckanext-spatial Resolved https://github.com/ckan/ckanext-spatial.git to commit 9383084 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'error' :stderr: Running command git clone --filter=blob:none --quiet https://github.com/ckan/ckanext-spatial.git /usr/lib/ckan/default/src/ckanext-spatial Running command git checkout -q 9383084 Running command git submodule update --init --recursive -q error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [6 lines of output] Traceback (most recent call last): File "<string>", line 2, in <module> File "<pip-setuptools-caller>", line 34, in <module> File "/usr/lib/ckan/default/src/ckanext-spatial/setup.py", line 2, in <module> from ckanext.spatial import __version__ ModuleNotFoundError: No module named 'ckanext.spatial' [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details. ckan#333
This is probably related to a change in |
We use CKAN 2.10.1 |
@gatiszeiris try to install the latest version of the |
Try to install ckanext-spatial extension I always get the same error. Python version 3.8. Ckan version 2.10.1
Also try install from master branch the same error.
(default) [ckan-user@ckan2-10 src]$ pip install -e "git+https://github.com/ckan/[email protected]#egg=ckanext-spatial"
WARNING: Ignoring invalid distribution -kanext-latvian-theme-v2 (/usr/lib/ckan/default/lib/python3.8/site-packages)
Obtaining ckanext-spatial from git+https://github.com/ckan/[email protected]#egg=ckanext-spatial
Cloning https://github.com/ckan/ckanext-spatial.git (to revision v2.1.1) to ./ckanext-spatial
Running command git clone --filter=blob:none --quiet https://github.com/ckan/ckanext-spatial.git /usr/lib/ckan/default/src/ckanext-spatial
Running command git checkout -q 9383084
Resolved https://github.com/ckan/ckanext-spatial.git to commit 9383084
Running command git submodule update --init --recursive -q
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... error
error: subprocess-exited-with-error
× Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> [19 lines of output]
Traceback (most recent call last):
File "/usr/lib/ckan/default/lib64/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
File "/usr/lib/ckan/default/lib64/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/usr/lib/ckan/default/lib64/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 132, in get_requires_for_build_editable
return hook(config_settings)
File "/tmp/pip-build-env-0aq07msc/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 458, in get_requires_for_build_editable
return self.get_requires_for_build_wheel(config_settings)
File "/tmp/pip-build-env-0aq07msc/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 327, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
File "/tmp/pip-build-env-0aq07msc/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 297, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-0aq07msc/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 497, in run_setup
super().run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-0aq07msc/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 313, in run_setup
exec(code, locals())
File "", line 2, in
ModuleNotFoundError: No module named 'ckanext.spatial'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
The text was updated successfully, but these errors were encountered: