Closed digitalorder closed 2 years ago
TIL pipenv exists, and it looks to not fully support the requirements.txt format. The pyjoulescope requirements.txt has this line:
pypiwin32>=223; sys_platform == 'win32'
Since pywin32 shows up in the Pipfile, it looks like pipenv ignores sys_platform. Here's a StackOverflow question.
Thanks for the tip. These lines in Pipfile actually help to some extent:
pypiwin32 = {version = ">=223", sys_platform = "== 'win32'"}
pywin32 = {version = "*", sys_platform = "== 'win32'"}
This solution still ignores lines like this from you setup.py
for my linux-based setup. pipenv
for whatever reason uses windows rule for numpy>=1.20
and it conflicts with another package that have which requires numpy==1.19
.
Anyway, I believe this topic is not relevant to this repository anymore because we start to debug pipenv
here.
joulescope
can safely be installed directly on my machine:Then I try minimal
pipenv
setup. MyPipfile
:And it fails for me:
Setup:
asdf
So missing
pywin32
on macOS is understandable, but not exactly what I would expect to pop up here.Note 1: same thing when I try to do
pipenv install
on an Ubuntu hostNote 2:
Pipfile.lock
appears at the of a failedpipenv install
and I can just delete offendingpywin32
andpypiwin32
from it directly. But I would like to get to the bottom of the problem.