Skip to content
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

Error while installation #40

Open
pradeep882006 opened this issue May 20, 2022 · 3 comments
Open

Error while installation #40

pradeep882006 opened this issue May 20, 2022 · 3 comments

Comments

@pradeep882006
Copy link

Hi,
I've been trying to install image_registration after a fresh installation of python (Anaconda distribution). It's been throwing up multiple errors. Surprisingly, I was able to do a fresh install on linux without any issues. Copying below the error that I'm getting:

WARNING: Discarding https://files.pythonhosted.org/packages/43/5d/b9f8cf74b11fe0fb9396ec97a902a0b3afc95ea16c2cf9a938c46d55710a/image_registration-0.2.3.tar.gz#sha256=473b298c72db127d861e3d7e91d369abb7a28b2ffbe04f827650247e6cf481d9 (from https://pypi.org/simple/image-registration/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached image_registration-0.2.2.tar.gz (54 kB)
ERROR: Command errored out with exit status 1:
command: 'E:\Users\Prad\anaconda3\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Loparo Lab\AppData\Local\Temp\pip-install-d2ibose6\image-registration_6b52601e64ed40a1a4ff634ff6f9ca61\setup.py'"'"'; file='"'"'C:\Users\Loparo Lab\AppData\Local\Temp\pip-install-d2ibose6\image-registration_6b52601e64ed40a1a4ff634ff6f9ca61\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Loparo Lab\AppData\Local\Temp\pip-pip-egg-info-rvpo5nw3'
cwd: C:\Users\Loparo Lab\AppData\Local\Temp\pip-install-d2ibose6\image-registration_6b52601e64ed40a1a4ff634ff6f9ca61
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Loparo Lab\AppData\Local\Temp\pip-install-d2ibose6\image-registration_6b52601e64ed40a1a4ff634ff6f9ca61\setup.py", line 8, in
import ah_bootstrap
ModuleNotFoundError: No module named 'ah_bootstrap'

I've also tried installing using setup.py after downloading the github repo, without any luck. Any suggestions to resolve this will be greatly appreciated. Thanks.

Best,
Pradeep

@keflavich
Copy link
Owner

how did you try to install this? ah_bootstrap is not imported in the current version of setup.py

@pradeep882006
Copy link
Author

It was a regular pip install image_registration.

Thanks.

@keflavich
Copy link
Owner

try using pip install --upgrade image_registration. You're using an old cached version, 0.2.2. You should be using 0.2.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants