Skip to content
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

Installation/running visualea #17

Open
jolienbp809 opened this issue Jan 24, 2023 · 5 comments
Open

Installation/running visualea #17

jolienbp809 opened this issue Jan 24, 2023 · 5 comments

Comments

@jolienbp809
Copy link

Hi, I'm having trouble in running visualea/openalea in general. I've installed OpenAlea (Windows) through https://openalea.readthedocs.io/en/latest/install.html#openalea-installation. Then I wanted to add the package of Visualea through https://anaconda.org/search?q=visualea, but ran into the same problem that my python version was to 'new' for Visualea. So I brought the version back to 2.7.15 in the anaconda navigator, but now I'm having several problems:

  • The 'pglviewer' command is not recognized in the anaconda command prompt anymore --> PlantGL doesn't appear
  • A window of visualea doesn't appear when typing 'visualea'
  • Several times that the following error occurs: Microsoft Visual C++ Run Time Library: Run time error! Program: C:\ Users\u0158557\Anaconda3\python.exe R6034: 'An application has made an attempt to load the C runtime library incorrectly . Please contact the application's support team for more information
  • Looking into the packages installed in this environment, it is quite different from the packages that were installed before installing visualea

I have no experience with the program, so if someone can give me the right steps that I have to undertake to get OpenAlea up and running (regarding packages, versions,... in Windows), this would be quite helpful.
Thank you in advance

@pradal
Copy link
Contributor

pradal commented Jan 24, 2023

VisuAlea is not yet ported to Qt5 / Python 3.
We are working at it hard and we think to finish the port on the end of february.
Stay tuned!

@jolienbp809
Copy link
Author

Hi pradal,
I certainly will, thank you for your quick reply!
Is it possible to install visualea under the old version into a seperate envrionment and let it work with the other packages into the openalea environment? Or can you run the program without visualea for now?

@pradal
Copy link
Contributor

pradal commented Jan 24, 2023

We have developed a Docker image that may work.
And all the different models are available directly from Python.
So depending on what is your aim, the routes are multiples...

@jolienbp809
Copy link
Author

My aim is to develop a FSPM for a pear tree/orchard, where I can predict the growth/quality of the pears regarding the present microclimate. So I don't know what might be the best route for this kind of model?

@thomasarsouze
Copy link
Contributor

I can't help you with choosing your best route for your problem... but I can help you with a docker image of visualea. You can find instructions here: https://github.com/openalea/docker-stacks using the openalea/python2 image on docker-hub. There might be some tricks to do for the visual display depending on your OS (partialy documented). As @pradal mentioned, consider using this image just to get a look at possibilities offered by visualea, as a new version with python3 / QT5 is on the way and will be the one to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants