Xilinx / PYNQ-HelloWorld

This repository contains a "Hello World" introduction application to the Xilinx PYNQ framework.
http://www.pynq.io/
BSD 3-Clause "New" or "Revised" License
94 stars 41 forks source link

pip3 install fails ModuleNotFound error #19

Open burkejoh opened 4 years ago

burkejoh commented 4 years ago

On PYNQ 2.5 REVISION : Release 2019_10_03 3f63450 Board: ZCU104

Brand new install on new SD supplied with board

Run from terminal: sudo pip3 install pynq-helloworld

returns:

edited to here: Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "/tmp/pip-build-5lwuk5f6/pynq-helloworld/setup.py", line 39, in from pynq.utils import build_py ModuleNotFoundError: No module named 'pynq.utils'

yunqu commented 4 years ago

Upgrade your pynq to at least v2.5.1. You can do sudo pip3 install pynq first.

burkejoh commented 4 years ago

Thanks for the quick response.

When I try to update pynq as suggested I get: Requirement already satisfied: pynq in /usr/local/lib/python3.6/dist-packages Requirement already satisfied: matplotlib in /usr/lib/python3/dist-packages (from pynq) Requirement already satisfied: pyeda in /usr/local/lib/python3.6/dist-packages (from pynq) Requirement already satisfied: pytest in /usr/lib/python3/dist-packages (from pynq) Requirement already satisfied: pygraphviz in /usr/lib/python3/dist-packages (from pynq) Requirement already satisfied: setuptools>=24.2.0 in /usr/lib/python3/dist-packages (from pynq) Requirement already satisfied: cffi in /usr/lib/python3/dist-packages (from pynq) Requirement already satisfied: Pillow>=5.0.0 in /usr/lib/python3/dist-packages (from pynq) Requirement already satisfied: pandas in /usr/lib/python3/dist-packages (from pynq) Requirement already satisfied: numpy in /usr/lib/python3/dist-packages (from pynq) Then the update stops. Please advise.

On Mon, Oct 5, 2020 at 11:34 AM Yun Rock Qu notifications@github.com wrote:

Upgrade your pynq to at least v2.5.1. You can do sudo pip3 install pynq first.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Xilinx/PYNQ-HelloWorld/issues/19#issuecomment-703710551, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWO6GFKRIC7YHVHMOQ7U73SJHRPVANCNFSM4SD2BXJQ .

yunqu commented 4 years ago

Try sudo pip3 install pynq==2.5.1

burkejoh commented 4 years ago

I went the pynq python source code repo on github and found the command:

sudo pip3 install --upgrade --upgrade-strategy only-if-needed pynq

This bumped me up to 2.5.4 and I was able to get helloworld running. Thanks again.

On Mon, Oct 5, 2020 at 1:04 PM Yun Rock Qu notifications@github.com wrote:

Try sudo pip3 install pynq==2.5.1

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Xilinx/PYNQ-HelloWorld/issues/19#issuecomment-703762942, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWO6GF6XS4QSM26LIGLDTTSJH4BLANCNFSM4SD2BXJQ .