All Questions
Tagged with python-3.6 pip
161 questions
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 ...
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 ...
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,
...
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....
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 "/...
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 ...
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/
...
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 ...
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
...
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 ...
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:
...
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:
$...
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: ...
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 ...
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 ...