lllyasviel / style2paints

sketch + style = paints :art: (TOG2018/SIGGRAPH2018ASIA)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows Bash

rocketinventor opened this issue · comments

Hi, I was following the instructions on the Readme to get the server running (on Windows Bash). When I tried running python server.py I just got the following error...
All Python packages are up to date.

Traceback (most recent call last):
  File "server.py", line 14, in <module>
    import cv2
  File "/home/ResT_n/.local/lib/python2.7/site-packages/gevent/builtins.py", line 93, in __import__
    result = _import(*args, **kwargs)
  File "/home/ResT_n/.local/lib/python2.7/site-packages/cv2/__init__.py", line 9, in <module>
    from .cv2 import *
  File "/home/ResT_n/.local/lib/python2.7/site-packages/gevent/builtins.py", line 93, in __import__
    result = _import(*args, **kwargs)
ImportError: libSM.so.6: cannot open shared object file: No such file or directory
commented

you need a python 3 environment.

I tried using python3 server.py to get a Python 3 environment.

I got different errors this time...

Traceback (most recent call last):
  File "server.py", line 8, in <module>
    from gevent import monkey; monkey.patch_all()
ImportError: No module named 'gevent'
commented

you have to install bottle and gevent under python3.
or if you are not familiar with python. you can uninstall your current version and download the latest version again.