There is a similar question from last year but I don’t think the responses are widely applicable and it’s not accepted. Edit: this is in the context of developing small jobs that will only be run in docker in-house; I’m not talking about sharing work with anyone outside a small team, or about projects getting heavy re-use. What advantage do
Tag: pip
Pip install multiple extra dependencies of a single package via requirement file
Some package, such as DVC allow you to install extra dependencies to use additional features: to install a single extra dependency, whether by command line or in a requirements.txt, you simply use brackets: pip install -r requirements.txt But how can you install multiple extra dependencies of a single package ? There is of course the possibility to create multiple lines
pytest breaks with pip install
I’m working in a repo that has tests and some test helper libraries in a directory named test (https://github.com/covid-projections/covid-data-model/tree/main/test). Mysteriously pip install dash seems to break our tests. I’m using python 3.7.9 in pyenv on a debian laptop. I reproduced the problem with a pretty simple example: Activate a fresh pyenv virtualenv and install the latest pytest with pip install
Installing pip is not working in python < 3.6
I am trying to use these steps with bitbucket CI to deploy an application: However, the python get-pip.py step fails with this error: Why isn’t it working now? Does it depend on the operating system? For the equivalent issue with upgrading pip in old Python installations, see Upgrading pip fails with syntax error caused by sys.stderr.write(f”ERROR: {exc}”). Answer pip 21.0
installing pip on python2.7.5 and the old version issue
I want to make some change on a code which has been developed with python2.7.5 so I should use Python 2.7.5. But when I’m installing pip on python2.7.5, face this error. I have downloaded get-pip.py and ran it through cmd here is the error: DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your
Python3: install github-based module in setup.py?
Installing with pip, I can write the following requirements.txt file: And successfully install the requirements file: However, I have co-located in the directory a setup.py script that lists: And installing this submodule using pip involves pip running setup.py…which fails to handle the module link: I can see a lot of ways around this, but it seems like there should be
Trying to pip install ibm-db in a virtual env on IBM i resulting in error limits.h
I’m trying to install ibm-db into a virtual environment with Python running on an IBM i. I’m running into the following exception about limits.h no such file or directory. All the other similar questions I’ve found were either on Linux or MacOS, so not sure how to resolve this on an IBM i. I also tried doing this at the
What is the recommended replacement for pip in Debian/Ubuntu where there is no deb package available?
sudo apt-get install trac no longer finds trac. sudo apt-git install pip no longer finds pip, but python has the command: python -m ensurepip that is supposed to do the same thing but instead advises you to try something like: sudo apt-git install python-trac which fails because there is no such package. sudo apt-get install python-pip doesn not find pip
Error when installing tensorflow on Ubuntu Server 20.04
I have a Raspberry Pi 4B with Ubuntu Server 20.04 and I’m getting an error when trying to install tensorflow. I have Python 3.8.5 64-bit installed My pip is also >19.0 Answer From the comment section for the benefit of the community. You need to look for aarch64/arm64 package in order to install Tensorflow on Ubuntu 20.4.
“SyntaxError: invalid syntax” while installing Setuptools
I needed to install Setuptools for a project I was doing, and I had to download Setuptools through a .tar file (don’t ask), but when ran the command I needed to use to install it: It ended up with a SyntaxError: I’m using Python 2.7. Why is it showing the error, and how can I fix it? Edit: When I