Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 1 year ago.
Improve this question
Guys every time I try to install sqlite3 with pip I get the error:
ERROR: Could not find a version that satisfies the requirement sqlite3 (from versions:none)
ERROR: No matching distribution found for sqlite3
My python version: 3.10.0
My pip version: 21.3
How can I solve this? I believe it's regarding my version of python so how can i update the pip to fix this? I've already tried this pip --upgrade pip
Edited:
Guys I installed python 3.7.0 and it's still the same thing.
sqlite3 is part of the standard library, meaning it is already installed with Python.
You can write a script following the documentation, and notice it says nothing about installation procedures.
The error is self-explanatory. For anything that can be installed with pip, you should refer to the source - PyPi. Search for sqlite3 and notice that you get no exact match
Many languages have built-in modules, for example, you seem to have maybe some NodeJS experience, so you can import things like os, readline, net, http modules without needing to npm install. You simply require them.
Python/Pip is no different with a simple import.
this error I mentioned in the question doesn't show up on Linux when I try to install the same things
Is that so? Seems to work for me (Using Docker because I'm on a Mac)
$ docker run --rm -ti --entrypoint=ash python:3.10-alpine
Unable to find image 'python:3.10-alpine' locally
3.10-alpine: Pulling from library/python
Digest: sha256:78604a29496b7a1bd5ea5c985d69a0928db7ea32fcfbf71bbde3e317fdd9ac5e
Status: Downloaded newer image for python:3.10-alpine
/ # pip install sqlite3
ERROR: Could not find a version that satisfies the requirement sqlite3 (from versions: none)
ERROR: No matching distribution found for sqlite3
Related
This question already has answers here:
Can't install time module
(12 answers)
Closed 3 months ago.
My python wont install Time Module it was asking me to update my pip to newest, and I did.
I receive this error:
ERROR: Could not find a version that satisfies the requirement time (from versions: none) ERROR: No matching distribution found for time
My python verstion is the latest. Python 3.11.0
Pip version : 22.3.1
It's all to date..
any ideias why?
Tried installing via CMD and pycharm packages additions.
Also updated python and pip. no sucess.
The time module is part of Python's standard library. It's installed along with the rest of Python, and you don't need to (nor can you!) install it with pip.
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 12 months ago.
Improve this question
Hi I try to train my model, but when I run this command to do it:
$ python3 Tensorflow/models/research/object_detection/model_main_tf2.py --model_dir=models/my_ssd_resnet50_v1_fpn --pipeline_config_path=models/my_ssd_resnet50_v1_fpn/pipeline.config
I get error like so:
ModuleNotFoundError: No module named 'tensorflow_io'
I try to install it with 'pip' but I get another one
$ pip install tensorflow.io
ERROR: Could not find a version that satisfies the requirement tensorflow.io (from versions: none)
ERROR: No matching distribution found for tensorflow.io
I also try to fix it with GitHub issue https://github.com/tensorflow/io/issues/1298 and it work for me. I follow the last comment there and I get
Successfully installed tensorflow-io-gcs-filesystem-0.21.0
and I try it in python3 in terminal:
>>> import tensorflow.io
>>>
So why when I try to train my model it fails ?
Im using MacBook Pro with M1, and I have no idea how to fix it.
Thanks for any help
Use pip install tensorflow_io instead of pip install tensorflow.io
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I am trying to install DeepSpeech in my Alpine container, and while I seem to fulfill all of the requirements according to the documentation, I get 'not compatible with this Python error'.
Here is the log from when I run pip install --verbose deepspeech
Step 10/13 : RUN uname -a
---> Running in dd5b145a0055
Linux dd5b145a0055 4.9.125-linuxkit #1 SMP Fri Sep 7 08:20:28 UTC 2018 x86_64 Linux
Removing intermediate container dd5b145a0055
---> e2324a616bc9
Step 11/13 : RUN python3 --version
---> Running in 127dd70a437e
Python 3.6.5
Removing intermediate container 127dd70a437e
---> 5c479002edcc
Step 12/13 : RUN pip3 --version
---> Running in 644ef37e87b1
pip 19.1.1 from /usr/local/lib/python3.6/site-packages/pip (python 3.6)
Removing intermediate container 644ef37e87b1
---> 4913080991d8
Step 13/13 : RUN pip3 install --verbose deepspeech
---> Running in a1e82420debc
Created temporary directory: /tmp/pip-ephem-wheel-cache-6thq7neq
Created temporary directory: /tmp/pip-req-tracker-89xh1p6c
Created requirements tracker '/tmp/pip-req-tracker-89xh1p6c'
Created temporary directory: /tmp/pip-install-rxt4ntrq
Collecting deepspeech
1 location(s) to search for versions of deepspeech:
* https://pypi.org/simple/deepspeech/
Getting page https://pypi.org/simple/deepspeech/
Looking up "https://pypi.org/simple/deepspeech/" in the cache
Request header has "max_age" as 0, cache bypassed
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /simple/deepspeech/ HTTP/1.1" 200 55772
Updating cache with response from "https://pypi.org/simple/deepspeech/"
Caching due to etag
Analyzing links from page https://pypi.org/simple/deepspeech/
Skipping link https://files.pythonhosted.org/packages/4f/71/3fbcf9309730496777375a51d441d33ec9c6a036dd0f9da5c09848625801/deepspeech-0.0.2-cp27-cp27m-macosx_10_12_x86_64.whl#sha256=b186405784bb989759a241d2f75e2aa88b4f88dd6377393620e45865cfcc0af8 (from https://pypi.org/simple/deepspeech/); it is not compatible with this Python
…
[91m ERROR: Could not find a version that satisfies the requirement deepspeech (from versions: none)
[0mCleaning up...
Removed build tracker '/tmp/pip-req-tracker-89xh1p6c'
[91mERROR: No matching distribution found for deepspeech
I seems that this is a common issue on a Windows environment, but this is a Alpine base image. What am I missing?
From https://github.com/mozilla/DeepSpeech/tree/v0.5.1#installing-bindings-from-source:
If pre-built binaries aren't available for your system, you'll need to install them from scratch. Follow these native_client installation instructions.
Alpine Linux uses the musl libc instead of glibc. The available DeepSpeech Python wheels for "manylinux" won't work on Alpine. You'll need to go through the compiling from source documentation. However, there still may be other musl libc incompatibilities compiling from source.
If Alpine is not a hard requirement you are likely to have a much better installation experience using another Linux base image that supports the pre-compiled wheels.
deepspeech is only available in 64-bit builds. Your python is probably 32-bit. Verify it with
python -c "import struct; print(struct.calcsize('P') * 8)"
If it shows 32-bit you need to reinstall 64-bit Python.
I am trying to install pyscopg2 (using pip) on Sierra.
Seems to be a common problem, so I've checked out a handful of other SO answers. I tried the solution from here.
But I still can't install. My error is
Could not find a version that satisfies the requirement pyscopg2 (from versions: )
No matching distribution found for pyscopg2
When I run which -a pg_config, I get TWO lines:
/Applications/Postgres.app/Contents/Versions/9.5/bin//pg_config
/Applications/Postgres.app/Contents/Versions/9.5/bin/pg_config
Which feels wrong.
1\ Is the double pg_config the source of my problem?
2\ If so, how do I correct?
This question already has answers here:
Why does "pip install" inside Python raise a SyntaxError?
(7 answers)
Closed 6 years ago.
New to Python here. I am running Python 2.7.7 x86 and Windows 7. I am trying to install the requests module. I've tried:
pip install requests
in the Python shell and in the Windows command line (cmd) (I saw this question, which suggested using cmd), and I keep getting the same error:
SyntaxError: invalid syntax
I tried to check if pip even installed correctly by running:
installed_packages = pip.get_installed_distributions()
installed_packages_list = sorted(["%s==%s" % (i.key, i.version) for i in installed_packages])
print installed_packages_list
Which I got from this question. I got [] as the output. I'm interpreting this to mean that pip wasn't successfully installed. I tried reinstalling pip by running get-pip.py, and got the output:
Requirement already up-to-date: pip in c:\python27\lib\site-packages
Cleaning up...
Which I'm interpreting as Python telling me pip was installed. I'm really confused now... how do I make sure pip is correctly installed, and then install the requests module? Any help would be appreciated.
This is a commonly asked question, and one for which there's hardly a canonical answer that would be on-topic for SO (honestly this is more a Superuser thing, but since it's pertinent to coding -- even though it's NOT coding by any means -- it will fly here).
If you have pip (by running get-pip.py or etc) it will exist in your Python directory. If you're running Python 2.7, let's assume that that directory lives at C:\Python27\. In which case, pip exists at C:\Python27\scripts\pip.exe.
You can add that to your %PATH%, or navigate there each time you want to use pip. Whatever is most convenient. If nothing else:
COMMAND PROMPT WINDOW:
C:\users\yourname>set PATH = %PATH%;C:\python27\scripts
C:\users\yourname>pip install requests