Skip to main content

All Questions

Tagged with
0 votes
0 answers
490 views

module not found markupsafe

I create a virtual env: > virtualenv -p python3 spectap I activate it and install packages from requirements.txt in it: > . spectap/bin/activate > pip3 install -r requirements.txt Running ...
Darth.Vader's user avatar
  • 6,341
0 votes
0 answers
426 views

How do I resolve the permission denied error when trying to download a python library without sudo?

I'm Setting up a server using Nginx and Gunicorn to host a laboratory website built with Flask. This issue pertains to the lack of sudo privileges on the server issued by the school. When i try to ...
InJae's user avatar
  • 1
0 votes
0 answers
871 views

Version conflict error while installing albumentation on python 3.6.8 with opencv-python

I'm trying to install albumentations on python 3.6.8. However, the installation is failing with the following error Failed to build opencv-python ERROR: Could not build wheels for opencv-python, ...
brownser's user avatar
  • 660
0 votes
0 answers
1k views

Cannot install cffi-1.15.1-cp36-cp36m-win_amd64 wheel on Python 3.10

I am attempting to package a custom built Python wheel package for offline installation, which indirectly depends on cffi. To do so, I call python3 -m pip download my-custom-package -d package-content....
Vinny's user avatar
  • 176
3 votes
1 answer
3k views

Python3 pip upgrade and install fails

I think I have a broken pip. When I try to install a package or upgrade pip, I get the following error: python3 -m pip install --upgrade pip Exception: Traceback (most recent call last): File "/...
Joachim Spange's user avatar
1 vote
0 answers
322 views

Installing python packages on Ubuntu virtual machines with same python version and pip version yields different results

I am attempting to replicate an environment from an old VM from 2019 that runs the following: Old Environment: Ubuntu 18.10 (GNU/Linux 4.18.0-1015-gcp x86_64) pip 21.1.3 Python 3.6.8 The above ...
vperkins158's user avatar
1 vote
1 answer
676 views

Error when installing package with pip inside a venv: zipfile.BadZipFile: File is not a zip file

I am trying to install the package ansible (version 2.9.27 specifically) on a python 3.6.8 virtual environment. I am getting the following error: Looking in indexes: https://pypi.org/simple/ ...
Houssem AZZOUZ's user avatar
0 votes
0 answers
176 views

In Anaconda Command Prompt, unable to pip install pyflycap2

I'm trying to install the pyflycap2 module in order to collect data from a camera in python. The camera came with provided software to use the camera itself, and an installer to allow the camera to ...
Jeremiah Stoddart's user avatar
0 votes
2 answers
910 views

How to make python3 use my pip dependency of tkinter instead of yum tkinter

I'm using python3 tkinter to build a small GUI on Linux Centos I have my environment set up with all the dependencies installed (cython, numpy, panda, etc) When I go to install tkinter pip3 install tk ...
RtxTrillihin's user avatar
3 votes
1 answer
10k views

Pip broken after upgrade. Cannot unsinstall or upgrade Pip or Python

I recently had tried to run a pip command and noticed my pip version was considerably out of date so upgraded it. This seems to have completely broken my pip install and I cannot figure out how to ...
John Mellor's user avatar
  • 2,533
0 votes
1 answer
366 views

Package installation using pip gives "DuplicateOptionError"

Hie everyone, I'm on a M1 mac with a python version 3.9.6 Whenever I try to "pip install package" I get the following error(inside or outside a virtual environment): ERROR: Exception: ...
Ayush Sharma's user avatar
1 vote
0 answers
699 views

Installing modules in older python version fails with pip

I have python versions 2.7 and 3.8 in my laptop which I both need. I need to change my python path into: PYTHONPATH=$HOME/lib/python Now, I am trying to install matplotlib and numpy for version 2.7: $...
Stamatis Tzanos's user avatar
1 vote
0 answers
135 views

Problem with pip3 (bad interpreter: No such file or directory)

I use Ubuntu 18.04.6 LTS and python3.6 but before that, I had 3.7 but I uninstalled it. now when I try to use pip3 I received this error: p4@p4-VirtualBox:~$ pip3 --version -bash: /usr/local/bin/pip3: ...
Ali's user avatar
  • 11
0 votes
1 answer
104 views

How do you import a module right after installing it in the same file? [duplicate]

I am trying to install and import this python module in the same file. I am adding the directory where I want networkX to be installed in PYTHONUSERBASE, and I even prepend it to the PATH. #install ...
pscarpati's user avatar
2 votes
0 answers
1k views

How to install pyicu on Ubuntu 21.04

I have a docker image in which I'm trying to install pyicu (version 2.3 but other versions fail to install as well). Installation of pyicu works there. I used to build FROM python:3.6 in the ...
yegorski's user avatar
  • 395

15 30 50 per page
1
2 3 4 5
11