Unable to run cyton on cmd

Asked 2 years ago, Updated 2 years ago, 53 views

Hello, I am a person who wants to use Cython to install line_profiler. $ pip install --After installing cyton with user cyton, $ I tried to type cyton-3_line_profiler.pyx and use line_profiler.

"cython" is an internal or external command, an executable program, or It's not a batch file."

After that, install MinGW and MinGW-64 and edit path environment variables $ $ C:\Users\USER>gcc --version gcc (MinGW.org GCC-6.3.0-1) 6.3.0 Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I can safely use the gcc. But then again

$ cython -3 _line_profiler.pyx When you type

"cython" is an internal or external command, an executable program, or This is not a batch file." How can I solve it?

For your information, it is windows 10.

--------(Add Content)---------- One of the people advised me to install msys2. However, even though I confirmed that gcc was installed through gcc --version after installation, I could not write cyton...을ㅠ

cython

2022-09-22 18:42

1 Answers

I can't stop because you didn't provide enough information, but I think it's a problem with the environmental variables of Windows. Should I run python -mython -3_line_profiler.pyx instead of cython-3_line_profiler.pyx?


2022-09-22 18:42

If you have any answers or tips


© 2025 OneMinuteCode. All rights reserved.