Closed jolespin closed 6 years ago
pip uninstall scikit-optimize
pip install git+https://github.com/scikit-optimize/scikit-optimize/
This solved my problem. There must have been a non-fatal error during installation that I didn't catch.
What's solution in conda ??
I use conda so all of that is in a virtual environment. I don’t think there is a conda packed version anyways. You can use both pip and conda .
I mean I would not like to use pip to solve this problem while I use only conda, so I prefer need some conda command to help to fix this problem.
Anyway, I fixed it already by just downloading zip from git, unzip it, then copy only skopt folder replace anaconda3/lib/python3.6/site-packages/skopt (which is from conda install -c conda-forge scikit-optimize)
Nice. Good to know! I might need to use something like that in the future.
I am seeing the same issue. I think this should be re-opened as using a standard pip install scikit-optimize
should work.
Also seeing this in pipenv and agree a standard install would ideally be supported.
@jolespin There was definitely no error during my installation. I tried with both conda
and pip
. In both cases the reported version was 0.5.2 and in both cases I got the error
AttributeError: module 'skopt.callbacks' has no attribute 'CheckpointSaver'
Installing directly from GitHub solved the problem. How come this is still an issue nearly a year later?
Did you try this installation?
pip install git+https://github.com/scikit-optimize/scikit-optimize/
If not, try to completely remove it from your sitepackages and then try again. That's what worked for me.
@jolespin Yes, like I said installing directly from GitHub with which I meant pip install git+https://github.com/scikit-optimize/scikit-optimize
solved the problem for me too. Thanks for that advice.
Am I loading this incorrectly? It dumped without error but I'm not able to retrieve the results.