[Mini-NDN] A question about mini-ndn installation

李怿曈 Yitong LI yitongli at hkust-gz.edu.cn
Sat Mar 16 19:04:43 PDT 2024


Hi Varun,

I’ve just met some other questions.
1. I’ve tried another way which used ./install.sh —source to install mini-ndn first, but found some errors, I’ve attached the log below. I’m not sure whether it’s because the WIFI version doesn’t work.
2. If that’s the case, I want to tried your suggestion before, which used docker. My question is that do I need to uninstall the current installation before I use docker? If so, how to uninstall the current installation.
3. If I want to first run NLSR, how should I make the configuration before running. I haven’t found detail documentation about how to configure it.

Many thanks,
Caster

> 2024年3月13日 下午2:05,Varun Patil <varunpatil at ucla.edu> 写道:
> 
> [你通常不会收到来自 varunpatil at ucla.edu 的电子邮件。请访问 https://aka.ms/LearnAboutSenderIdentification,以了解这一点为什么很重要]
> 
> The docker images are already built with GitHub Actions. All you need to do is
> 
> docker run -it ghcr.io/named-data/mini-ndn:master
> 
> This should start minindn, then you can do something like
> 
> python3 examples/mnndn.py
> 
> Best,
> Varun
> 
> On Tue, Mar 12, 2024 at 7:30 PM 李怿曈 Yitong LI <yitongli at hkust-gz.edu.cn> wrote:
>> 
>> Hi Varun,
>> 
>> Thanks a lot for your kind reply.
>> 
>> I’m a little confused about the docker installation. Does it mean I only need to download the GitHub mini-non repository, go to the root directory, then run the docker installation command to get everything installed?
>> 
>> Thanks,
>> Caster
>> 
>>> 2024年3月13日 上午10:15,Varun Patil <varunpatil at ucla.edu> 写道:
>>> 
>>> [你通常不会收到来自 varunpatil at ucla.edu 的电子邮件。请访问 https://aka.ms/LearnAboutSenderIdentification,以了解这一点为什么很重要]
>>> 
>>> Hi Caster,
>>> 
>>> Maybe you need to use "python3" instead of "python", but it does seem
>>> like the minindn module wasn't installed correctly.
>>> 
>>> I strongly suggest using the docker image if you don't need wifi support, see
>>> https://github.com/named-data/mini-ndn/pkgs/container/mini-ndn
>>> 
>>> That should just work out of the box.
>>> 
>>> Best,
>>> Varun
>>> 
>>> On Tue, Mar 12, 2024 at 7:00 PM 李怿曈 Yitong LI <yitongli at hkust-gz.edu.cn> wrote:
>>>> 
>>>> Hi,
>>>> 
>>>> I’m currently setting up mini-non environment ubuntu. After installing all the required prerequisites, I run “./install.sh” to install mini-non. After the installation, when I execute the test program given in the documentation, it gives me the following error.
>>>> 
>>>> caster at caster-virtual-machine:~/Downloads/mini-ndn-master$ sudo python examples/mnndn.py
>>>> Traceback (most recent call last):
>>>> File "/home/caster/Downloads/mini-ndn-master/examples/mnndn.py", line 26, in <module>
>>>>   from minindn.minindn import Minindn
>>>> ModuleNotFoundError: No module named ‘minindn'
>>>> 
>>>> I’ve verified all the required libraries have been installed, may I ask how to solve this?
>>>> 
>>>> Cheers,
>>>> Caster
>>>> _______________________________________________
>>>> Mini-NDN mailing list
>>>> Mini-NDN at lists.cs.ucla.edu
>>>> https://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn
>> 



More information about the Mini-NDN mailing list