Questions tagged [pipenv-install]

78 questions
28
votes
5 answers

How to fix VersionConflict locking failure in pipenv?

I'm using pipenv inside a docker container. I tried installing a package and found that the installation succeeds (gets added to the Pipfile), but the locking keeps failing. Everything was fine until yesterday. Here's the error: (app)…
Caspian
  • 633
  • 1
  • 10
  • 29
17
votes
1 answer

How to use pipenv on mac?

When install it by pip(pip install pipenv), on zsh shell can't find the command pipenv. If install it by brew: brew install pipenv, then run pipenv shell, got error Loading .env environment variables... Launching subshell in virtual…
Miantian
  • 945
  • 1
  • 11
  • 35
11
votes
1 answer

How to specify platforms-specific extras or version in Pipfile?

The "Advanced Usage of Pipenv" docs, in the "Specifying Basically Anything" section, explains how to include a package requirement, conditionally on the os platform, in the Pipfile, eg: pywinusb = {version = "*", sys_platform = "== 'win32'"} It's…
leonbloy
  • 73,180
  • 20
  • 142
  • 190
11
votes
3 answers

There are incompatible versions in the resolved dependencies

I’m trying to just run my python project that seems to work fine on my Mac (best in pycharm, not as good but can run in VSCode) and terrible on my raspberry pi in VSCode. Whenever I run a pipenv shell and then a pipenv install it just complains with…
user8758206
  • 2,106
  • 4
  • 22
  • 45
9
votes
4 answers

pipenv install giving Failed to load paths errors

I am running pipenv install --dev which is giving me the following errors Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project. You can…
AnonymousAlias
  • 1,149
  • 2
  • 27
  • 68
5
votes
0 answers

pipenv install throws "Requirement" object has no field "use_pep517"

Upgraded python (using pyenv) to 3.11.4 Upgraded pipenv to 2023.7.23 version. pipenv lock works successfully. However, pipenv install or pipenv sync -d throws errors. File…
KannarKK
  • 1,593
  • 20
  • 35
3
votes
1 answer

Pipenv installing a local package but getting "ModuleNotFoundError: No module named"

I have a local project which I am developing and I want to install it into my pipenv so that I can try running some scripts that use the code I have developed. I created a very basic setup.py located in the root of the project…
3
votes
1 answer

Pipenv consistently failing to lock and is producing a lot of error output

I am having an issue with using Pipenv that just started recently for some reason. Pretty consistently it seems that anytime I try to create/install a virtual env from a Pipfile with pipenv install I am getting a Locking Failed error, followed by a…
3
votes
1 answer

Correct way to update django to a specific (but not most recent) version via pipenv

I am currently using django==2.2.5, managing my dependencies via pipenv and would like to upgrade to django==2.2.15 Unfortunately the pipenv documentation does not say anything regarding the option of specifying a certain version when using pipenv…
Daniel
  • 963
  • 1
  • 12
  • 29
3
votes
1 answer

[pipenv.exceptions.InstallError]: ERROR: Could not find a version that satisfies the requirement django==2.2

I have a requirement.txt looks like, # ~/projects/pip-env-test/requirement.txt Django==2.2 and now I ran the command, pipenv install -r requirements.txt --python 3.6 and now I have got the error, [pipenv.exceptions.InstallError]: ERROR: No…
JPG
  • 82,442
  • 19
  • 127
  • 206
2
votes
1 answer

pipenv.exceptions.ResolutionFailure; ERROR: Disabling PEP 517 processing is invalid

I ran into what seems to be a dependency conflict when trying to run pipenv lock but can't seem to figure out what is causing this: [pipenv.exceptions.ResolutionFailure]: Warning: Your dependencies could not be resolved. You likely have a mismatch…
Cabrera
  • 1,670
  • 1
  • 16
  • 16
2
votes
0 answers

Pipenv: There are incompatible versions in the resolved dependencies

I am using $ pipenv install to update the Pipfile.lock , it just complains with this error: Locking [dev-packages] dependencies... Building requirements... Resolving dependencies... ✔ Success! Locking [packages] dependencies... Building…
mostafa
  • 188
  • 2
  • 10
2
votes
0 answers

Pipenv ReadTimeoutError in WSL Environment

I am using, Python 3.8.2 (default, Jul 16 2020, 14:00:26) [GCC 9.3.0] on WSL Pipfile [[source]] name = "pypi" url = "https://pypi.org/simple" verify_ssl = true [dev-packages] autopep8 = "*" pylint = "*" rope = "*" [packages] requests = "*" ldap3 =…
2
votes
2 answers

"pipenv install" in empty directory doesn't create a Pipfile, but uses a Pipfile.lock from somewhere else

I ran pipenv install to create a Pipfile in the current directory that doesn't have a Pipfile. It gave the following output but did not create a Pipfile. Why not? Installing dependencies from Pipfile.lock (639627)… …
Rob Bednark
  • 25,981
  • 23
  • 80
  • 125
1
vote
2 answers

ImportError: cannot import name 'LegacyVersion' from 'packaging.version'

I am using python 3.10.6, and I installed pipenv, version 2022.12.19, I was planning to run a project using runway, so for this I created a folder, did the command pipenv --python 3.10, then updated in the pipfile to include runway, pip file is as…
Mee
  • 1,413
  • 5
  • 24
  • 40
1
2 3 4 5 6