Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while installing dependencies #6

Open
abhiram1504 opened this issue Feb 24, 2021 · 5 comments
Open

Error while installing dependencies #6

abhiram1504 opened this issue Feb 24, 2021 · 5 comments

Comments

@abhiram1504
Copy link

ERROR: Could not find a version that satisfies the requirement tensorflow>=1.15.2 (from -r requirements.txt (line 1)) (from versions: none)
ERROR: No matching distribution found for tensorflow>=1.15.2 (from -r requirements.txt (line 1))
WARNING: You are using pip version 20.2.3; however, version 21.0.1 is available.
You should consider upgrading via the 'c:\users\abhiram nellutla\appdata\local\programs\python\python39\python.exe -m pip install --upgrade pip' command.

@Apzar
Copy link

Apzar commented Mar 3, 2021

ERROR: Could not find a version that satisfies the requirement tensorflow>=1.15.2 (from -r requirements.txt (line 1)) (from versions: none)
ERROR: No matching distribution found for tensorflow>=1.15.2 (from -r requirements.txt (line 1))
WARNING: You are using pip version 20.2.3; however, version 21.0.1 is available.
You should consider upgrading via the 'c:\users\abhiram nellutla\appdata\local\programs\python\python39\python.exe -m pip install --upgrade pip' command.

use python 3.8 version

@Ritvik-Sapra
Copy link

I had a similar problem on windows. Turns out this is a bug in the windows update. Weeks later, when now I have completely given up windows and running Pop!_OS only on my laptop, I run the command pip3 install -r requirements.txt and it worked fine. So its a windows update problem. You can't really do anything in it, or there are multiple instances of tensorflow and other libraries lying around in your base (If you're using anaconda, else its called parent directory) and they're interfering with the installation.

@4dinkar
Copy link

4dinkar commented May 1, 2021

Hello All,

Please find the error below.

C:\Users\madhubala\detection>pip3 install -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement tensorflow>=1.15.2 (from versions: 2.5.0rc0, 2.5.0rc1, 2.
5.0rc2)
ERROR: No matching distribution found for tensorflow>=1.15.2

C:\Users\madhubala\detection>

@Dark-Programm
Copy link

Use python3-pip to install the required dependencies.

That worked for me.

@MrinalRaut
Copy link

Traceback (most recent call last):
File "C:\Users\User\Python\Face_mask_detection_master\Face-Mask-Detection-master\detect_mask_video.py", line 5, in
from tensorflow.keras.applications.mobilenet_v2 import preprocess_input
File "C:\Users\User\Python\lib\site-packages\tensorflow_init_.py", line 41, in
from tensorflow.python.tools import module_util as module_util
File "C:\Users\User\Python\lib\site-packages\tensorflow\python_init
.py", line 40, in
from tensorflow.python.eager import context
File "C:\Users\User\Python\lib\site-packages\tensorflow\python\eager\context.py", line 35, in
from tensorflow.python import pywrap_tfe
File "C:\Users\User\Python\lib\site-packages\tensorflow\python\pywrap_tfe.py", line 28, in
from tensorflow.python import pywrap_tensorflow
File "C:\Users\User\Python\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 28, in
self_check.preload_check()
File "C:\Users\User\Python\lib\site-packages\tensorflow\python\platform\self_check.py", line 54, in preload_check
raise ImportError(
ImportError: Could not find the DLL(s) 'msvcp140.dll or msvcp140_1.dll'. TensorFlow requires that these DLLs be installed in a directory that is named in your %PATH% environment variable. You may install these DLLs by downloading "Microsoft C++ Redistributable for Visual Studio 2015, 2017 and 2019" for your platform from this URL: https://support.microsoft.com/help/2977003/the-latest-supported-visual-c-downloads

This is the error I'm facing.
please suggest me a solution on [email protected]

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

No branches or pull requests

6 participants