Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
9 views

Azure Synapse: How to get notebook magic command %pip to work in a pipeline

When running %pip install in my Synapse notebook manually, it works as intended, without any problems. However, when I try to run that same notebook in a pipeline, I get: { "errorCode": &...
romanex1212's user avatar
-1 votes
1 answer
40 views

Pip installs packages globally inside of virtual environment

I am at a loss so I apologise if this is a repeated question. I have currently set up a virtual environment via the command python3 -m venv .env and attempted to install a package that is local to ...
Bobstar89's user avatar
-1 votes
0 answers
51 views

How do I install mysqlclient 1.4.6? (Python 3.6) MacOs?

I install pip install mysqlclient==1.4.6 --no-cache-dir But an error occurs: ld: library 'ssl' not found clang: error: linker command failed with exit code 1 (use -v to see invocation) ...
Ilya's user avatar
  • 1
-3 votes
1 answer
35 views

Pip cannot find recent versions of package when trying to install in Docker container

I am trying to run a Docker container in a Jupyter Notebook within AWS Sagemaker. The DockerFile is from a template that worked until I added one additional RUN command with some ML packages I wanted ...
Eric Golub's user avatar
0 votes
1 answer
25 views

Pip only installing dependencies, not main package

I have made a previous package that I put in https://gitlab.com/Matthijs.Kramer/common (I don't think it's public, it's work-related) that contains the following pyproject.toml: [build-system] ...
Matthijs Kramer's user avatar
0 votes
0 answers
23 views

pip install pyqt5 (no traceback just "Killed")

I'm trying to install PyQtWebEngine on an Ubuntu 22.0 ARM VM running under UTF on a MacBook M3 Max. I've searched multiple stack overflow and other pages and I'm stuck. What I've done: pip install --...
codegen's user avatar
  • 118
0 votes
0 answers
15 views

pipx can't use globally installed truststore package

I would like to start using pipx in a corporate Windows environment where TLS interception is used. My first goal with it is to install poetry. I have pip set up here and working perfectly fine thanks ...
Joshua Schroijen's user avatar
-1 votes
1 answer
62 views

I can't get pip on my python3 venv on Ubuntu 24.04

I have a fresh install of Ubuntu 24.04. I added pip with the usual sudo apt install python3-pip, and went to install some packages, but got the error: externally-managed-environment. This was all ...
Colin T Bowers's user avatar
0 votes
2 answers
101 views

ValueError: Unable to determine which files to ship inside the wheel using the following heuristics:

MRE Python 3.9 Windows OS On running the below command: pip install kaggle Complete error message: Defaulting to user installation because normal site-packages is not writeable Collecting kaggle ...
Free Palestine's user avatar
0 votes
0 answers
40 views

trying to import python-docx from within the company network

Getting the message below when trying to install python's docx. pip install python-docx WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken ...
Meaningitis's user avatar
-5 votes
0 answers
49 views

python package pre-commit can't initialized [closed]

I'm installed pre-commit with pip version 20.3.4 and git already installed on my machine. When I try to use pre-commit install command this error has showed. An error has occurred: FatalError: git ...
Lycan's user avatar
  • 19
1 vote
1 answer
111 views

metadata-generation-failed when installing tf-models-official

I'm trying to install tf-models-official with !pip install tf-models-official and when it started to collecting kaggle>=1.3.9, it returned error below : Collecting kaggle>=1.3.9 (from tf-models-...
Larry Mckuydee's user avatar
0 votes
0 answers
107 views

ImportError: cannot import name 'TypeBaseModel' from 'langchain_core.utils.pydantic'

from pydantic import BaseModel from langchain.chains import RetrievalQA chain = RetrievalQA.from_chain_type(llm=llm,chain_type="stuff",retriever=retriever,input_key="query",...
yogesh bandewar's user avatar
0 votes
0 answers
19 views

Distributing pythonnet dll type information in pip package

I've been able to load a C# dll using pythonnet by using the following: from importlib.resources import path import sys # Assuming 'my_package.lib' is the sub-package containing the DLLs with path('...
joshp's user avatar
  • 796
0 votes
1 answer
52 views

How can I install Python packages system-wide on MacOS? [duplicate]

For example, if I run: pip3 install matplotlib I get error: error: externally-managed-environment × This environment is externally managed ╰─> To install Python packages system-wide, try brew ...
user22200698's user avatar

15 30 50 per page
1
2 3 4 5
1308