pip

Why pip saying import error after downgrading?

Why pip saying import error after downgrading? Question: I downgraded pip to install some packages. but now pip is not working saying. my python version is 3.11.5 and used this command “sudo python -m pip install pip==18.0 –upgrade”. Here is the result for pip install <module_name> I was expecting any solution for this issue as …

Total answers: 2

Can't install Tensorflow on Fedora

Can't install Tensorflow on Fedora Question: I’m using Fedora and I installed tensorflow successfully before but today I tried to use it and it’s not there so used pip -m install tensorflow but I’m getting this error ERROR: Could not find a version that satisfies the requirement tensorflow==2.12.0 (from versions: none) ERROR: No matching distribution …

Total answers: 1

warning C4996: 'Py_OptimizeFlag': deprecated in 3.12 aiohttp/_websocket.c(3042): error C2039: 'ob_digit': is not a member of '_longobject'

warning C4996: 'Py_OptimizeFlag': deprecated in 3.12 aiohttp/_websocket.c(3042): error C2039: 'ob_digit': is not a member of '_longobject' Question: Newbie here. I have been trying to installen the openai library into python, but I keep running into problems. I have already installed C++ libraries. It seems to have problems specific with aio http, and I get the …

Total answers: 2

Unknown user-based global PIP configuration sets wrong PyPi registry

Unknown user-based global PIP configuration sets wrong PyPi registry Question: I used to need to install all PIP packages from a private repository (that mirrored pypi.org but also contained some of our own packages). To ensure that pip install <package> would always resolve all packages from this repository, I created a file named ~/.pypirc with …

Total answers: 1

Tensorflow 2.13.1, no matching distribution found for tensorflow-text 2.13.0

Tensorflow 2.13.1, no matching distribution found for tensorflow-text 2.13.0 Question: I am trying to install the latest Tensorflow models 2.13.1 (pip install tf-models-official==2.13.1), with Python 3.11. There seems to be an issue with Cython and PyYAML not playing nice together since last week in Tensorflow models 2.13.0, so it won’t install. But 2.13.1 is giving …

Total answers: 2

Can't install FFMPEG using pip

Can't install FFMPEG using pip Question: I tried to install ffmpeg using pip like this pip install ffmpeg However I got the following error: Collecting ffmpeg Using cached ffmpeg-1.4.tar.gz (5.1 kB) Preparing metadata (setup.py) … error error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [34 lines of output] …

Total answers: 1

What to tests in ci run vs pytest, and why

What to tests in ci run vs pytest, and why Question: I have a python repo in github. If I understood it correctly there are mainly two ways in which tests can be automated: using run in a ci.yml file using test_… files under a folder called test (at root level) and then execute them …

Total answers: 1

Error while I install the robotframework-retryfailed

Error while I install the robotframework-retryfailed Question: How can I fix and install Robot Framework. I run the command pip install robotframework and get this. C:Usersvengalam>pip install -U robotframework-retryfailed Collecting robotframework-retryfailed   Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x0000020EE969F588>, ‘Connection to pypi.org timed out. (connect timeout=15)’)’: /simple/robotframework-retryfailed/   …

Total answers: 1

How to use an unlisted Python Package with 'pyproject.toml' file in Google Colab

How to use an unlisted Python Package with 'pyproject.toml' file in Google Colab Question: I am trying to use an Unofficial Twitter API using python library called RedGalaxy on Google Colab. This package is not yet available on Pypi platform. I have tried to build the package in Google colab itself but wasn’t able to …

Total answers: 2

Pip installs packages in the wrong directory

Pip installs packages in the wrong directory Question: So I want to install the opencv-python package. I typed in pip install opencv-python and got this: Collecting opencv-python Downloading opencv_python-4.7.0.72-cp37-abi3-win_amd64.whl (38.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 38.2/38.2 MB 3.1 MB/s eta 0:00:00 Requirement already satisfied: numpy>=1.17.0 in c:usersleo westerburg burrappdatalocalpackagespythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0localcachelocal-packagespython39site-packages (from opencv-python) (1.24.2) Installing collected packages: opencv-python Successfully installed …

Total answers: 2