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
Got "TypeError: 'generator' object is not subscriptable" on my Ubuntu machine #325
Comments
Find a quick fix. I noticed that I have networkx-2.0 version on ubuntu and networkx-1.11 on mac so I just downgrade it on ubuntu and it starts working. |
Thanks @Michael89 for your quick fix! I confirm that networkx-2.0 is the culprit of the error and downgrading to version 1.11 does the trick. |
Thanks for this. For anyone wondering how to downgrade:
|
Seems this is still an issue |
This was fixed in #319 but you'll either have to run with the code from the repository or wait for the next release. |
Do |
Hi guys! Just did 'pip install --upgrade git+git://github.com/hyperopt/hyperopt.git', downgraded networkx but nothing helps... Thanks in advance for any clues. |
Don't really see how this would be possible since |
Excuse me please and thank you for prompt reply.
I already restarted iPython notebook and everything is fine.
Cheers,
Alexey
пятница, 15 июня 2018 г. пользователь Michael Mior написал:
… Don't really see how this would be possible since order is explicitly
converted to a list. Can you check that hyperopt/pyll/base.py in your
hyperopt installation matches what's in master?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#325 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABaOSWJMxIJiTRfdsyLjygUFn1b_qDnAks5t87fugaJpZM4PeaCW>
.
|
Wondering what's blocking creating a new release. Having unpinned versions isn't healthy or easy to maintain as general creating a new release is rather easy. |
I don't have permissions to publish a new release myself, but you can pin your version to a specific git commit. Agreed that a released version would still be great though. |
I can do a release next week |
Have anyone gotten to solve it yet please? I got a similar error 'int' object is not subscriptable. I'm having a hard time trying to figure it out |
@nqnhu1 Try using the version of hyperopt on the master branch. |
Hi I'm trining to use your grate lib for tuning hyperparameters for my NN, but for some reason I got this error:
Everything work nice when I tried it on my mac book but when I start it on my desktop (which I build for NN training) I got this error and don't know what to do.
Python 3.5.2
Linux michael-ubuntu 4.10.0-33-generic #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:2
The text was updated successfully, but these errors were encountered: