AadhaarSearchEngine icon indicating copy to clipboard operation
AadhaarSearchEngine copied to clipboard

Could not find a version that satisfies the requirement requirements.txt (from versions: )

Open C0deDaedalus opened this issue 6 years ago • 20 comments

I did a git clone and entered into directory and ran this

pip install requirements.txt

At first It threw this

Collecting requirements.txt Could not find a version that satisfies the requirement requirements.txt (from versions: ) No matching distribution found for requirements.txt You are using pip version 9.0.1, however version 9.0.3 is available. You should consider upgrading via the 'pip install --upgrade pip' command.

So, I upgraded the pip with command as shown above. Then again tried to install requirements and It threw same error again.

Collecting requirements.txt Could not find a version that satisfies the requirement requirements.txt (from versions: ) No matching distribution found for requirements.txt

Please fix this.

C0deDaedalus avatar Mar 24 '18 06:03 C0deDaedalus

You have to pass the -r flag when installing from requirements.txt file. Try running:

pip install -r requirements.txt

babu-thomas avatar Apr 04 '18 18:04 babu-thomas

Added -r , Still not working!!

nahilahmed avatar Jul 02 '18 11:07 nahilahmed

Hi @C0deDaedalus ,

Before pip install -r requirements.txt", enable virtualenv as:

cd env
source bin/activate

then install requirements as commented

Thanks, Fernando Mendez

fermenreq avatar Aug 22 '18 08:08 fermenreq

Is there an answer or what? I am stuck on the same problem here

MickVilla avatar Jul 25 '19 09:07 MickVilla

Same problem, after doing pip freeze of my project and running pip -r install huge number of packages cannot found, very akward(

Sultan91 avatar Sep 16 '19 14:09 Sultan91

image помогите плз

jenjajenjaBot avatar Dec 23 '19 07:12 jenjajenjaBot

Решил проблему? если да скажи как пожалуйста.

Rubby1234 avatar Apr 08 '20 17:04 Rubby1234

Hello guyz, git clone the code and the open it in any code editor of your choice. When you are done with that, create a virtualenv and activate it like so:

  1. virtualenv env -- "Activate using: cd env ---> source bin/activate"

OR

  1. virtualenv env --- "source env/bin/activate"

After you have successfully activated your virtual environment, cd into the source code were the "requirements.txt file is.

and then run command "pip install -r requirements.txt"

BAMMMM!!!!!!!!!!!!!!!!!!!!! That should work guyz...

ghost avatar Apr 14 '20 14:04 ghost

Added -r , Still not working!!

try: pip3 install -r requirements.txt

immohann avatar Aug 02 '20 14:08 immohann

You have to pass the -r flag when installing from requirements.txt file. Try running:

pip install -r requirements.txt

even then im getting error like Could not find a version that satisfies the requirement distro-info===0.18ubuntu0.18.04.1 (from -r requirements.txt (line 22)) (from versions: 0.10) No matching distribution found for distro-info===0.18ubuntu0.18.04.1 (from -r requirements.txt (line 22)) after removing that in requirements.txt file and again show another error liike other particular thing version couldn't find......

vamsisrinivasmanda avatar Aug 30 '20 14:08 vamsisrinivasmanda

I had the same issue and found this workaround: with your virtual environment running, pip install each line of requirements.txt manually.

For example if your requirements.txt file has the following lines: appdirs==1.4.4 asgiref==3.3.4 autopep8==1.5.7 (etc)

You'd run: pip install appdirs==1.4.4 pip install asgiref==3.3.4 pip install autopep8==1.5.7 (etc)

LaurelGerman avatar Oct 19 '21 19:10 LaurelGerman

i have the same error. and the huge number of python libraries are not available Screen Shot 2022-02-27 at 3 30 30 PM

Saad-data-zz avatar Feb 27 '22 07:02 Saad-data-zz

I didn't know exact thing

On Sun, 27 Feb 2022, 1:01 pm syed saad, @.***> wrote:

i have the same error. and the huge number of python libraries are not available [image: Screen Shot 2022-02-27 at 3 30 30 PM] https://user-images.githubusercontent.com/87109729/155872992-d2d1ac6a-f2e5-4228-9b08-41712a487aee.png

— Reply to this email directly, view it on GitHub https://github.com/fs0c131y/AadhaarSearchEngine/issues/7#issuecomment-1053297194, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKC25CYRV345WZOFXTYDEY3U5HHNDANCNFSM4EXGPHPQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

vamsisrinivasmanda avatar Feb 27 '22 14:02 vamsisrinivasmanda

Hello sorry, I want to ask why my Jupyter notebook won't detect another module? cant find

antoni27 avatar May 30 '22 16:05 antoni27

pip install requirements.txt command is not working, but pip freeze > requirements.txt is working

Samandar003 avatar Jun 02 '22 05:06 Samandar003

Screenshot (27)

could not install requirement.txt in virtual env

mehmuna avatar Jul 22 '22 04:07 mehmuna

deactivate your venv by writing in CMD : deactivate


Then Install venv in your directory : python -m venv < your env name > # like this python -m venv venv

Then go to your req.txt path and install it by the right code:

pip install -r req.txt or pip install -r requirements.txt

sultan8lpy avatar Aug 30 '22 15:08 sultan8lpy

How to create a virtual env in termux ??

Ok-vansh avatar Oct 18 '22 14:10 Ok-vansh

How to create a virtual env in termux ??

  • Run python -m venv my_venv on your Termux terminal to create a virtual environment named my_venv.
  • Run ls on your termux terminal and notice that a new folder has been created named my_venv — that folder will hold our environment packages i.e Django.

$ python -m venv my_venv

  • Then Run source my_env/bin/activate to activate the virtual environment :

$ source my_env/bin/activate

ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ

Source: https://medium.com/the-andela-way/create-the-simplest-django-and-react-server-on-your-phone-fd53ea30c5e8

sultan8lpy avatar Oct 19 '22 00:10 sultan8lpy

Решил проблему? если да скажи как пожалуйста.

у меня такая проблема в стримлите

Yougraj avatar Mar 25 '23 11:03 Yougraj