Errors after installation

asked 2015-12-23 08:46:46 -0600

321gpb gravatar image

I am attempting to install SimpleCV1.3 on Windows 10. The installation process itself seemed to go well, at least after I removed Python(x,y) from my machine (conflicting pointers, apparently). After installation, I ran the "hello world" example from the book with no problem. However, the problems began when I tried to run the SimpleCV console. First of all, no shortcut was installed on the Desktop. When I tried to import and run the shell from within IDLE, I got the following error:

>>> from SimpleCV import Shell

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    from SimpleCV import Shell
  File "C:\Python27\lib\site-packages\SimpleCV\Shell\__init__.py", line 1, in <module>
    from Shell import *
  File "C:\Python27\lib\site-packages\SimpleCV\Shell\Shell.py", line 54, in <module>
    raise(e)
ImportError: No module named IPython
>>>

When I tried to run Python from the Windows console:

C:\User> python -m SimpleCV.__init__

I got

ERROR:
Traceback (most recent call last):
  File "C:\Python27\lib\runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "C:\Python27\lib\runpy.py", line 72, in _run_code
    exec code in run_globals
  File "C:\Python27\lib\site-packages\SimpleCV\__init__.py", line 18 in <module>
    from SimpleCV.Shell import *
  File "C:\Python27\;ib\site-packages\SimpleCV\Shell\__init__.py", line 1, in <module>
    from Shell import *
  File "C:\Python27\lib\site-packages\SimpleCV\Shell\Shell.py", line 54, in <module>
    raise(e)
ImportError:  No module named IPython

Next I tried the listed alternative: just starting python, then importing and executing the shell:

>>> from SimpleCV import Shell

This resulted in the same error as above.

So, which environment variable did not get set correctly at installation? One other little bit of information: pip no longer seems to work either. Apparently, setuputils didn't get run correctly, either.

--- 23 Dec 2015 Would add this as comment, but it's too long. Chipping away at the problem. Did a reinstall for Superpack. This time, I read the banner on setuputils install: I ran Python27\Scripts\easy_install.exe. That fixed the problem of not being able to call pip. Can now call pip. However, when I try to use pip to install ipython:

C:\Users> pip install ipython

I get this error:

C:\Python27\lib\site--packages\pip-7.1.2-py2.7.egg\pip\_vendor\requests\packages\urllib3\util\ssl_.py:90:  InsecurePlatformWarning:  A true SSLContext object is not available.  This prevents urllib3 from configuring SSL appropriately and may cuase certain SSL connections to fail.  For more information, see...

So, I'm making progress. Any suggestions?

edit retag flag offensive close merge delete