Circuit Python download

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
tultalk
 
Posts: 64
Joined: Thu May 14, 2020 7:00 pm

Circuit Python download

Post by tultalk »

Hi: I have tried the git clone https://github.com/adafruit/Adafruit_Ci ... hon_Bundle twice.
Both time library is full of empty folders, same with helper.
Any ideas? Other gits work fine.
Robert

User avatar
mikeysklar
 
Posts: 14194
Joined: Mon Aug 01, 2016 8:10 pm

Re: Circuit Python download

Post by mikeysklar »

There are a few more steps for this repo.

https://github.com/adafruit/Adafruit_Ci ... evelopment
After you clone this repository you must run git submodule init and then git submodule update.

For developing individual libraries, please see LIBRARY_DEVELOPMENT.rst.

Updating libraries
To update the libraries run update-submodules.sh. The script will fetch the latest code and update to the newest tag (not main).

To find libraries with commits that haven't been included in a release do:

git submodule foreach "git log --oneline HEAD...origin/main"
Adding a library
Determine the best location within libraries (libraries/drivers/ or libraries/helpers/)for the new library and then run:

git submodule add <git url> libraries/<target directory>
The target directory should omit any CircuitPython specific prefixes such as adafruit-circuitpython to simplify the listing.

User avatar
tultalk
 
Posts: 64
Joined: Thu May 14, 2020 7:00 pm

Re: Circuit Python download

Post by tultalk »

Hi: You said "The target directory should omit any CircuitPython specific prefixes such as adafruit-circuitpython to simplify the listing. The libraries are under "D:\Adafruit Circuit Python\Adafruit_CircuitPython_Bundle"

So what to call them?

I have Pythn 3.8 and 3.11UGH!!!

Python 3.8.1 (tags/v3.8.1:1b293b6, Dec 18 2019, 23:11:46) [MSC v.1916 64 bit (AMD64)] on win32
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Python 3.8

Python 3.11.2 (tags/v3.11.2:878ead1, Feb 7 2023, 16:38:35) [MSC v.1934 64 bit (AMD64)] on win32
C:\Users\15172\AppData\Local\Programs\Python\Python311
C:\Users\15172\AppData\Local\python\mu
C:\Users\15172\AppData\Local\Programs\Python\Python311\Lib

What's New in Python 3.11.2 final?
==================================
*Release date: 2023-02-07*

C:\Users\15172\AppData\Local\Programs\Python\Python311

And:

D:\lib

D:\Arduino\libraries\lib\circuitpython_nrf24l01

I am lost in the sands of time!!!

Thanks
Robert

User avatar
mikeysklar
 
Posts: 14194
Joined: Mon Aug 01, 2016 8:10 pm

Re: Circuit Python download

Post by mikeysklar »

What is it that you are trying to achieve? I might be able to help with more specific commands.

User avatar
tultalk
 
Posts: 64
Joined: Thu May 14, 2020 7:00 pm

Re: Circuit Python download

Post by tultalk »

Hi:

Overall project?
Robert

User avatar
mikeysklar
 
Posts: 14194
Joined: Mon Aug 01, 2016 8:10 pm

Re: Circuit Python download

Post by mikeysklar »

Related to the CircuitPython bundle download from the repo and custom build. Is there a reason you are trying to build your own modules rather than use the pre-compiled MPY’s or uncompiled PY versions?

User avatar
tultalk
 
Posts: 64
Joined: Thu May 14, 2020 7:00 pm

Re: Circuit Python download

Post by tultalk »

Hi: trying to build your own modules

I am not trying to build my own modules. Obviously I don't know what I am doing.
Robert

User avatar
mikeysklar
 
Posts: 14194
Joined: Mon Aug 01, 2016 8:10 pm

Re: Circuit Python download

Post by mikeysklar »

Try downloading the pre-built modules. There is no need to use the github repo for the CircuitPython libraries unless you are customizing a module.

https://circuitpython.org/libraries

User avatar
tultalk
 
Posts: 64
Joined: Thu May 14, 2020 7:00 pm

Re: Circuit Python download

Post by tultalk »

That page is very familiar. I will uninstall what I have and start all over.
With regards to 3.8 and 3.11, should I uninstall 3.11 (.8 more recent than .11)
Robert

User avatar
mikeysklar
 
Posts: 14194
Joined: Mon Aug 01, 2016 8:10 pm

Re: Circuit Python download

Post by mikeysklar »

I would normally read 3.11 as being more recent (eg. 8, 9, 10, 11) but I do not know which library numbering system you are referring to.

User avatar
tultalk
 
Posts: 64
Joined: Thu May 14, 2020 7:00 pm

Re: Circuit Python download

Post by tultalk »

I think you are correct.

User avatar
tultalk
 
Posts: 64
Joined: Thu May 14, 2020 7:00 pm

Re: Circuit Python download

Post by tultalk »

Attached from file manager. 3.11 must be older since the current downloads are for 3.8
Robert
Attachments
VersionPython.png
VersionPython.png (3.98 KiB) Viewed 78 times

User avatar
tultalk
 
Posts: 64
Joined: Thu May 14, 2020 7:00 pm

Re: Circuit Python download

Post by tultalk »

I will uninstall both and start all over
Robert

User avatar
tultalk
 
Posts: 64
Joined: Thu May 14, 2020 7:00 pm

Re: Circuit Python download

Post by tultalk »

Trying to download CP 8.1. Asks to identify board. Put in UNO and it returns Piunora by Diodes Delight

So I assume this is the correct download.

User avatar
tultalk
 
Posts: 64
Joined: Thu May 14, 2020 7:00 pm

Re: Circuit Python download

Post by tultalk »

And that download is for a RPi board. The download site does not allow you to sect an Arduino UNO. Should I select
an Adafruit M7 or M4?

Locked
Please be positive and constructive with your questions and comments.

Return to “Adafruit CircuitPython”