# Cannot install from GitHub

**URL:** <https://discuss.pynq.io/t/cannot-install-from-github/5976>\
**Category:** Support\
**Created:** [August 22, 2023, 8:01am UTC](https://discuss.pynq.io/t/cannot-install-from-github/5976 "2023-08-22T08:01:04Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![b034vdv](https://avatars.discourse-cdn.com/v4/letter/b/a87d85/32.png) [@b034vdv](https://discuss.pynq.io/u/b034vdv)\
**Post date:** [August 22, 2023, 8:01am UTC](https://discuss.pynq.io/t/cannot-install-from-github/5976/1 "2023-08-22T08:01:05Z")

</div>

Hello

I set static ip address and gateway and tried to install repo form GitHub using pip command. However, an error occurs as shown in the picture.  
I researched this error online and found that it was caused by a network problem, so I set up a DNS configuration. However, when I try to create a netplan and restart the network service, I get an error ‘Unit network.service could not be found’ and I cannot configure it.  
I don’t know what to do any more, can someone please tell me how to solve the pip error shown in the picture?

Board: RFSoC 4×2

 ![Screenshot from 2023-08-22 16-20-14](https://us1.discourse-cdn.com/flex019/uploads/pynq1/original/2X/9/9712f0709cba43fbcb0ebcfa0c82bca2c9d3abb6.png)

---

<div class="post-metadata">

**Author:** ![marioruiz](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/marioruiz/32/2177_2.png) [@marioruiz](https://discuss.pynq.io/u/marioruiz)\
**Post date:** [August 22, 2023, 10:24am UTC](https://discuss.pynq.io/t/cannot-install-from-github/5976/2 "2023-08-22T10:24:51Z")

</div>

Hi @b034vdv,

Welcome to the PYNQ community.

Your post is missing essential information.  
How is the board connected to the Internet?

Best,  
Mario

---

<div class="post-metadata">

**Author:** ![b034vdv](https://avatars.discourse-cdn.com/v4/letter/b/a87d85/32.png) [@b034vdv](https://discuss.pynq.io/u/b034vdv)\
**Post date:** [August 22, 2023, 12:32pm UTC](https://discuss.pynq.io/t/cannot-install-from-github/5976/3 "2023-08-22T12:32:43Z")

</div>

Hello, @marioruiz

Thank your for your response.

Sorry, I forgot to mention how to connect the Internet.

First, I changed the following address and netmask to static IP and netmask provided by professor.

> auto eth0  
> iface eth0 inet dhcp  
> auto eth0:1  
> iface eth0:1 inet static  
> address 192.168.2.99  
> netmask 255.255.255.0

Next, I set up gateway referring to [https://www.cyberciti.biz/faq/linux-setup-default-gateway-with-route-command/](https://www.cyberciti.biz/faq/linux-setup-default-gateway-with-route-command/).

Also, after connecting the Internet, I tried to ping [Google.com](https://www.google.com/).  
As a result, I got

> root@pynq:/# ping 172.217.175.110  
> PING 172.217.175.110 (172.217.175.110) 56(84) bytes of data.

but no further reply was returned after many minutes.

Thank you.

---

<div class="post-metadata">

**Author:** ![marioruiz](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/marioruiz/32/2177_2.png) [@marioruiz](https://discuss.pynq.io/u/marioruiz)\
**Post date:** [August 22, 2023, 12:37pm UTC](https://discuss.pynq.io/t/cannot-install-from-github/5976/4 "2023-08-22T12:37:43Z")

</div>

Hi @b034vdv,

I meant how the board is physically connected to the Internet. Not the configuration.

Mario

---

<div class="post-metadata">

**Author:** ![b034vdv](https://avatars.discourse-cdn.com/v4/letter/b/a87d85/32.png) [@b034vdv](https://discuss.pynq.io/u/b034vdv)\
**Post date:** [August 23, 2023, 1:33am UTC](https://discuss.pynq.io/t/cannot-install-from-github/5976/5 "2023-08-23T01:33:50Z")

</div>

Hello, @marioruiz

Sorry for the late reply.

Sorry, I misunderstood. I thought you meant Internet configuration.

The board is physically connected to the Internet via Ethernet.

Thank you.

---

<div class="post-metadata">

**Author:** ![marioruiz](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/marioruiz/32/2177_2.png) [@marioruiz](https://discuss.pynq.io/u/marioruiz)\
**Post date:** [August 23, 2023, 5:40am UTC](https://discuss.pynq.io/t/cannot-install-from-github/5976/6 "2023-08-23T05:40:32Z")

</div>

There could be several reasons why this does not work.

Do you manage the network where the board is connected to? If not, perhaps you need to request IT support to enable a new device.

---

<div class="post-metadata">

**Author:** ![b034vdv](https://avatars.discourse-cdn.com/v4/letter/b/a87d85/32.png) [@b034vdv](https://discuss.pynq.io/u/b034vdv)\
**Post date:** [August 23, 2023, 9:32am UTC](https://discuss.pynq.io/t/cannot-install-from-github/5976/7 "2023-08-23T09:32:10Z")

</div>

Hi @marioruiz

I see, there are several reasons.

No, I use the university sever and do not manage the Internet where the board is connected to.  
So, I will contact the university’s IT department. I will let you know when I get a response. It may take a little time.

---

<div class="post-metadata">

**Author:** ![b034vdv](https://avatars.discourse-cdn.com/v4/letter/b/a87d85/32.png) [@b034vdv](https://discuss.pynq.io/u/b034vdv)\
**Post date:** [August 24, 2023, 4:00am UTC](https://discuss.pynq.io/t/cannot-install-from-github/5976/8 "2023-08-24T04:00:24Z")

</div>

Hi @marioruiz

I contacted the IT department and they enabled the board, but it is not connecting.  
What other possible causes could there be?

Thank you.

---

<div class="post-metadata">

**Author:** ![marioruiz](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/marioruiz/32/2177_2.png) [@marioruiz](https://discuss.pynq.io/u/marioruiz)\
**Post date:** [August 24, 2023, 8:09am UTC](https://discuss.pynq.io/t/cannot-install-from-github/5976/9 "2023-08-24T08:09:40Z")

</div>

Are they able to advise you on how to the setup the network in a Linux system?

---

<div class="post-metadata">

**Author:** ![b034vdv](https://avatars.discourse-cdn.com/v4/letter/b/a87d85/32.png) [@b034vdv](https://discuss.pynq.io/u/b034vdv)\
**Post date:** [August 24, 2023, 10:46am UTC](https://discuss.pynq.io/t/cannot-install-from-github/5976/10 "2023-08-24T10:46:55Z")

</div>

Hi @marioruiz

No. So I think I will research online and set up the network in a Linux system myself.

---

<div class="post-metadata">

**Author:** ![b034vdv](https://avatars.discourse-cdn.com/v4/letter/b/a87d85/32.png) [@b034vdv](https://discuss.pynq.io/u/b034vdv)\
**Post date:** [September 5, 2023, 7:11am UTC](https://discuss.pynq.io/t/cannot-install-from-github/5976/11 "2023-09-05T07:11:31Z")

</div>

Hi @marioruiz

After two weeks of trial and error, I was able to configure network services by creating 99-netcfg.ymal in /etc/netplan. However, the board is not connected to the internet and I cannot install any applications using the pip command. Do I need to do any other special configuration?

 ![Screenshot from 2023-09-05 16-08-18](https://us1.discourse-cdn.com/flex019/uploads/pynq1/original/2X/e/ec87c632b7bab33165191458c17418f752f2632c.png)

---

<div class="post-metadata">

**Author:** ![b034vdv](https://avatars.discourse-cdn.com/v4/letter/b/a87d85/32.png) [@b034vdv](https://discuss.pynq.io/u/b034vdv)\
**Post date:** [September 8, 2023, 8:58am UTC](https://discuss.pynq.io/t/cannot-install-from-github/5976/12 "2023-09-08T08:58:32Z")

</div>

The board was connected to the Internet by creating 99-netcfg.yaml and editing /etc/systemd/timesyncd.conf. I edited the /etc/systemd/timesyncd.conf so that the time on the board is corrected when connecting to the Internet.

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/system/32/2_2.png) [@system](https://discuss.pynq.io/u/system)\
**Post date:** [September 11, 2023, 9:00am UTC](https://discuss.pynq.io/t/cannot-install-from-github/5976/13 "2023-09-11T09:00:00Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
