Python3.7 not working with Plotext 5.2
See original GitHub issueHello, I was trying your library and on the first attempt I got this message:
Traceback (most recent call last):
File "test.py", line 1, in <module>
import plotext as plt
File "/home/kevin/Documents/plot/venv/lib/python3.7/site-packages/plotext/__init__.py", line 6, in <module>
from ._core import *
File "/home/kevin/Documents/plot/venv/lib/python3.7/site-packages/plotext/_core.py", line 10, in <module>
from plotext._figure import _figure_class
File "/home/kevin/Documents/plot/venv/lib/python3.7/site-packages/plotext/_figure.py", line 1, in <module>
from plotext._default import default_figure_class
File "/home/kevin/Documents/plot/venv/lib/python3.7/site-packages/plotext/_default.py", line 2, in <module>
from plotext._utility import no_color
File "/home/kevin/Documents/plot/venv/lib/python3.7/site-packages/plotext/_utility.py", line 554
return xl, yl, *transpose(ol, len(other))
^
SyntaxError: invalid syntax
I try the first example in the documentation:
import plotext as plt
y = plt.sin() # sinusoidal signal
plt.scatter(y)
plt.title("Scatter Plot")
plt.show()
My environment:
- OS: Ubuntu
- Python version 3.7.7
Issue Analytics
- State:
- Created a year ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
plotext - PyPI
plotext plots directly on terminal. it allows for scatter, line, bar, histogram and date-time plots (including candlestick),; it can also plot error bars, ......
Read more >piccolomo/plotext: plotting on terminal - GitHub
plotext plots directly on terminal. it allows for scatter, line, bar, histogram and date-time plots (including candlestick),; it can also plot error bars, ......
Read more >python - Package Python3.7 is not available - Stack Overflow
I tried doing the below steps in an official docker image of Kali Linux. It should work on the desktop as well.
Read more >plotext - Python Package Health Analysis - Snyk
Learn more about plotext: package health score, popularity, security, maintenance, versions and more. ... No known security issues ... 5.2.8 (Latest). 5.2.8.
Read more >Chapter 38. Installing and using Python Red Hat Enterprise ...
In Red Hat Enterprise Linux 8, Python 3 is distributed in versions 3.6, 3.8, ... command to install or run Python does not...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You are welcome 😃
Hi @piccolomo, it now works when installing it from git source. It just remains to add it on pypi. Thanks