symbench / symbench-athens-client

Python client for Symbench's UAV workflow runs.
Apache License 2.0
0 stars 2 forks source link

Update README. #39

Open umesh-timalsina opened 3 years ago

umesh-timalsina commented 3 years ago

It might be nice to update README with some more information

juansala commented 3 years ago

Hello! I'm trying to get your starter example in the Jupyter notebook running in the Docker container but when I run

from symbench_athens_client.fdm_experiments import ExperimentOnTurnigyGraphene5000MAHQuadCopter as experiment

I see the following:

ModuleNotFoundError: No module named 'uav_analysis'

I figured perhaps this module was not already installed in the container, or maybe something in my setup is not quite right. I tried following everything in the docker instructions (https://github.com/symbench/symbench-athens-client/blob/main/docs/docker.md), was there another doc for the rest of the setup?

umesh-timalsina commented 3 years ago

Hello @juansala. Thank You for reporting this.

I pulled the latest docker image and everything seems to be working for me. The rest of the package should operate fine even if you don't have uav_analysis :). Also if you are using it externally(non-containered), please make sure your sympy version is <=1.5.

(base) umesh@deepforge ~/krow/deepforge-dev/deepforge(master) $ docker pull symbench/symbench-athens-client:latest
latest: Pulling from symbench/symbench-athens-client
5843afab3874: Already exists 
72c585c386a3: Already exists 
87d798ddb41c: Already exists 
1ccf6e5b367a: Already exists 
34c44fc8769b: Already exists 
1cd34cceae3f: Already exists 
4d4d72ce4387: Already exists 
7347db3caa1f: Already exists 
9fe876d40dc2: Already exists 
795d50716001: Already exists 
Digest: sha256:8e19f582c4359a259cc1cc4ee3bebf7d03a614c15ecfa0bcedfdf0fa252d05ab
Status: Downloaded newer image for symbench/symbench-athens-client:latest
docker.io/symbench/symbench-athens-client:latest
(base) umesh@deepforge ~/krow/deepforge-dev/deepforge(master) $ docker run --entrypoint /bin/sh -it symbench/symbench-athens-client:latest 
~ $ source activate symbench-athens-client
Could not find conda environment: symbench-athens-client
You can list all discoverable environments with `conda info --envs`.

~ $ source activate symbench-athens-client-dev
(symbench-athens-client-dev) ~ $ python
Python 3.8.12 | packaged by conda-forge | (default, Oct 12 2021, 21:57:06) 
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import uav_analysis
>>> dir(uav_analysis)
['__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__']
>>>