maximlamare / S3_extract

Extract the outputs from the S3 OLCI processor for a given number of S3 files at given coordinates.
MIT License
1 stars 2 forks source link

Installing pandas on python3.4 conda environment #8

Closed BaptisteVandecrux closed 4 years ago

BaptisteVandecrux commented 4 years ago

Hi Maxim,

I tried to install S3_extract but run into problems when installing pandas:

(SNAP) ubuntu-bav@ubuntubav-VirtualBox:~/bav_win$ python --version
Python 3.4.5
(SNAP) ubuntu-bav@ubuntubav-VirtualBox:~/bav_win$ conda install pandas
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: - 
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed                                                                                                   

UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:

Specifications:

  - pandas -> python[version='>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.8,<3.9.0a0|>=3.7,<3.8.0a0|>=3.5,<3.6.0a0']

Your python: python=3.4

If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.

I could not find a clear way online to install pandas on python 3.4.

widaro commented 4 years ago

Hi Baptiste Have you tried to specifically install an older version of Pandas? If not, try something like this: conda install pandas=0.21.0 (or version 0.20.3, 0.19.2) Python 3.4 is getting quite old, so it might cause some compatibility issues. I'm using Python 3.5 for my SNAP virtual environment and I'm not experiencing any problems.

BaptisteVandecrux commented 4 years ago

Thanks Wim, I also realized S3_extract works with python 3.7.7 and latest pandas version ('1.0.5'). So the ReadMe file should be updated.