Comments (9)
Hello, I am receiving a similar issue after installing MSMBuilder 3.8.0 from conda install -c omnia msmbuilder
and trying to import msmbuilder.cluster into my code with from msmbuilder import cluster
. I believe sklearn.grid_search
has been removed in favor of sklearn.model_selection
, and I think this is causing the error. I'm not entirely certain though.
from msmbuilder.
Same thing here. Should be an easy fix just changing the import, might try to do it myself. I've heard from the old maintainers that no one is maintaining the project anymore.
from msmbuilder.
Actually, this is addressed in the code, its just not in the build. https://github.com/msmbuilder/msmbuilder/blob/master/msmbuilder/utils/param_sweep.py#L3
They would need to do a new release and publish to PyPI. I tried installing directly from the source tree:
pip install git+https://github.com/msmbuilder/msmbuilder.git
But I get all kinds of compiler errors...
Here is the full listing of commands I run to do this in a fresh env:
env_name="msmbuilder-dev"
conda deactivate
conda create -y -n "$env_name" python=3
conda activate "$env_name"
# build dependencies
conda install -y -c conda-forge cython=0.27.3 numpy mdtraj=1.8
# runtime dependencies
conda install -y -c conda-forge scipy scikit-learn numpydoc pytables pyhmc pyyaml jinja2 fastcluster
pip install git+https://github.com/msmbuilder/msmbuilder.git
And the full output with extra info in the fancy shell prompt:
$ gcc --version
gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
from msmbuilder.
I am able to build on my machine if I use the 3.8.0 commit tag:
pip install git+https://github.com/msmbuilder/[email protected]
But the fix happened recently: 8c901a3
My fork resets back to 3.8.0 so I can build it and then makes the necessary fixes (for me to run KCenters at least, I haven't run the tests): https://github.com/salotz/msmbuilder
from msmbuilder.
is there a issue open for the build failure? it looks like it might be a issue related to a newer version of cython.
from msmbuilder.
I don't know if I am building properly as I wasn't able to find a comprehensive guide, just wanted to share my workaround give as much info as I had so I didn't want to raise that as an issue. I just installed the packages from conda-forge as they are specified in the up to date meta.yaml file which uses an older cython 0.27.3 https://github.com/msmbuilder/msmbuilder/blob/master/devtools/conda-recipe/meta.yaml#L19 so I don't think it is that.
from msmbuilder.
@salotz: with cython==0.24, I get errors like that when running pip install git+https://github.com/msmbuilder/msmbuilder.git
, but after doing a pip install Cython==0.28 -U -I
, the msmbuilder installation from git+https:// works.
from msmbuilder.
Works for me now too. I installed with the latest cython from conda-forge (0.29.13). Should've tried that first. Thanks @rmcgibbo.
from msmbuilder.
I don't know if I am building properly as I wasn't able to find a comprehensive guide, just wanted to share my workaround give as much info as I had so I didn't want to raise that as an issue. I just installed the packages from conda-forge as they are specified in the up to date meta.yaml file which uses an older cython 0.27.3 https://github.com/msmbuilder/msmbuilder/blob/master/devtools/conda-recipe/meta.yaml#L19 so I don't think it is that.
I am trying to compute Implied time scale but I have this error
/misc/home/marzouk/anaconda3/envs/msmbuilder/lib/python3.6/site-packages/sklearn/externals/joblib/init.py:15: DeprecationWarning: sklearn.externals.joblib is deprecated in 0.21 and will be removed in 0.23. Please import this functionality directly from joblib, which can be installed with: pip install joblib. If this warning is raised when loading pickled models, you may need to re-serialize those models with scikit-learn 0.21+.
warnings.warn(msg, category=DeprecationWarning)
An unexpected error has occurred with MSMBuilder (version 3.8.0), please
consider sending the following traceback to MSMBuilder GitHub issue tracker at:
https://github.com/msmbuilder/msmbuilder/issues
Traceback (most recent call last):
File "/misc/home/marzouk/anaconda3/envs/msmbuilder/bin/msmb", line 6, in
sys.exit(msmbuilder.scripts.msmb.main())
File "/misc/home/marzouk/anaconda3/envs/msmbuilder/lib/python3.6/site-packages/msmbuilder/scripts/msmb.py", line 28, in main
app.start()
File "/misc/home/marzouk/anaconda3/envs/msmbuilder/lib/python3.6/site-packages/msmbuilder/cmdline.py", line 464, in start
instance.start()
File "/misc/home/marzouk/anaconda3/envs/msmbuilder/lib/python3.6/site-packages/msmbuilder/commands/implied_timescales.py", line 101, in start
verbose=self.args.verbose)
File "/misc/home/marzouk/anaconda3/envs/msmbuilder/lib/python3.6/site-packages/msmbuilder/msm/implied_timescales.py", line 48, in implied_timescales
verbose=verbose)
File "/misc/home/marzouk/anaconda3/envs/msmbuilder/lib/python3.6/site-packages/msmbuilder/utils/param_sweep.py", line 37, in param_sweep
param_grid = ParameterGrid(param_grid)
NameError: name 'ParameterGrid' is not defined
from msmbuilder.
Related Issues (20)
- NameError: name 'tica_trajs' is not defined
- An unexpected error has occurred with MSMBuilder (version 3.7.0)
- RuntimeError with featurize.py in tutorial
- Multiple `Error compiling Cython file` with 3.8.0 HOT 2
- New release/build? HOT 1
- Fspeptide example in "http://msmbuilder.org/development/examples/index.html" why is the timescale different for fspeptide (in RAM) and fspeptide(using dataset)
- Sampling conformations from microstates
- how to create "meta.pandas.pickl" file HOT 1
- Key Error `run` trying to use Numbered Runs Parser
- [Question] sample_discrete algorithm
- Key error: 'run' when run in Python notebook.
- Issue with module import from scikit-learn HOT 1
- Using msmbuilder dataset for .h5 files
- During run the tICA vs. PCA example, I found that I need this library but I couldn't get by Conda or pip
- simtk module problem
- clustering for my data
- change readme HOT 3
- Website down? HOT 1
- Getting the mapping for a HMM HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msmbuilder.