简体   繁体   中英

ERROR: Could not find a version that satisfies the requirement busio (from versions: none)

When Running Installation,

pip install busio

Getting ERROR,

ERROR: Could not find a version that satisfies the requirement busio (from versions: none)
ERROR: No matching distribution found for busio

Python version is 3.7.3.

There is a module called"busio" ( GitHub ) by Adafruit which they describe as providing “hardware-driven interfaces for I2C, SPI, UART”.

This can be installed via Adafruit's Blinka package:

pip3 install adafruit-blinka

There is no package called busio , Maybe you want to install buzio which is a python library tool for printing formatted text in terminal, to do so run :

pip install buzio

Testing your installation

from datetime import datetime, timedelta
from buzio import console
today = datetime.now()
yesterday = today - timedelta(days=1)
my_dict = {
"start day": yesterday,
"end day": today
}
console.box(my_dict, date_format="%a, %b-%d-%Y")

OUTPUT :

*********************************
*                               *
*  start day: Wed, Nov-03-2021  *
*   end day: Thu, Nov-04-2021   *
*                               *
*********************************

You should upgrade your pip using python -m pip install --upgrade pip or pip install --upgrade pip
See more...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM