apache / openwhisk-tutorial

[DEPRECATED] - An interactive learning environment for the Apache OpenWhisk command line
Apache License 2.0
24 stars 13 forks source link

it doesn't work with python3?? #27

Closed brewagebear closed 5 years ago

brewagebear commented 6 years ago

Environment details:

I took a git clone of the report to use the OpenWisk-Tutorial and then ran the "pip install -r requirements.txt" and "python manage.py runserver localhost:8080" as shown on README.md but error was shown below

from unipath.abstractpath import AbstractPath File "/Users/dailyworker/.pyenv/versions/3.6.5/Python.framework/Versions/3.6/lib/python3.6/site-packages/unipath/abstractpath.py", line 20, in _base = os.path.supports_unicode_filenames and unicode or str NameError: name 'unicode' is not defined

and then, I've identified a stack overflow answer to a similar error to mine. https://stackoverflow.com/a/36110612

So I solved this problem by changing the Python version of the toturial-folder to 2.7.15 using pyenv. Don't you have any plans to apply for Python 3 on this tutorial?

dgrove-oss commented 5 years ago

Closing as project is being archived.