Xilinx / PYNQ

Python Productivity for ZYNQ
http://www.pynq.io/
BSD 3-Clause "New" or "Revised" License
1.99k stars 818 forks source link

PYNQ update issue #668

Closed aniqurrehman closed 6 years ago

aniqurrehman commented 6 years ago

while updating pynq i am getting this error.

fatal: unable to access 'https://github.com/Xilinx/PYNQ.git/': Could not resolve host: github.com Command "git clone -q https://github.com/Xilinx/PYNQ.git /tmp/pip-dw4yjj8f-build" failed with error code 128 in None

i am using follwing command to update. sudo pip3.6 install --upgrade git+https://github.com/Xilinx/PYNQ.git

yunqu commented 6 years ago

Hi,

This looks like an Internet connection problem. Are you connecting your board to ethernet?

Rock

aniqurrehman commented 6 years ago

yes i am connecting my board to ethernet and i am also able to install other packages but reciveing error for this command.

aniqurrehman commented 6 years ago

i am unable to install any package from git.

yunqu commented 6 years ago

I think you must have installed git again on your board. The PYNQ image comes with git so you do not need to do that. I am not sure how to recover the original version but a simple solution could be re-image the sd card.

aniqurrehman commented 6 years ago

no i haven't installed git again. foolwing is the output for traceroute github. image

yunqu commented 6 years ago

Is it possible that you are behind a proxy?

aniqurrehman commented 6 years ago

yes i am behind a proxy but i set the git proxy and system proxy but still its not working

image

yunqu commented 6 years ago

did you try;

export http_proxy=http://your_proxy:your_port
export https_proxy=http://your_proxy:your_port
aniqurrehman commented 6 years ago

yes i tried that at that time i was behind proxy and it was not working now i left the proxy network and using another network and remove all proxies from github and system but now getting this error. i am stucked and don't know what to do with this . i've tried every method. but its not working. image

drichmond commented 6 years ago

Can you post the output of running env?

aniqurrehman commented 6 years ago

BOARD=Pynq-Z1 XDG_SESSION_ID=c1 PYNQ_PYTHON=python3.6 SHELL=/bin/bash TERM=vt220 HUSHLOGIN=FALSE LC_ALL=en_US.UTF-8 USER=xilinx RESIZED=1 MAIL=/var/mail/xilinx PATH=/opt/sigrok/bin:/opt/sigrok/bin:/opt/microblazeel-xilinx-elf/bin:/opt/python3.6/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD=/home/xilinx LANG=en_US.UTF-8 SHLVL=1 HOME=/home/xilinx LOGNAME=xilinx PYNQ_JUPYTER_NOTEBOOKS=/home/xilinx/jupyter_notebooks XDG_RUNTIMEDIR=/run/user/1000 =/usr/bin/env

drichmond commented 6 years ago

Okay, nothing there looks worrisome.

Are you able to ping github?

aniqurrehman commented 6 years ago

yes i can ping github

aniqurrehman commented 6 years ago

i have removed git and reinstall it but it didin't worked.

drichmond commented 6 years ago

What about sudo env?

On Jul 21, 2018, at 10:32 PM, aniqurrehman notifications@github.com wrote:

i have removed git and reinstall it but it didin't worked.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Xilinx/PYNQ/issues/668#issuecomment-406842316, or mute the thread https://github.com/notifications/unsubscribe-auth/AGFUdPI2EY08WX8O7E06cT9ItYmY_Vb8ks5uJA5kgaJpZM4VWkvE.

aniqurrehman commented 6 years ago

i reinstall the image now the issue is resolved.