Closed SiegeVB closed 5 years ago
There is indeed an issues with the provided niche_env
file in the documentation, which we will need to fix. Thanks a lot for informing us.
As a workaround, let's try a step by step approach and if this works, we can adapt the documentation as such as well.
@SiegeVB , for your case, let's make sure the old relics are removed by first doing the following commands (removing current environment and cleaning up conda package list):
conda remove --name niche_env --all
conda clean --all -y
As an installation procedure to test:
create an (empty) niche environment and activate the environment
conda create --name niche_env -y -q python=3.6
activate niche_env
(Note: Mac/linux users will use conda activate niche_env
Add the conda forge channel, a community created package repository:
conda config --add channels conda-forge
conda install pandas pyyaml rasterio fiona matplotlib
(type y
when asking to proceed)
niche_vlaanderen
in the same environmentpip install niche_vlaanderen==1.0
Please try these instructions and have check if anyhting goes wrong when running the model. Certainly check eventual occurrence of this issue.
Make sure to activate the environment every time you running the model (activate niche_env
).
Note: If you also want to use the jupyter notebook as environment to run the model, you will have to install it as well in the same environmnent: conda install jupyter notebook
If the above instructions work, can you run conda env export > newenv.yml and send me the file?
Than we can make sure other people also get your version.
Unfortunately I get stuck at step 3 >>
I retried a couple of times as suggested, but it still doesn't work (and max retries exceeded?)
This is indeed a network error and not an installation issue as such. Are you running this from inside the INBO network (hermand teirlinck) or at home (with or without VPN)?
@berthuygens is there any possibility that the INBO network is blocking any requests like this?
Maybe good to know: I was able to update my niche version today without problem (by using the same yml file on the website that Siege tried to use without success). Both of us were at INBO today (HT)
@stijnvanhoey : this is an anaconda problem
https://github.com/conda/conda/issues/6064#issuecomment-463219171
see also: https://github.com/conda/conda/issues/6007#issue-260057455
so, @SiegeVB could you try also (after activating environment with activate niche_env
:
conda config --set ssl_verify no
and next, do step 3 again?
Still doesn't work, same error... Perhaps there is something wrong with some of my settings somehow, somewhere.... I guess it's easier if you can have a try on my computer yourself? But I'm not able to come to Brussels tomorrow and I see you are in vacation next week.
Op wo 20 feb. 2019 om 10:41 schreef Stijn Van Hoey <notifications@github.com
:
so, @SiegeVB https://github.com/SiegeVB could you try also:
conda config --set ssl_verify no
and next, do step 3 again?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/inbo/niche_vlaanderen/issues/203#issuecomment-465499837, or mute the thread https://github.com/notifications/unsubscribe-auth/AtkFZfuOQ9oumIGy3X8HPW8uNFjcNtDsks5vPRg5gaJpZM4bCogE .
--
Siege Van Ballaert
Junior onderzoeker
Instituut voor Natuur- en Bosonderzoek
Herman Teirlinckgebouw, Site Thurn & Taxis
Havenlaan 88 bus73, 1000 Brussel Belgium
GSM: 0496 56 61 38
siege.vanballaert@inbo.be daphne.lingier@inbo.be
www.inbo.be
Ik werk niet op vrijdag.
Indeed a conda error, got it working in the base environment of Siege, closing here.
Just one more question if you don't mind: is this a specific issue on Siege's computer or is it susceptible to be a problem for other (new) users? If the latest is true, we should think about adding an item in our FAQ
@cecileherr : This is a problem with anaconda. I am quite sure they will fix it soon as this affects a lot of their users.
Niche Python Package question
Description
@johanvdw @stijnvanhoey When I try to install the NICHE environment, I get following error: ResolvePackageNotFound and a list of packages. I tried to solve it by manually installing these packages, which didn't work. Then I tried moving these packages to pip in the .yml file but this just creates other problems... Any idea on how to solve this?