Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

requirements.txt

How to state in requirements.txt a direct github source

August 20, 2022 by Magenaut

I’ve installed a library using the command

Categories Python, Q&A Tags github, pip, python, requirements.txt Leave a comment

Automatically create requirements.txt

August 19, 2022 by Magenaut

Sometimes I download the python source code from github and don’t know how to install all the dependencies. If there is no requirements.txt file I have to create it by hands.
The question is:
Given the python source code directory is it possible to create requirements.txt automatically from the import section?

Categories Python, Q&A Tags dependencies, python, python-import, requirements.txt Leave a comment

pip freeze creates some weird path instead of the package version

August 18, 2022 by Magenaut

I am working on developing a python package. I use pip freeze > requirements.txt to add the required package into the requirement.txt file. However, I realized that some of the packages, instead of the package version, have some path in front of them.

Categories Python, Q&A Tags path, pip, python, requirements.txt Leave a comment

Is there a way to list pip dependencies/requirements?

August 17, 2022 by Magenaut

Without going through with the installation, I want to quickly see all the packages that pip install would install.

Categories Python, Q&A Tags pip, python, requirements.txt Leave a comment

Reference requirements.txt for the install_requires kwarg in setuptools setup.py file

August 15, 2022 by Magenaut

I have a requirements.txt file that I’m using with Travis-CI. It seems silly to duplicate the requirements in both requirements.txt and setup.py, so I was hoping to pass a file handle to the install_requires kwarg in setuptools.setup.

Categories Python, Q&A Tags pip, python, requirements.txt, setuptools Leave a comment

Could not find a version that satisfies the requirement

August 14, 2022 by Magenaut

I’m installing several Python packages in Ubuntu 12.04 using the following requirements.txt file:

Categories Python, Q&A Tags pip, python, requirements.txt Leave a comment

How to specify install order for python pip?

August 13, 2022 by Magenaut

I’m working with fabric(0.9.4)+pip(0.8.2) and I need to install some python modules for multiple servers. All servers have old version of setuptools (0.6c8) which needs to be upgraded for pymongo module. Pymongo requires setuptools>=0.6c9.

Categories Python, Q&A Tags pip, python, requirements.txt, virtualenv Leave a comment
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress