Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
Installing specific package versions with pip
Home
Education
Installing specific package versions with pip
asked
Jan 23, 2022
in
Education
by
JackTerrance
I want to install MySQL_python adapter (v1.2.2) using a new virtual env I created with a - -no-site-packages option. PyPi 1.2.3 is the current version, can someone suggest me to install the older version? I tried this: pip install MySQL_python==1.2.2 In site packages it shows MySQL_python-1.2.3-py2.6.egg-info , How can I do it? Select the correct answer from above options
pip
mysql-python
python
python-faq
1
Answer
0
votes
answered
Jan 23, 2022
by
JackTerrance
Best answer
It's very easy to do, just use pip install command, Ex. pip install 'package>=0.3.0,<0.5.0' and for downgrading just use --force-reinstall after it, like: pip install 'stevedore>=0.3.0,<0.5.0' --force-reinstall
Related questions
0
votes
Q: How to upgrade all Python packages with pip?
How to upgrade all python packages in one go using pip? Select the correct answer from above options...
asked
Jan 21, 2022
in
Education
by
JackTerrance
pip
python
python-faq
0
votes
Q: How do I install pip on Windows?
I read that pip is a replacement for easy_install, Can anyone tell me, How can I install pip using ... another better option? Select the correct answer from above options...
asked
Jan 21, 2022
in
Education
by
JackTerrance
python
pip
easy-install
python-faq
0
votes
Q: Find which version of package is installed with pip
Using pip, is it possible to figure out which version of a package is currently installed? I know about pip ... am currently using. Select the correct answer from above options...
asked
Jan 30, 2022
in
Education
by
JackTerrance
python
pip
0
votes
Q: “pip install unroll”: “python setup.py egg_info” failed with error code 1
I'm new to Python and I want to install some packages with pip. But pip install unroll gives me: Command " ... How to solve this? Select the correct answer from above options...
asked
Jan 25, 2022
in
Education
by
JackTerrance
python
pip
package
install
0
votes
Q: How to install packages using pip according to the requirements.txt file from a local directory?
Here is the problem I have a requirements.txt that looks like: BeautifulSoup==3.2.0 Django==1.3 Fabric==1.2.0 ... . So what went wrong? Select the correct answer from above options...
asked
Jan 30, 2022
in
Education
by
JackTerrance
python
pip
0
votes
Q: I cannot install aws cli on mac os with pip - awscli: command not found
I tried to follow this tutorial. This is what I did in the console: pip3 install --user --upgrade awscli after ... 's the problem here? Select the correct answer from above options...
asked
Jan 30, 2022
in
Education
by
JackTerrance
macos
amazon-web-services
terminal
pip
aws-cli
0
votes
Q: What is the difference between personal injury protection (PIP) and medical payments coverage?
What is the difference between personal injury protection (PIP) and medical payments coverage?...
asked
Jan 31, 2021
in
Insurance
by
Editorial Staff
insurance
auto-insurance
pip
personal-injury-protection
medical-payment-coverage
insurance-coverage
0
votes
Q: How can I get a list of locally installed Python modules?
I would like to get a list of Python modules, which are in my Python installation (UNIX server). How can ... in your computer? Select the correct answer from above options...
asked
Jan 30, 2022
in
Education
by
JackTerrance
python
pip
0
votes
Q: awscli fails to work: No module named 'awscli'
I am trying to install awscli using pip3 on Linux Mint 17.2 Rafaela. I am getting the error: Traceback (most ... anyone help with this? Select the correct answer from above options...
asked
Jan 30, 2022
in
Education
by
JackTerrance
python
pip
aws-cli
aws-services
0
votes
Q: Why is my pip installing tool not working anymore with python version 3.7
When I run pip3 install -r requirements.txt on the project I get this error message: pip._vendor.pkg_resources. ... on my machine. Select the correct answer from above options...
asked
Jan 19, 2022
in
Education
by
JackTerrance
data-science
python
0
votes
Q: Understanding Python super() with __init__() methods
I am a learner and just want to know the basic concept of super(). Here in the given code I want to know ... () ChildOne() ChildTwo() Select the correct answer from above options...
asked
Jan 24, 2022
in
Education
by
JackTerrance
python
python-faq
oop
super
0
votes
Q: ValueError: DataFrame constructor not properly called! with pandas
def multiple_dfs(xyz_file, sheet, *args): row=2 writer = pd.ExcelWriter(xyz_file, engine='openpyxl') df = pd. ... help me over this? Select the correct answer from above options...
asked
Jan 23, 2022
in
Education
by
JackTerrance
python
python-faq
pandas
0
votes
Q: Find all files in a directory with extension .txt in Python
Can someone tell me how to find all the files in directory with .txt extension in Python? Select the correct answer from above options...
asked
Jan 23, 2022
in
Education
by
JackTerrance
file-io
python-faq
python
txt
0
votes
Q: Random string generation with upper case letters and digits
How can I generate a string of size N. I want it to be of uppercase English letters and numbers like this: 7I2D86 ... do it in Python. Select the correct answer from above options...
asked
Jan 22, 2022
in
Education
by
JackTerrance
string
random
python-faq
python
0
votes
Q: How do you remove duplicates from a list whilst preserving order?
Is there a built-in that removes duplicates from a list in Python, whilst preserving order? I know that I can ... idiom if possible. Select the correct answer from above options...
asked
Jan 26, 2022
in
Education
by
JackTerrance
python
list
duplicate
python-faq
python-programming
...