Skip to content
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

Python3 build #14

Closed
nerdcha opened this issue Jun 10, 2015 · 4 comments
Closed

Python3 build #14

nerdcha opened this issue Jun 10, 2015 · 4 comments

Comments

@nerdcha
Copy link

nerdcha commented Jun 10, 2015

Howdy! OpenDeep looks great and I'm keen to get it working on Kaggle Scripts. I had a go at building it in our Python Docker container, but hit a string/bytes error in the setup script:

File "setup.py", line 49, in <module>
  long_description=read('README.rst'),
File "setup.py", line 28, in read
  return sep.join(buf)
TypeError: sequence item 0: expected str instance, bytes found

Tried a few hacky workarounds, but couldn't get it to land. Is this a Python3 issue? Any ideas on how to fix it?

@ppwwyyxx
Copy link

I don't think python3 is supported, considering the underlying libraries like Theano.
Maybe you should try python2.

@nerdcha
Copy link
Author

nerdcha commented Jun 10, 2015

Yeah, thanks, but no. We already have Theano, Keras and Lasagne fully operational, so I don't think that's it.

@mbeissinger
Copy link
Collaborator

I'll look into this, thanks for the heads up!
On Jun 9, 2015 8:51 PM, "Jamie Hall" notifications@github.com wrote:

Yeah, thanks, but no. We already have Theano, Keras and Lasagne fully
operational, so I don't think that's it.


Reply to this email directly or view it on GitHub
#14 (comment)
.

mbeissinger added a commit that referenced this issue Jun 15, 2015
File "setup.py", line 49, in <module>
  long_description=read('README.rst'),
File "setup.py", line 28, in read
  return sep.join(buf)
TypeError: sequence item 0: expected str instance, bytes found
@mbeissinger
Copy link
Collaborator

Was able to look into it and fix today - had to do with opening files with binary mode in Python 3. It works now in Python 3.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants