Hi,
I'm attempted to follow the installation instructions in the readme, but am running into problems. I'm on Ubuntu Linux 20.04 x64.
The initial statement to create the conda environment is successful:
conda create -n WheatFspm python=3.7 openalea.mtg openalea.plantgl openalea.lpy alinea.caribu alinea.astk coverage nose sphinx statsmodels -c conda-forge -c fredboudon
Although I'm unclear whether python 3.7 or python 2.7 is correct, as the previous section of the readme states that python 2.7 should be used. However, the conda create
statement fails if I try to use python 2.7 due to version conflicts.
After activating the conda environment, the next installation step in the readme is to install Adel-Wheat:
conda install https://github.com/rbarillot/adel/archive/isolate_rpy.zip
However, this command fails, with the error: PackagesNotFoundError: The following packages are not available from current channels: - //github.com/rbarillot/adel/archive/isolate_rpy.zip
I'm not familiar with conda, but it looks like it thinks I'm trying to install a package named //github.com/rbarillot/adel/archive/isolate_rpy.zip
.
I tried downloading isolate_rpy.zip
manually, and running python setup.py develop --user
(this required openalea.deploy
to be installed). However, this threw an error:
AttributeError: 'dict' object has no attribute 'iteritems'
Which is caused because this code is expecting to be run under python 2 - which isn't trivially possible, due to earlier conda conflicts when I tried to perform this installation under python 2.
I tried a few other things, but was not able to complete the installation.
Please can you let me know how to succeed in installing WheatFspm?
Many thanks :)
Chris