0

I never used linux till now, I am trying to generate compile files of .py file in Linux. I was able to generate .pyd file in windows. I have used reference from below site

https://pypi.org/project/easycython/ https://cython.readthedocs.io/en/latest/src/userguide/source_files_and_compilation.html

Able to generate .pyd file in windows using below two command

easycython *.py
cythonize -a -i *.py

But in linux I am getting error as below

bash: easycython: command not found
bash: cythonize: command not found

Can anyone please help me with this. Any approach which can compile .py file in linux. Please give me some advice.

2
  • What do you mean by "compile files"? Commented Apr 8, 2021 at 15:49
  • Before using Linux easily, you need to accept the fact that you should spend weeks in learning it and reading documentation and books about it. Don't expect to become productive in Linux with a day of work, you will need more. Read also linuxhowtos.org and spend days in reading man7.org and mentorembedded.github.io/advancedlinuxprogramming Commented Apr 8, 2021 at 15:59

1 Answer 1

2

You can install cython with pip install cython and easycython with pip install easycython.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks a lot for your help , able to see .so file in linux post installing easycython. Thank a lot. :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.