-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 0-38: ordinal not in range(256) #417
Comments
Ubuntu 22.04.3 LTS, terminal putty and tmux as a terminal multiplexer.
Same error
Other formats work for me. It looks like the problem is only related to |
Btw, I wanted to look at statistics of $ pypistats overall pandas -f md --start-date 2008-01-01
| category | percent | downloads |
|:----------------|--------:|------------:|
| with_mirrors | 100.00% | 853,511,039 |
| without_mirrors | 98.10% | 837,330,101 |
| Total | | 853,511,039 |
Date range: 2008-01-01 - 2024-01-11 However, pepy page for pandas shows about 4 B total downloads for the whole period. Do you know why such a difference in the numbers is? |
pypistats.org data is available for the last 180 days. (For longer time periods, pypinfo can help, you'll need an API key and get free quota.) |
Okay, thanks! Should this issue still be open as there is a problem with |
Can do, would you like to try editing https://github.com/jazzband/prettytable#setting-a-table-style For example: ❯ pypistats recent pandas
+-----------+-------------+------------+
| last_day | last_month | last_week |
+-----------+-------------+------------+
| 6,129,470 | 144,080,301 | 36,288,468 |
+-----------+-------------+------------+ I'm wondering if it's one of the border characters, and we should probably do some encoding somewhere. |
After replacing |
Hi there,
I wanted to collect some statistics of a package with pypistats but encountered the error.
Is there something I am doing wrong?
The text was updated successfully, but these errors were encountered: