-
Notifications
You must be signed in to change notification settings - Fork 13
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
pytiff fails to install on Windows #15
Comments
I also tried to install pytiff on a newly installed Ubuntu 19.04 (Disco) - by means of pip. I used both Python 2.7.16 and Python 3.7.3. What is remarkable is that in both cases I got the same error, as under Windows: |
hmm, the
Not too sure on windows, but this sourceforge page may shed some light on how to include edit: said sourceforge link: http://gnuwin32.sourceforge.net/packages/tiff.htm |
hm there should be a wheel for python 3.6 32 bit. You could try downloading the wheel directly and installing it.
For python 3.7 only a 64 bit version is available currently. |
Yes, it works now under Ubuntu! On Windows, I installed pytiff again into my Python 3.6 32-bits version using that wheel, but when I import pytiff, python tells me that the Cython modules are not available. That is pytiff issue #12 which was solved for Python 3.7 - but not for Python 3.6 - and that was why I switched to Python 3.7. Unfortunately I switched to the 32-bits version, not the 64-bits version. |
I switched to 64-bits Python 3.7 and installed numpy and Cython before proceeding with the installation of the wheel provided here: https://pypi.org/project/pytiff/#files. Unfortunately, I got the same error message again: "Cython modules not available". When I installed pytiff with "pip install pytiff", the installation went well but I got the same error message also: "Cython modules not available". |
I'll try to take a look at this on the weekend. 64-bits Python 3.7 Anaconda is working for me. With python from python.org it isn't. Since I don't develop on Windows, I don't know if and when I'll be able to fix this. |
I have a windows non dev machine. I can take a look this weekend :D |
Am I understanding correctly that we investigating using pytiff on windows with python 3.7? |
Hmm, at least I can confirm that Logs:
edit: log for clarity |
@pglock I just checked the repo, Cython module not available is raised when there happen to be an import error. Could it be raised when other dep, such as numpy or libtiff that are missing? |
Seems like thats the case. I installed pytiff for Python 3.7 64 bit (pure python not anaconda) and got
After installing numpy it works. Is this working for you as well? |
Hmm, one final piece of observation, with miniconda cmd, after As the windows wheels are built with miniconda on appveyor, this may not be surprising. I do not know how much appetite there is introducing an additional entry in the matrix |
I have had the same problem and I was able to resolve by downloading/installing the I only tested it on a Windows 10 machine. |
This issue is related to the one entitled "Missing dependency: Cython", which was closed. I'm very happy to hear about pytiff! It is exactly what I have been looking for, already for some time. At first I installed pytiff as part of my Python 3.6.5 instance (32-bits). When I tried to run it, I got the error "Cython modules not available". Because I read that this problem had been fixed for Python 3.7, I decided to do a fresh install of Python 3.7.4. After installing, I even upgraded pip. Unfortunately, I have to conclude that the issue has not yet been resolved fully. I'm attaching the error messages. I hope this can be resolved, so that I can use pytiff without hesitations as one of the required packages in a package I'm developing myself.
pytiff_issue.txt
The text was updated successfully, but these errors were encountered: