xlzd / xart Goto Github PK
View Code? Open in Web Editor NEWgenerate art ascii texts
License: Do What The F*ck You Want To Public License
generate art ascii texts
License: Do What The F*ck You Want To Public License
`pip3 install xart
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
Collecting xart
Downloading https://mirrors.aliyun.com/pypi/packages/df/0b/607ebe1853f4797714e06917b29aafe9120f309991c607c20b542fc716b7/xart-0.2.0.tar.gz (451kB)
100% |████████████████████████████████| 460kB 1.6MB/s
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\JEFFLE1\AppData\Local\Temp\pip-install-u1y04xri\xart\setup.py", line 15, in 1\AppData\Local\Temp\pip-install-u1y04xri\xart\setup.py", line 15, in
README = fp.read()
UnicodeDecodeError: 'gbk' codec can't decode byte 0x97 in position 248: illegal multibyte sequence
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\JEFFLE
README = fp.read()
UnicodeDecodeError: 'gbk' codec can't decode byte 0x97 in position 248: illegal multibyte sequence
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\JEFFLE~1\AppData\Local\Temp\pip-install-u1y04xri\xart`
would be pretty cool if the font could be specified by the number as well as by the font name.
环境:Python 3.5.2
描述:
我使用pip install xart
进行安装
xart hello world
时报错:
Traceback (most recent call last): File "/Users/yangruihan/.pyenv/versions/pyenv_3_5_2/bin/xart", line 11, in <module> load_entry_point('xart==0.1.8', 'console_scripts', 'xart')() File "/Users/yangruihan/.pyenv/versions/3.5.2/envs/pyenv_3_5_2/lib/python3.5/site-packages/pkg_resources/__init__.py", line 564, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/Users/yangruihan/.pyenv/versions/3.5.2/envs/pyenv_3_5_2/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2608, in load_entry_point return ep.load() File "/Users/yangruihan/.pyenv/versions/3.5.2/envs/pyenv_3_5_2/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2268, in load return self.resolve() File "/Users/yangruihan/.pyenv/versions/3.5.2/envs/pyenv_3_5_2/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2274, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/yangruihan/.pyenv/versions/3.5.2/envs/pyenv_3_5_2/lib/python3.5/site-packages/xart/__init__.py", line 11, in <module> import errors ImportError: No module named 'errors'
Can you make this awesome package support Python3? many thanks
I can run the init.py with python but I cannot run with just 'xart' command. It seems like maybe a python python3 issue but I don't know.
/u/l/l/p/s/xart ▶︎︎ python __init__.py
_________________________
---|/----__----)__---_/_-
| / ) / ) /
__/|__(___(__/______(_ __
/
/u/l/l/p/s/xart ▶︎︎ python __init__.py -h
usage: __init__.py [-h] [-f FONT] [-c COLOR] [-i] [-s] [-l] [-v]
xart : generate art ascii texts.
optional arguments:
-h, --help show this help message and exit
-f FONT, --font FONT font to render with, default random
-c COLOR, --color COLOR
font color, default WHITE, all : BLACK, RED, GREEN,
YELLOW, BLUE, PURPLE, CYAN, GRAY, WHITE
-i, --info show information of given font
-s, --show show random fonts
-l, --list list all supported fonts
-v, --version version
/u/l/l/p/s/xart ▶︎︎ xart -h
Traceback (most recent call last):
File "/usr/local/bin/xart", line 5, in <module>
from xart import main
File "/usr/local/lib/python3.7/site-packages/xart/__init__.py", line 11, in <module>
import errors
ModuleNotFoundError: No module named 'errors'
/u/l/l/p/s/xart ▶︎︎
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.