package-managers

Facing error messages when importing sklearn in python i.d

Facing error messages when importing sklearn in python i.d Question: I get an error when importing sklearn in python 3.9. I am using I.D.L.E. in Windows. Installed it using cmd command: pip install -U scikit-learn as given in https://scikit-learn.org/stable/install.html The received error message is: Traceback (most recent call last): File "<pyshell#9>", line 1, in <module> …

Total answers: 2

Pip could not find a version that satisfies the requirement

Pip could not find a version that satisfies the requirement Question: I’m having problems with installing a package using pip. I tried: pip install jurigged Causing these errors: ERROR: Could not find a version that satisfies the requirement jurigged (from versions: none) ERROR: No matching distribution found for jurigged I checked if pip was up …

Total answers: 3

Feature comparison between npm, pip, pipenv and Poetry package managers

Feature comparison between npm, pip, pipenv and Poetry package managers Question: How do the main features of npm compare with pip, pipenv and Poetry package managers? And how do I use those features of pipenv or Poetry? This could primarily help someone transitioning from being JavaScript developer to a Python developer. I’ve never used RubyGems, …

Total answers: 1

How to install a package for a specific Python version on Windows 10?

How to install a package for a specific Python version on Windows 10? Question: I currently have Python 3.7.4(64 bit) and Python 3.6.6(64 bit) on a Windows 10 64 bit laptop with both versions in my system environment variables(path). I previously only had 3.7 and installed 3.6 to use pocketsphinx, and now I want to …

Total answers: 3

Download python package with dependencies without installing

Download python package with dependencies without installing Question: I need to download a python package with all its dependencies without installing, sneaker-net it to a computer without connection to the internet, and install it there. For example, I want to install buildbot, lettuce, etc. The computer is a Windows 7 machine, using Python 2.7. If …

Total answers: 1

What is the difference between pip and conda?

What is the difference between pip and conda? Question: I know pip is a package manager for python packages. However, I saw the installation on IPython’s website use conda to install IPython. Can I use pip to install IPython? Why should I use conda as another python package manager when I already have pip? What …

Total answers: 15

Conda: Installing / upgrading directly from github

Conda: Installing / upgrading directly from github Question: Can I install/upgrade packages from GitHub using conda? For example, with pip I can do: pip install git+git://github.com/scrappy/scrappy@master to install scrappy directly from the master branch in GitHub. Can I do something equivalent with conda? If this is not possible, would it make any sense to install …

Total answers: 4

How do I update/upgrade pip itself from inside my virtual environment?

How do I update/upgrade pip itself from inside my virtual environment? Question: I’m able to update pip-managed packages, but how do I update pip itself? According to pip –version, I currently have pip 1.1 installed in my virtualenv and I want to update to the latest version. What’s the command for that? Do I need …

Total answers: 23

What's the difference between dist-packages and site-packages?

What's the difference between dist-packages and site-packages? Question: I’m a bit miffed by the python package installation process. Specifically, what’s the difference between packages installed in the dist-packages directory and the site-packages directory? Asked By: maxm || Source Answers: dist-packages is a Debian-specific convention that is also present in its derivatives, like Ubuntu. Modules are …

Total answers: 3