Circuit Python directory tree

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.
Locked
User avatar
tedh1
 
Posts: 35
Joined: Sat Nov 16, 2013 7:24 pm

Circuit Python directory tree

Post by tedh1 »

I want to run circuit python from an external drive. What should the directory tree on the external drive look like? I have two systems I want to use it with. I have Mu 8.01 for an interface.

User avatar
edgjr
 
Posts: 143
Joined: Mon Jan 16, 2012 6:18 pm

Re: Circuit Python directory tree

Post by edgjr »

I imagine this would work:
  • Create a directory on the external drive.
  • Create a Python "virtual environment" in the target directory on the drive and "activate" it
  • Use pip to install whatever CircuitPython libraries you need
  • Run your code
That puts everything into that one directory, except for Python.

User avatar
tedh1
 
Posts: 35
Joined: Sat Nov 16, 2013 7:24 pm

Re: Circuit Python directory tree

Post by tedh1 »

Thanks for the answer…. I will put it to use Poste haste….

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

Return to “Adafruit CircuitPython”