inbo / niche_vlaanderen

Python package to run the NICHE Vlaanderen model
https://inbo.github.io/niche_vlaanderen/
MIT License
5 stars 2 forks source link

Niche versions #96

Closed cecileherr closed 6 years ago

cecileherr commented 6 years ago

Niche Python Package question

If I type "niche --version" in the Anaconda prompt I get version 1.0a8, if I first type "activate niche" and then "niche --version", I get 1.0b1. This is quite confusing.

I installed 1.0a11 from the yml file today and then 1.0b1 manually (with pip). I got no error message.

When i try to run a model in Jupyter, it seems it is still version 1.0a8

Niche Vlaanderen version: 1.0a8 Run at: 2018-02-28 11:20:37.267201

johanvdw commented 6 years ago

@cecileherr My error - I forgot to update the yml

You still have an old version of niche installed outside the environment. If you start jupyter from the menu, this will use that old version. If you first activate the environment and start jupyter from there jupyter notebook it should use the new niche version.

cecileherr commented 6 years ago

OK, thanks! If I start jupyter from the prompt after having activated niche, I indeed use the new version (and I get errors, more issues to come :-) )

Can I remove the old version that was installed outside the environment anyhow?

johanvdw commented 6 years ago

To remove: pip uninstall niche_vlaanderen (outside the environment).

cecileherr commented 6 years ago

OK, perfect! Life can be easy :-)

johanvdw commented 6 years ago

Closing here: documenting better seems a good idea, but there is an issue for that.