Linked Questions

3 votes
0 answers
152 views

I need an older version of torch (0.5.0) for a certain library (allennlp==0.7.2). But I already have an existing torch version (1.0.0) as required by flair and other libraries. How do I cater to ...
Hit's user avatar
  • 257
751 votes
28 answers
1.1m views

Is there a way to make pip play well with multiple versions of Python? For example, I want to use pip to explicitly install things to either my site 2.5 installation or my site 2.6 installation. For ...
David Wolever's user avatar
634 votes
21 answers
1.2m views

I know the obvious answer is to use virtualenv and virtualenvwrapper, but for various reasons I can't/don't want to do that. So how do I modify the command pip install package_name to make pip ...
Monika Sulik's user avatar
  • 17.5k
258 votes
5 answers
132k views

I started working with Python. I've added requirements.txt and setup.py to my project. But, I am still confused about the purpose of both files. I have read that setup.py is designed for ...
lucy's user avatar
  • 4,526
2 votes
2 answers
3k views

From input 1: fruit, apple, cider animal, beef, burger and input 2: animal, beef, 5kg fruit, apple, 2liter fish, tuna, 1kg I need to produce: fruit, apple, cider, 2liter animal, beef, burger, ...
Jack's user avatar
  • 16.8k
5 votes
3 answers
2k views

I have the following line of codes: from pip import main as pipmain # initial installation pipmain(["install", "pyscenic==0.10.0"]) import pyscenic pyscenic.__version__ # return ...
littleworth's user avatar
  • 5,189
2 votes
1 answer
3k views

I am trying to make a graph using python with networkx which has many nodes that can be interactively investigated. I want to be able to click or hover above a node and reveal a label which is ...
user1278616's user avatar
1 vote
1 answer
1k views

I am trying to get the data from Elasticsearch (ver. 1.7), and post it into Elasticsearch (ver. 5.2) using Elasticsearch-py with 1 Python script. But the recommended way within official docummentation ...
Olia's user avatar
  • 831
-1 votes
1 answer
2k views

I have a situation where my Python2.7 project requires a different version than one of my dependencies. Say, for example, my project has lib1 and lib2. My project requires lib2 v1.1, but lib1 ...
VahagnNikoghosian's user avatar
5 votes
0 answers
829 views

I have a codebase which needs a specific version of a module. I also have another tool which I use, which uses a different version of the module. I am trying to get these two codebases to play well ...
Nick Humrich's user avatar
  • 15.8k
0 votes
0 answers
578 views

I want to install two OpenCV versions on my Ubuntu machine. I need the older version for OpenBR and, for development i want to work on the latest version which is OpenCV-3.1.0. I tried making two ...
Sundeep joshi's user avatar
-6 votes
1 answer
157 views

How come python did not refer to this so basic scenario? handling multiple modules versions How come i need to deal with it by myself? when in java i have the maven product to do all this work for ...
Jas's user avatar
  • 15.3k
0 votes
1 answer
113 views

I want to have 2 versions of Gensim for using summarization and keyword function from old Gensim. How can I setup this senario?
Mehrdad Noroozi's user avatar
0 votes
2 answers
180 views

I am using a project (originally from github) that in its readme says: To use: Clone the project Create a virtual environment Do pip install --upgrade pip and pip install -e . I have tried the ...
KansaiRobot's user avatar
  • 10.6k
0 votes
1 answer
181 views

I am using the cloudscraper python library, installed from the Pycharm UI. Therefore, I am using the main version of this package. I would like to try to use the dev version of this package, that can ...
SctALE's user avatar
  • 519

15 30 50 per page