Open sonyahanson opened 7 years ago
Did you rebuild your project first? The --uselocal
flag uses whatever cached build you had in your conda directory.
I think you mean have to conda clean
first:
conda clean -pltis --yes
conda build devtools/conda-recipe
conda install --yes --use-local msmpipeline
This did not fix the problem. Notice that pyemma is actively downgraded by conda install --yes --use-local msmpipeline
, which is strange based on what --use-local
is supposed to do.
Can you give the exact sequence of commands you used?
On my laptop, this sequence of commands results in the latest pyemma
(2.2.6)
conda clean -pltis --yes
conda build devtools/conda-recipe
conda install --yes --use-local msmpipeline
here's the last bit of output:
[LSKI1497:choderalab/msm-pipeline/msm-pipeline.choderalab] choderaj% conda install --yes --use-local msmpipeline
Fetching package metadata ...............
Solving package specifications: ..........
Package plan for installation in environment /Users/choderaj/miniconda:
The following NEW packages will be INSTALLED:
msmpipeline: 0.0.1-py27_0 local
progress_reporter: 1.2-py_1 omnia
pyemma: 2.2.6-np111py27_0 omnia
Linking packages ...
[ COMPLETE ]|##################################################################################################################################################################| 100%
Checking the version:
[LSKI1497:choderalab/msm-pipeline/msm-pipeline.choderalab] choderaj% conda list | grep pyemma
pyemma 2.2.6 np111py27_0 omnia
Are you sure you haven't still got something installed via pip
after the conda clean -pltis --yes
? If not, maybe try reinstalling miniconda
?
Ah, I've got it. omnia
is no longer building for numpy 1.9
. Since you have numpy 1.9
installed, and because the conda recipe for msmpipeline
doesn't require a specific version of pyemma
(which means any version is fine), you're not getting the latest pyemma
.
@maxentile : Do we need a specific minimum version of pyemma
? If so, we should enforce this as a constraint in the conda recipe.
I had numpy 1.10
installed and it downgraded it to numpy 1.9
.
Sorry for my delayed response! I'm not sure of a minimum version of pyemma
to require. Can we just pin to the most recent release now, pyemma>=2.2.5
?
Also not urgent.
My pyemma downgraded when using
conda install --yes --use-local msmpipeline
, which resulted in the return of an error I had been getting months ago before upgrading pyemma:AttributeError: 'NoneType' object has no attribute 'xyz'
It's not clear to me why this would happen or why it wouldn't disrupt the travis build?
Everything works fine when I do
conda install pyemma=2.2.2
.