Open AbhilashPati opened 3 years ago
Hello, Please install docker library for python.
Thanks
Respected sir,
I am currently doing research on Fog Computing. The framework named "Dynamic iFogSim" is quite impressive in this regard. But, I am failing to use this on my local PC. Will you please help me in this regard.
First, I have installed Docker.
Next using Powershell,
git clone https://github.com/HealthSciTech/Dynamic_iFogSim
cd snipersim docker build -t sniper . cd ..
python3 platform_controller.py brute_force system_configurations/devices/device_setting.cfg FallDetection
I have given you a mail
I am facing problems while running brute force agent with example configs using Dynamic iFogSim.
PS D:\Dynamic IFogSim\Dynamic_iFogSim> python platform_controller.py brute_force system_configurations/devices/device_setting.cfg FallDetection Traceback (most recent call last): File "D:\Dynamic IFogSim\Dynamic_iFogSim\platform_controller.py", line 5, in import docker ModuleNotFoundError: No module named 'docker' PS D:\Dynamic IFogSim\Dynamic_iFogSim>
Wishing a positive and quick response in this regard.
And you responded to install the python library for docker.
Then, I have tried
The same problem I have right now.
PS D:\Dynamic IFogSim\Dynamic_iFogSim> python platform_controller.py brute_force system_configurations/devices/device_setting.cfg FallDetection Traceback (most recent call last): File "D:\Dynamic IFogSim\Dynamic_iFogSim\platform_controller.py", line 5, in import docker ModuleNotFoundError: No module named 'docker' PS D:\Dynamic IFogSim\Dynamic_iFogSim>
Please help me in this regard.
On Tue, Apr 6, 2021 at 5:00 PM Dongjoo Seo @.***> wrote:
Hello, Please install docker library for python.
Thanks
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/HealthSciTech/Dynamic_iFogSim/issues/1#issuecomment-814046568, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATRYOWQSYKI7ECFFBCI6Q43THLWHDANCNFSM42OECFMA .
-- Thanks and Regards, Er Abhilash Pati Ph.D. (CSE), M.Tech.(CSE)-B.Tech (CSE), MBA (HR and IT) UGC - NET QUALIFIED (2019) MIAENG, MUSERN, MCSTA, Research Scholar, Dept. of CSE, ITER *(Faculty of Engineering and Technology), Siksha 'O' Anusandhan (Deemed to be University) Bhubaneswar-751030, Odisha, INDIA E_mail: ER.ABHILASH.PATI@GMAIL.COM ER.ABHILASH.PATI@GMAIL.COM
that's because you used pip, not pip3. pip is for python version2.
Respected Sir,
Thanks for the quick response. Now I have installed using the command
pip install docker[tls]
and Then
PS D:\Dynamic IFogSim\Dynamic_iFogSim> python platform_controller.py
brute_force system_configurations/devices/device_setting.cfg
FallDetection
edge edge.cfg
fog fog.cfg
cloud cloud.cfg
number_of_core_edge 8
number_of_core_fog 4
number_of_edge 1
number_of_fog 1
number_of_cloud
start to get the MIPS of workload from virtual devices with snipersim
1,399.9992918330103,1440.0349587801666,1536.358076,3530.309567
Traceback (most recent call last):
File "D:\Dynamic IFogSim\Dynamic_iFogSim\platform_controller.py",
line 151, in
Will you please help me to solve this problem?
Wishing a positive responce in this regard.
On Wed, Apr 7, 2021 at 11:48 AM Dongjoo Seo @.***> wrote:
that's because you used pip, not pip3. pip is for python version2.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/HealthSciTech/Dynamic_iFogSim/issues/1#issuecomment-814634849, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATRYOWTMHAD62MKO3KMZO2DTHP2JTANCNFSM42OECFMA .
-- Thanks and Regards, Er Abhilash Pati Ph.D. (CSE), M.Tech.(CSE)-B.Tech (CSE), MBA (HR and IT) UGC - NET QUALIFIED (2019) MIAENG, MUSERN, MCSTA, Research Scholar, Dept. of CSE, ITER *(Faculty of Engineering and Technology), Siksha 'O' Anusandhan (Deemed to be University) Bhubaneswar-751030, Odisha, INDIA E_mail: ER.ABHILASH.PATI@GMAIL.COM ER.ABHILASH.PATI@GMAIL.COM
I think this is path string issue with windows. I never tested it with windows. I will take a look at this after April 9.
Respected sir,
Thanks again for your quick reply.
Can you please provide me a video lecture to install it in my Ubuntu system ?
On Wed, 7 Apr, 2021, 3:08 pm Dongjoo Seo, @.***> wrote:
I think this is path string issue with windows. I never tested it with windows. I will take a look at this after April 9.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/HealthSciTech/Dynamic_iFogSim/issues/1#issuecomment-814769379, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATRYOWSGPRHFB6LMKW5UBM3THQRXZANCNFSM42OECFMA .
Respected Sir,
I have tried Dynamic iFogSim in the Ubuntu Platform.
The output is
(base) @.Inspiron-5558:~/Dynamic_iFogSim$ python3
platform_controller.py brute_force
system_configurations/devices/device_setting.cfg FallDetection
edge edge.cfg
fog fog.cfg
cloud cloud.cfg
number_of_core_edge 8
number_of_core_fog 4
number_of_edge 1
number_of_fog 1
number_of_cloud
start to get the MIPS of workload from virtual devices with snipersim
Traceback (most recent call last):
File "platform_controller.py", line 151, in
What to do next?
Please respond me.
Thanks & Regards,
On Wed, Apr 7, 2021 at 3:26 PM Er Abhilash Pati @.***> wrote:
Respected sir,
Thanks again for your quick reply.
Can you please provide me a video lecture to install it in my Ubuntu system ?
On Wed, 7 Apr, 2021, 3:08 pm Dongjoo Seo, @.***> wrote:
I think this is path string issue with windows. I never tested it with windows. I will take a look at this after April 9.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/HealthSciTech/Dynamic_iFogSim/issues/1#issuecomment-814769379, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATRYOWSGPRHFB6LMKW5UBM3THQRXZANCNFSM42OECFMA .
-- Thanks and Regards, Er Abhilash Pati Ph.D. (CSE), M.Tech.(CSE)-B.Tech (CSE), MBA (HR and IT) UGC - NET QUALIFIED (2019) MIAENG, MUSERN, MCSTA, Research Scholar, Dept. of CSE, ITER *(Faculty of Engineering and Technology), Siksha 'O' Anusandhan (Deemed to be University) Bhubaneswar-751030, Odisha, INDIA E_mail: ER.ABHILASH.PATI@GMAIL.COM ER.ABHILASH.PATI@GMAIL.COM
reinstalled docker to 2.1.0, issues is gone.
Please provide me the detailed steps how to reinstall docker 2.1.0 in Ubuntu.
On Sun, 11 Apr, 2021, 2:32 am Dongjoo Seo, @.***> wrote:
reinstalled docker to 2.1.0, issues is gone.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/HealthSciTech/Dynamic_iFogSim/issues/1#issuecomment-817201633, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATRYOWUQBVGSNGXMHO3WLNLTIC4ETANCNFSM42OECFMA .
PS D:\Dynamic IFogSim\Dynamic_iFogSim> python platform_controller.py brute_force system_configurations/devices/device_setting.cfg FallDetection Traceback (most recent call last): File "D:\Dynamic IFogSim\Dynamic_iFogSim\platform_controller.py", line 5, in
import docker
ModuleNotFoundError: No module named 'docker'
PS D:\Dynamic IFogSim\Dynamic_iFogSim>