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
(Windows 10) import skimage.io or skimage does not work. #2942
Comments
Please make sure you activated the environment before running your script. The problem is that the module cannot be found, i.e. is not installed in the Python that your script executes. |
@stefanv oh so sorry, forgot to mention that I do activate it. |
@mineo210 you have to check if you PYTHONPATH is correctly set when running
at the beggining of the file, and run it once again. Then check is there is |
@soupault Ok I think I got it. should I change my PYTHONPATH to this?
|
I don't get it.. it's set up right but I still get the error
|
I think this one is your Python env - You should check if the library is presented there, and, if so, try to manually remove and install again. If not, just install, of course :). |
@soupault alright I looked in
|
UPDATE: I solved it.. it was a bug in the code. |
Command "python setup.py egg_info" failed with error code 1 in C:\Users\Dell\AppData\Local\Temp\pip-install-2lot2tfu\skimage\ |
i am unable install skimage in my system |
@faoisal have you tried to use pre-build wheels from https://www.lfd.uci.edu/~gohlke/pythonlibs/#scikit-image ? |
ys i have done it but still not executing |
C:\Users\Dell\Downloads>pip install scikit-image C:\Users\Dell\Downloads>pip install scikit_image-0.13.1-cp36-cp36m-win_amd64.whl |
@faoisal Try this:
|
i have tried it is installed |
why skimage is not working |
@faoisal - I'm afraid it's very difficult to guess what problem you are having, from your description. Can you give some details about exactly what you are trying to do? For example, what happens if you do this: Start Python from the command prompt:
Then, at the Python prompt:
If that gives an error, please post it. |
i want to draw some shapes |
i am entering |
i am entering below
from skimage.draw import (line, polygon, circle,
circle_perimeter,
ellipse, ellipse_perimeter,
bezier_curve)
error comes
Traceback (most recent call last):
File "D:/python/p1.py", line 5, in <module>
from skimage.draw import (line)
File "D:\python\lib\site-packages\skimage\draw\__init__.py", line 5, in
<module>
from .draw3d import ellipsoid, ellipsoid_stats
File "D:\python\lib\site-packages\skimage\draw\draw3d.py", line 3, in
<module>
from scipy.special import (ellipkinc as ellip_F, ellipeinc as ellip_E)
ModuleNotFoundError: No module named 'scipy'
Regards
Faisal Siddique
Phd Student
Technical University of Liberec
Czech Republic
…On Wed, May 23, 2018 at 2:00 PM, Matthew Brett ***@***.***> wrote:
@faoisal <https://github.com/faoisal> - I'm afraid it's very difficult to
guess what problem you are having, from your description. Can you give some
details about exactly what you are trying to do?
For example, what happens if you do this:
Start Python from the command prompt:
python
Then, at the Python prompt:
>>> import skimage
If that gives an error, please post it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2942 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AluSnVcCIKpf9nHG1PK_JQZaOR0r1tCCks5t1U9TgaJpZM4RiQMm>
.
|
Try |
hi i am trying to resolve this equation, the problem error is can't
multiply sequence by non-int of type 'str'
commands details are
import math
force_F= 13.85
area_A=0.0014276
circumferene_C=23.0
epsilon_e=0.323
length_d=30.84
P=(["force_F",
*"2.0","3.14",*"7500.62",*"length_d"])/(["area_A"*"circumferene_C"*"epsilon_e"])
Regards
Faisal Siddique
Phd Student
Technical University of Liberec
Czech Republic
On Wed, May 23, 2018 at 2:12 PM, Matthew Brett ***@***.***> wrote:
Try pip install scipy
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2942 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AluSnX4ibhUF2tAllRVlNjGwrTI9w28_ks5t1VIWgaJpZM4RiQMm>
.
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
|
@matthew-brett I got same error I tried a lot of solutions but they did not solve my problem
Traceback (most recent call last): I tried conda and pip options |
@faoisal why do you have all the quotes and list operators around everything? Try: P=(force_F*2.0*3.14*7500.62*length_d)/(area_A*circumferene_C*epsilon_e) @ysrsy what do you mean you "tried conda and pip"? scikit-image is in conda (including the latest release), so if you have conda you should be able to "conda install scikit-image" and then:
"pyshell" is interesting — are you using a non-conda version of Python? Then conda install will not work for that version. You can have many versions of Python on a system, and when you install a package it only installs it for the "currently active" version. As an analogy, you can have multiple browsers (Firefox, Chrome) on your system, and installing an extension such as AdBlock on one does not install it for the other. |
@jni I already used idle before anaconda can it be problem ? |
@ysrsy yes. In a Windows command prompt, you can type |
Hi, |
@trungnghiatn could you provide any extra information (how you installed scikit-image, whether you are using virtualenv or not, etc)? |
Also please tell us which version of Python you are running (e.g., Python.org, Anaconda, etc.). |
what command do you use to install skimage in anaconda? i cant find a conda install command for that |
Conda install scikit-image |
this works for me |
When I was using scikit-image==0.16.2 and I tried to use If that doesn't work, try doing The most up to date version was |
@ChristopherRSettles could you share an error message with us? |
@soupault I updated the response. |
Hi |
The original issue and discussion date back to 2018. Please open a new issue and provide us with the image you are trying to open. |
I'm using Anaconda Prompt.
using the latest version of scikit-image:
and heres the full error I get:
The text was updated successfully, but these errors were encountered: