Questions tagged [pipfile]
62 questions
2
votes
1 answer
my pipenv doesnt create a pipfile and pipfile.lock in any of my projects folders anymore
It used to automatically create these files in the folder I was working in, in the command line. If I were to say install django...
C:\Users\Admin\Desktop\Djangoproj>pipenv install django
Installing django…
Adding django to Pipfile's…

triggercut321
- 31
- 1
- 4
2
votes
3 answers
Python 3 - How do you re-create your Pipfile?
I am a major Python noob, and I made the mistake of manually deleting my Pipfile and Pipfile.lock, thinking that they would eventually regenerate.
How can I re-create these files?

Brent Heigold
- 1,213
- 5
- 24
- 50
2
votes
1 answer
How to see conda installed packages in Pipfile
According to Pipenv doc (https://pipenv.readthedocs.io/en/latest/advanced/#pipenv-and-other-python-distributions), one can "reuse Conda–installed Python packages, use the --site-packages flag":
$ pipenv --python=/path/to/python --site-packages
When…

jackofnone
- 25
- 6
2
votes
1 answer
Pipfile.lock is out of date.
Trying to push a python script to heroku, It's complaining that my pipfile.lock is out of date. I'm using pipenv to manage dependencies, and I've tried running pipenv lock to update the lock file to no avail.
Counting objects: 11, done.
Delta…

user1131308
- 309
- 4
- 12
1
vote
0 answers
Why did my pypi choose a tarball hash yesterday vs now its using a wheel hash?
After the new version for python-crontab (2.7.0) got uploaded yesterday, my pipeline builds started to fail because there was a new hash for the same old pinned version (2.6.0). Local builds fail too with no code changes on my end. Simply updating…

Andrew
- 11
- 2
1
vote
2 answers
CDKTF not recognizing libraries outside of python standard library
I am unable to run cdktf because cdktf won't work with packages installed from PyPI. I need cdktf to be able to install / access packages installed from PyPI.
$ cdktf diff
⠏ Synthesizing
[2022-11-11T14:03:01.343] [ERROR] default - Traceback (most…

jcbcodes
- 11
- 3
1
vote
1 answer
Is it possible to remove a dependency from the Pipfile.lock file and keep other dependencies?
I have been trying to remove a dependency from a build and it continues to install even when it is not specified in the Pipfile (i.e: depdendency = "*"). I can say pipenv uninstall dependency , but that will uninstall it from the venv not the…

Justin Reddick
- 441
- 1
- 5
- 20
1
vote
0 answers
PipEnv's Pipfile sections
I am researching Pipenv's Pipfile and its sections. More specifically, the requires section. Sadly I cannot find any information about it outside the specification of the Python version. Is there someone who can send me some documentation about it…

NFSpeedy
- 161
- 2
- 10
1
vote
0 answers
Locking Failed! with pipenv lock --clear
So everything was working correctly until I tried to install the "requests" library for flask. In my virtual environment I ran "pipenv install requests" and got this fun error message:
File…

Matt Taylor
- 19
- 2
1
vote
2 answers
How to fix pipenv error: Could not find a version that matches?
I have the following pipfile:
[[source]]
name = "pypi"
url = "${PYPI_ENDPOINT}"
verify_ssl = true
[dev-packages]
flask-shell-ipython = "==0.4.*"
ipython = "==7.4.*"
[packages]
boto3 = "==1.9.*"
statsd = "==3.2.1"
gunicorn =…

Ivan Petrushenko
- 43
- 6
1
vote
1 answer
cannot import name 'UnpickleError' from rq.exceptions
I get an error when i run my image with docker-compose this is my pipfile with the library rq i try to up the image but i get an error in django-rq, but i not change this library i only add in my docker file the command unixodbc-dev for install the…

Kevin
- 11
- 3
1
vote
3 answers
install packages in virtual environment with pipenv from an environment.yml file
i'm getting started with pipenv, however, I want to reproduce a project of someone else who worked with conda. I have the corresponding environment.yml file at hand and want to load the required packages into a virtual environment using pipenv…

Olmo
- 325
- 4
- 13
1
vote
1 answer
Keeping Pipfile Updated
I just started a new Django project and use Postgresql as my database, so I installed psycopg2 to make it work properly. When i deployed the project in the beginning the app did not work because psycopg2 was not installed on the production server.…

Daniel
- 963
- 1
- 12
- 29
1
vote
2 answers
How to freeze a dev requirements and generate to dev.txt with pipenv? (Only Dev packages/dependencies)
Let's take an example of Pipfile below. Here I would like to freeze only ipdb to dev.txt
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true
[dev-packages]
ipdb = "*"
[packages]
django = "*"
[requires]
python_version =…

bkawan
- 1,171
- 8
- 14
1
vote
1 answer
Pipenv: Specify local version of python package in pipfile
I have a pipfile that looks something like this:
[packages]
pyarrow = "*"
tensorflow = "==1.8.0"
h5py = "*"
I have another package, xyz, that exists in a github repo. I've cloned that repo, made some edits to it, and now want to include the edited…

anon_swe
- 8,791
- 24
- 85
- 145