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
Line 399: Error message: "module 'bson' has no attribute 'BSON'" #547
Comments
Update (Solution): The sequence of imports below worked for getting bson a moment ago pip install bson (Solution is similar to what was referenced in maxpumperla/hyperas#23) |
I have the same problem (see below). Although there seems to be a workaround: can someone please fix this?
|
I am still having the issue when I type the code:
I run on version hyperopt 0.2.1 from pypi, last released 2 days ago, which corresponds with the merge above. This is run inside a jupyter notebook locally on my machine (not sagemaker). Has the fix been deployed @palicand ? |
@rugg2 As far as I can tell, it has not |
@palicand thanks for pinging me. I'll do another minor release for this in a bit. |
@palicand and others, I didn't explicitly mention it here, but |
In
Not sure...if it is fixed! |
I tried both in my mac and an AWS Ubuntu instance, both using a fresh conda env with python3.6. In both places after doing the
I could open a python terminal and run |
is this not a blocker anymore then @maxpumperla ? |
@marctorrellas thanks, seems good after all. |
just installed 0.2.3 from pip having the same problem. However:
solved the problem. |
not sure those |
Hi all,
I am working on a machine learning project, and using the Hyperas package to tune my model. Hyperas uses two functions to setup a tuning job: a data function, and model function. So far I've had some issues with them talking to each other during the encoding stage of building the model because the bson.BSON object called in hyperopt/base.py does not exist.
I ended up checking out the bson code found here: https://github.com/py-bson/bson, and the bson.BSON object does not exist there either. Is there a different bson distribution or package that I should be using?
Notes:
Thanks!
The text was updated successfully, but these errors were encountered: