Skip to content

Adding requirements.txt and edit README.md#6

Open
AmirRezaHamidi wants to merge 1 commit into
raghavagps:mainfrom
AmirRezaHamidi:add-requirements-file
Open

Adding requirements.txt and edit README.md#6
AmirRezaHamidi wants to merge 1 commit into
raghavagps:mainfrom
AmirRezaHamidi:add-requirements-file

Conversation

@AmirRezaHamidi

@AmirRezaHamidi AmirRezaHamidi commented May 7, 2026

Copy link
Copy Markdown

I have tried to fix the way you explained how to run your code. Other people also mentioned that they had problems running your code. Check the Issues tab at the top of your repository.

1- First, your code does not work with modern versions of Python. I tried it, and it did not work. You need an older version of Python. I tested Python 3.8, and it worked. Maybe newer versions also work, but 3.8 was fine. Since it is an old version, not everyone has it installed, so they either need to downgrade their Python version or create an ENVIRONMENT. If you do not know what that is, search for Miniconda or Anaconda. It is basically an isolated environment that does not affect the rest of the packages on your computer. In other words, you can have multiple versions of Python on one computer, but in different environments.

2- I added the necessary guidelines for anyone to create an environment using Miniconda.

3- I added a requirements.txt file, which is the conventional way of installing packages. I also provided the necessary commands in your README.md file showing how to use this requirements.txt file with pip to install all of your packages (your dependencies, in other words) in just one command.

4- This way, anyone who wants to run your code will first create an environment, second install the necessary packages, and third run your code without a problem.

THIS IS A PULL REQUEST, AND SINCE IT IS YOUR FIRST PULL REQUEST, DO NOT JUST ACCEPT IT, OTHERWISE YOUR README AND REPOSITORY WILL CHANGE. INSTEAD, CHECK THE CHANGES FIRST, AND IF YOU THINK THEY FIT, THEN ACCEPT IT.

Regards,
Some random programmer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant