marxanweb / general

Issues tracker, installers, registry, test data and example developer apps for Marxan Web
European Union Public License 1.2
2 stars 2 forks source link

urllib3, six, and installation issue #271

Open kkemink opened 3 years ago

kkemink commented 3 years ago

I'm currently working with Windows 10 and tried the latest full installation of marxanweb. I keep running into issues with the python libraries though. I get a warning when I first install the app that the urllib3 is not the appropriate version and is incompatible, and that the six library is not the appropriate version either. Then although the install will continue, the web app won't open but spits out an error message about the six library instead. I've tried updating the packages a couple different times and ways but it seems to break some sort of vital connection in the structure because it only breeds more error messages. Has anyone else come across this issue, and if so was there a solution you could share?

andrewcottam commented 3 years ago

Installation of Python packages on Windows can be problematic, but it should be straightforward for Marxan Web because it uses the Conda package manager and installs all of the dependencies in a self-contained conda environment. If you are having problems installing on Windows you can either use the hosted service here (which requires no installation) or we can try to identify the problem. How familiar are you with conda and Python package management? BTW - whats your name :)

kkemink commented 3 years ago

Hey, yes - sorry I'm Kaylan. Thanks for your reply. It'd be great if we could try to id the problem but I'm not an expert in Python/conda - just enough to be dangerous. My guess is that the problem starts with the warning pasted in below, which occurs during installation.

image

After that, the program installs, but when you try to open it you get the following errors:

image

Not sure if that helps to clarify?

andrewcottam commented 3 years ago

Yes any screenshots help thanks Kaylan. A few questions to start with:

kkemink commented 3 years ago

Yes - Python 2.7 is installed as I have to use it for ArcMap, which, unfortunately doesn't use any later versions of Python.

I get the following output:

C:\Users\kkemi>conda info --envs

conda environments:

# C:\Users\kkemi\Anaconda2 base * C:\Users\kkemi\AppData\Local\MarxanWeb\Miniconda3

C:\Users\kkemi>

andrewcottam commented 3 years ago

Thanks - can you type this in the cmd prompt and copy and paste the results back here thanks:

conda activate base
conda list
kkemink commented 3 years ago

image

image

image