element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Project14
  • Challenges & Projects
  • More
Project14
Blog Getting started with PYNQ-Z2
  • Blog
  • Forum
  • Documents
  • Theme Suggestions
  • Polls
  • Members
  • More
  • Cancel
  • New
Join Project14 to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: equaltoall
  • Date Created: 7 May 2020 12:13 PM Date Created
  • Views 1444 views
  • Likes 1 like
  • Comments 3 comments
  • pynqstarter
Related
Recommended

Getting started with PYNQ-Z2

equaltoall
equaltoall
7 May 2020
image

PYNQ-Z2: Embedded Vision Workshop Series with Adam Taylor

 

Getting Started | Getting Up and Running  | Unlocking Your Inner PYNQ Hero  | Project14 | PYNQ Workshop image

 

I've been cutting my teeth with this board since Sunday night.  I completed all the lab one (with a great deal of effort required) prior to the first session of the "PYNQ-Z2: Embedded Vision Workshop (Zero to Hero) Series with Adam Taylor!" and followed along during the webinar on Tuesday.

Following the class, I figured I would flash another boot micro SD chip so any work that I did between now and the next class wouldn't jeopardize my chances of continuing where I left off for the second session.

After running an apt-get update from a terminal window started through Junyper. I started going through the online docs. When trying to follow the steps for "Alveo Getting Started Guide", I found that "pip install pynq" would not work, so I tried "pip3 install pynq"

When I tried the next step "pip3 install pynq-alveo-examples" I got the following feedback:

 

 

root@pynq:/home/xilinx# pip3 install pynq-alveo-examples

Collecting pynq-alveo-examples

  Using cached https://files.pythonhosted.org/packages/77/07/d5d82c8076cb78a6ebfefdae1e14f6cb7856ebb73025ef595d80e8046246/pynq_alveo_examples-1.

0.tar.gz

    Complete output from command python setup.py egg_info:

    Traceback (most recent call last):

      File "<string>", line 1, in <module>

      File "/tmp/pip-build-hich32k7/pynq-alveo-examples/setup.py", line 17, in <module>

        from pynq.utils import build_py

    ModuleNotFoundError: No module named 'pynq.utils'

    ----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-hich32k7/pynq-alveo-examples/

 

 

I'm going to keep plugging away at trying to get a better understanding.  At this point, I feel more than slightly overwhelmed.

  • Sign in to reply

Top Comments

  • beacon_dave
    beacon_dave over 5 years ago +3
    Not sure I understand what you are trying to do here exactly. PYNQ-Z2 is a dev board made by Tul Corporation TUL and is the board that the PYNQ-Z2 Workshop expects you to be using. Alveo is a range of…
  • beacon_dave
    beacon_dave over 5 years ago in reply to equaltoall +1
    "... I'd like to have a better understanding of structure and syntax, more so than just copying the examples. …" I've found these courses by Jessica McKellar: https://www.oreilly.com/library/view/introduction…
Parents
  • beacon_dave
    beacon_dave over 5 years ago

    Not sure I understand what you are trying to do here exactly.

     

    PYNQ-Z2 is a dev board made by Tul Corporation

    TUL

    and is the board that the PYNQ-Z2 Workshop expects you to be using.

     

    Alveo is a range of accelerator cards by Xilinx

    https://www.xilinx.com/products/boards-and-kits/alveo.html

    and is not being used on the PYNQ-Z2 Workshop.

     

    If you completed Lab1 on Sunday, then I assume that you managed to follow along with the Tuesday workshop ok ?

     

    If you are looking for more PYNQ tutorials to try out on the PYNQ-Z2 following the workshop, then there is the PYNQ Tutorial Workshop here:

    https://github.com/Xilinx/PYNQ_Workshop

    (some of the Session 3 Logictools examples may look familiar)

    Some sessions require access to a handful of Seeed Studio 'Grove' light and temperature sensors and LED bargraph displays to complete.

     

    ( You can find this linked from below the 'Tutorials and other resources' section  of the PYNQ website:

    PYNQ - Python productivity for Zynq - Community )

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • equaltoall
    equaltoall over 5 years ago in reply to beacon_dave

    Thank you Dave! I did complete and follow along with the first day of the lesson, but I won't say that I feel comfortable with it. I don't have any prior experience with Python. I'd like to have a better understanding of structure and syntax, more so than just copying the examples.

     

    I didn't realize that the online docs for getting started with PYNQ covers 4 different boards and Alveo was one of the boards.(along with PYNQ-Z1 & ZCU104)

     

    Thank you for the link to the additional tutorials. I will check them out. Looks like I will need to order a few more components to go with the new lessons.

    I appreciate your help!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • equaltoall
    equaltoall over 5 years ago in reply to beacon_dave

    Thank you Dave! I did complete and follow along with the first day of the lesson, but I won't say that I feel comfortable with it. I don't have any prior experience with Python. I'd like to have a better understanding of structure and syntax, more so than just copying the examples.

     

    I didn't realize that the online docs for getting started with PYNQ covers 4 different boards and Alveo was one of the boards.(along with PYNQ-Z1 & ZCU104)

     

    Thank you for the link to the additional tutorials. I will check them out. Looks like I will need to order a few more components to go with the new lessons.

    I appreciate your help!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • beacon_dave
    beacon_dave over 5 years ago in reply to equaltoall

    "... I'd like to have a better understanding of structure and syntax, more so than just copying the examples. …"

     

    I've found these courses by Jessica McKellar:

    https://www.oreilly.com/library/view/introduction-to-python/9781491904794/

    https://www.oreilly.com/library/view/intermediate-python-programming/9781491954935/

    and by David Beazley:

    https://www.oreilly.com/library/view/python-programming-language/9780134217314/

    on Safari Books Online, quite good for learning Python.

     

    You can find similar course content by Jessica at PyCon on YouTube:

    Jessica McKellar: A hands-on introduction to Python for beginning programmers - PyCon 2014

    https://www.youtube.com/watch?v=MirG-vJOg04

     

    One of the advantages of the Jupyter Notebook environment is that it allows you to write notes above the code blocks to help describe what is going on. It can be more convenient than trying to do it in code comments.

     

    "...Looks like I will need to order a few more components to go with the new lessons..."

    It looks like Ralph's already been using most of them with Trace Analyser already image

    PYNQ-Z2 Getting Started - I2C Trace Analyzer

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube