pip

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

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

Install python package on a specific folder instead of user level

Install python package on a specific folder instead of user level Question: So I am currently working on a DevOps task for a Python repository. I am tasked with making the repository work properly with our Docker environment. My current issue is that when running pip3 install, it installs everything in various folders that have …

Total answers: 2

Problem installing a Python program from GitHub

Problem installing a Python program from GitHub Question: I am trying to install the MQTT simulator. I have python v3.3.10 installed in my computer. I followed this video between 1:48 and 5.43, so now I have a folder in my desktop called python_project, inside of which there is a folder called venv. I have downloaded …

Total answers: 1

localstack 0.12.18 fails to install

localstack 0.12.18 fails to install Question: I am trying to install localstack 0.12.18 on a windows 10 Enterprise machine. I’m running Python 3.9.0 and pip 23.0.1. I have downloaded the .tar.gz file directly from pypi.org and installing it via: pip install C:UsersmeDownloadslocalstack-0.12.18.tar.gz –trusted-host pypi.org –trusted-host files.pythonhosted.org This is the output: pip install C:UsersmeDownloadslocalstack-0.12.18.tar.gz –trusted-host pypi.org …

Total answers: 1

How to install diff version of a package (transformers) without internet in kaggle notebook w/o killing the kernel while keeping variables in memory?

How to install diff version of a package (transformers) without internet in kaggle notebook w/o killing the kernel while keeping variables in memory? Question: I have prepared an inference pipeline for a Kaggle competition and it has to be executed without internet connection. I’m trying to use different versions of transformers but I had some …

Total answers: 2