Skip to content
Magenaut

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

Recent Comments

  • silverplugins217 on How to add placeholder for contact form7 for dropdown?
  • Shreyas Ikhar on How to add a custom CSS class to core blocks in Gutenberg editor?
  • Magenaut on How to call function on timer ASP.NET MVC
  • Ebaad Uddin on How to call function on timer ASP.NET MVC
  • michealSmith07 on Is there a way to dynamically refresh the less command?

Tags

.net adobe-illustrator adobe-photoshop ajax arrays asp.net asp.net-core asp.net-mvc bash c# css database django eloquent express html java javascript jquery json laravel laravel-4 laravel-5 laravel-8 linux list mongodb mongoose mysql node.js npm pandas php python python-3.x react-hooks react-native react-router reactjs redux regex sql string typescript wordpress
© 2023 Magenaut • Built with GeneratePress