0
Why doesn't Sololearn indicate Cython (a module) needs to be installed
I'm forced to use Python 3.5.2 Windows (Seeing as Python 2.7.12 isn't used in this, though "compatible" with Kivy & pyOpenGL) and that Cython is a Module that has to be installed via Command Prompt. 1. (Start Menu) Search cmd > Open "cmd.exe" > Type in cd c:\python32 (Mines is c:\py cause that is where I installed it) > Press Enter 2.(CMD) Type in python -m pip install cython 3. (IDE) Python's IDE > Import cython > then start coding cause I keep getting errors even though I follow everything
6 ответов
+ 1
You usually don't need that. What errors were you getting?
+ 1
This is an unrelated error. You just have to properly indent your code. Python uses indentation to distinguish between blocks.
num = 12
if num > 5:
print("Bigger than 5")
+ 1
Why do you need Cython in the first place? If you're new to Python, Cython should be out of your league.
+ 1
I hear Cython makes Python faster...I'm using Blender to Create Models. then Videos and then on to games...so I would also want to pick up Cython as I go
0
After typing [What is inside these are from IDE]
num = 12
if num > 5:
[...]print ("Bigger than 5")
[File "<stdin>", line 2]
[print ("Bigger than 5"]
[ ^]
[IndentationError: expected an indented block]
0
Thanks, I guess that was something I needed to know