acsicuib / YAFS

Yet Another Fog Simulator (YAFS)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mobile Tutorial missing package or simulating edge movements

vyk1 opened this issue · comments

I am trying to use the example in src/examples/mobileTutorial but the module yafs.customMovement does not exist.

If not possible, is there any other way I can use the simulator in the context of movimentation using the dataset provided (ibiza.csv)?

Hello @vyk1 ,

You can find this example (and code) in the master branch. The last branch only contains the essentials parts.
Define the path of the library and your own scripts and you will not have problems with the execution of the project.

export PYTHONPATH="/home/X/projects/YAFS/... :/home/X/projects/YAFS/example....:$PYTHONPATH"

Best

Hi @wisaaco, thank you for the quick reply.
I see; I'll try using the conda environment recommended.

As I am not familiar with Python, I would like to ask if the Python version will not be a problem when configuring the Conda environment.

Thanks again!

Hello again,
I configured the conda environment and now I ran into this problem when creating the dependency installation file:
image

I tried installing v2.4.1.1 but no solution.

Any help?

The best way to work with Python from my perspective is to have multiple versions and virtual environments. In this link is explained how to proceed url

Instead to use conda, maybe you can use pip. With python2 and your virtual environment installed, you can clone that branch.

Cool, thanks again.
I will try cleaning the project, too.