Starting sending rate = 2.24e+06
ERROR: Could not load python module: loaded_client
Traceback (most recent call last):
File "/home/mininet/src/PCC-RL/src/udt-plugins/testing/loaded_client.py", line 26, in <module>
from common import sender_obs
File "/home/mininet/src/PCC-RL/src/common/sender_obs.py", line 15, in <module>
import numpy as np
ImportError: No module named 'numpy'
What I have tried
It seems that CPython can not find the correct Python interpreter.
Starting sending rate = 2.24e+06
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'
Current thread 0x00007fbc435c7780 (most recent call first):
Aborted
Env
e292c31
sudo apt install python3.5-dev
I create a new conda env pcc, and install all modules required.
pip list
prints that:Problem
In terminal A(Server)
In terminal B(Client)
It prints:
What I have tried
It seems that CPython can not find the correct Python interpreter.
In file
PCC-Uspace/src/pcc/rate_control/pcc_python_rc.cpp
line 8-12, I find:If I modify this file to
In terminal B, I get
If I modify this file to
or
B always prints: