-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Impossible to install #27
Comments
I just saw that you have a channel with all the dependencies up to date. |
Could give more detail about that "channel"? (any links or url?) I met the same problem... |
@HowcanoeWang Hey, I found it here: #23 |
|
At the end, do you succeed to install Adel? |
It seems there are very complex dependency version conflicts that exist via conda, and I also tried python package/setup.py install from source code, neither succeed yet. Please check this issue: #28 |
@pradal No i tried several different times over several days including manually compiling missing/old dependecies and editing |
Thks for your patience. @mlabadie is currently documenting a way to install Adel. |
@assignUser, @HowcanoeWang Sorry for the delay. I update the documentation on branch Port_python_3 To install adel you can follows this ways:
|
@mlabadie Thank you, I could install it now without issue. But I can not run any of the examples, after fixing a few encoding issues I got this error
|
@mlabadie Thanks for your feedback, now it has been successfully installed on my Mac. @assignUser I met the same encoding problem for But still get import error: Traceback (most recent call last):
File "test_wheat.py", line 2, in <module>
from alinea.astk.Weather import sample_weather
ModuleNotFoundError: No module named 'alinea.astk' |
@HowcanoeWang I used |
@assignUser @HowcanoeWang Have you solved these problems yet? I changed the encoding of the file and installed |
We are currently releasing all the stack on a new channel openalea3. |
@NieJL1CN I haven't made any other attempts :( But it sounds like there will be a solution soon! |
Hi @assignUser @NieJL1CN @HowcanoeWang I just release a new version on openalea3 channel in anaconda.org.
|
Yes, it seems no problem to install in my WSL2 ubuntu environment PS: but I got an error when try the following example code: >>> from alinea.adel.astk_interface import AdelWheat
>>> from alinea.astk.Weather import sample_weather
>>> adel = AdelWheat(nsect=2)
>>> g = adel.setup_canopy(100)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/hwang/miniconda3/envs/adel/lib/python3.9/site-packages/alinea.adel-1.9.0-py3.9.egg/alinea/adel/astk_interface.py", line 154, in setup_canopy
g = self.build_mtg(canopy, stand,
File "/home/hwang/miniconda3/envs/adel/lib/python3.9/site-packages/alinea.adel-1.9.0-py3.9.egg/alinea/adel/adel.py", line 226, in build_mtg
g = mtg_factory(parameters, stand=stand, leaf_sectors=self.nsect,
File "/home/hwang/miniconda3/envs/adel/lib/python3.9/site-packages/alinea.adel-1.9.0-py3.9.egg/alinea/adel/newmtg.py", line 532, in mtg_factory
if args.get('HS_final') < args.get('nff'):
TypeError: '>' not supported between instances of 'numpy.ndarray' and 'numpy.str_' |
Thanks. |
It is currently impossible to
conda install
adel because the binaries/dependencies (like plantgl) don't exists (windows) or were build against an 8 year old glibc version (linux) which makes them impossible to run on any updated system.I am currently building all dependencies manually and editing the meta.yaml in hope of getting this to work.
Should I have missed an easy solution for this issue I will happily close it.
Edit: this might be more of an issue with plantgl...
The text was updated successfully, but these errors were encountered: