question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`pip install` from Pypi does not install dependencies

See original GitHub issue

Hello

I really prefer pipenv to handle Pipfile and Pipfile.lock over the old requirements.txt, however, my packages that uses pipenv (ex: here), when installed with pip install txrwlock, get no dependency at all.

I wonder if, for the moment at least, auto-generating a requirements.txt is not necessary, at least waiting for official support of Pipfile by pip (and other tools such as ReadTheDoc or Pyup that only support requirements.txt).

What’s your thoughts?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
vphilipponcommented, Oct 23, 2017

I do not see a need to auto-generate requirements.txt, that could actually cause some conflict with an existing requirements.txt in the directory and such.

We can generate a requirements.txt with pipenv lock --requirements > requirements.txt, so the option is there for anyone needing a requirements.txt for system on which they can’t install Pipenv, until pip supports Pipfile/Pipfile.lock.

0reactions
gsemetcommented, Oct 24, 2017

Donc in #967 😃

I don’t use pyenv, only brew python on my mac and default python 2.7 on ubuntu 16.04. I have seen this behavior on both the Travis build and my local machine. I also have some instabilities of pipenv on Python 2.7 (see the various executions in here), but if you tell me it is not officially supported that would be a totally acceptable response. I am not sure this instability on the Travis build is due to pipenv of by travis it self (bad infra?)

Read more comments on GitHub >

github_iconTop Results From Across the Web

pip does not install my package dependencies - Stack Overflow
What you can do? My advice is to avoid dynamic dependencies. Declare static dependencies and allow pip to decide what versions to install:...
Read more >
Dependency Resolution - pip documentation v22.3.1
pip is capable of determining and installing the dependencies of packages. The process of determining which version of a dependency to install is...
Read more >
How to Package Python dependencies with PIP setuptools
Setuptools is typically installed with Python downloaded from ... In order to download dependencies not found in PyPI, you will need to add...
Read more >
Installing Packages - Python Packaging User Guide - Python.org
Installing from PyPI¶. The most common usage of pip is to install from the Python Package Index using a requirement specifier. Generally speaking, ......
Read more >
Python: Creating a pip installable package
pip is a package management system, specifically designed for installing Python packages from from the internet hosted Python Package Index (commonly known as ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found