You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/10/19 18:46:57 UTC

[GitHub] dailyworker opened a new issue #27: it doesn't work with python3??

dailyworker opened a new issue #27: it doesn't work with python3??
URL: https://github.com/apache/incubator-openwhisk-tutorial/issues/27
 
 
   ## Environment details:
   * local deployment, Mac OS 10.14 (Mojave)
   * Docker version 18.06.1-ce
      Docker-compose version 1.22.0
      Using pyenv 1.2.7 & pyenv python 3.6.5
   
   I took a git clone of the report to use the OpenWisk-Tutorial and then ran the "pip install -r requirements.txt" 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 <module>
       _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](url)
   
   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?
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services