Can't install dependencies and environment by pipenv, when use make build_kernel (or any other make with target, that will cause run of the build_kernel target).
However, if I run just pipenv install, there will be no errors.
How to overcome while not fixed?
...
To Reproduce
Steps to reproduce the behavior:
Go to the repo-dir
make build_kernel (or any other make with target, that will cause run of the build_kernel target)
Expected behavior
pipenv should install all needed dependencies without errors
$ lsb_release -a
>>>
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Codename: focal
make build_kernel
>>>
echo "Starting of 'build'"
Starting of 'build'
pip install --upgrade pip --user
Requirement already satisfied: pip in /usr/local/lib/python3.10/dist-packages (22.1.1)
pipenv install
Installing dependencies from Pipfile.lock (677338)...
🐍 ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 2/2 — 00:00:00
Ignoring colorama: markers 'sys_platform == "win32"' don't match your environment
Ignoring pywin32: markers 'sys_platform == "win32" and platform_python_implementation != "PyPy"' don't match your environment
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
echo "Starting of 'build_kernel'"
Starting of 'build_kernel'
pipenv run python -m ipykernel install --user --name="pipenv-data_analytics_test"
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/dmitm/.local/share/virtualenvs/data_analytics-math_python_pandas-ziVc16jN/lib/python3.10/site-packages/ipykernel/__main__.py", line 2, in <module>
from ipykernel import kernelapp as app
File "/home/dmitm/.local/share/virtualenvs/data_analytics-math_python_pandas-ziVc16jN/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 18, in <module>
from IPython.core.application import (
File "/home/dmitm/.local/share/virtualenvs/data_analytics-math_python_pandas-ziVc16jN/lib/python3.10/site-packages/IPython/__init__.py", line 52, in <module>
from .core.application import Application
File "/home/dmitm/.local/share/virtualenvs/data_analytics-math_python_pandas-ziVc16jN/lib/python3.10/site-packages/IPython/core/application.py", line 27, in <module>
from IPython.core import release, crashhandler
File "/home/dmitm/.local/share/virtualenvs/data_analytics-math_python_pandas-ziVc16jN/lib/python3.10/site-packages/IPython/core/crashhandler.py", line 28, in <module>
from IPython.core import ultratb
File "/home/dmitm/.local/share/virtualenvs/data_analytics-math_python_pandas-ziVc16jN/lib/python3.10/site-packages/IPython/core/ultratb.py", line 110, in <module>
from IPython.utils import path as util_path
File "/home/dmitm/.local/share/virtualenvs/data_analytics-math_python_pandas-ziVc16jN/lib/python3.10/site-packages/IPython/utils/path.py", line 17, in <module>
from IPython.utils.process import system
File "/home/dmitm/.local/share/virtualenvs/data_analytics-math_python_pandas-ziVc16jN/lib/python3.10/site-packages/IPython/utils/process.py", line 19, in <module>
from ._process_posix import system, getoutput, arg_split, check_pid
File "/home/dmitm/.local/share/virtualenvs/data_analytics-math_python_pandas-ziVc16jN/lib/python3.10/site-packages/IPython/utils/_process_posix.py", line 23, in <module>
import pexpect
ModuleNotFoundError: No module named 'pexpect'
make: *** [Makefile:7: build_kernel] Error 1
Running only pipenv install logs (no errors):
$ pipenv install
>>>
Installing dependencies from Pipfile.lock (677338)...
🐍 ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 2/2 — 00:00:00
Ignoring colorama: markers 'sys_platform == "win32"' don't match your environment
Ignoring pywin32: markers 'sys_platform == "win32" and platform_python_implementation != "PyPy"' don't match your environment
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
PS also see #6 (it is actual here, as Ignoring colorama ... win32, Ignoring pywin32 ... win32 messages recieved)
Describe the bug
Can't install dependencies and environment by
pipenv
, when usemake build_kernel
(or any other make with target, that will cause run of thebuild_kernel
target). However, if I run justpipenv install
, there will be no errors.How to overcome while not fixed? ...
To Reproduce Steps to reproduce the behavior:
make build_kernel
(or any other make with target, that will cause run of thebuild_kernel
target)Expected behavior
pipenv should install all needed dependencies without errors
Additional context
Tag: v1.0.0
Ubuntu OS Info
Running only
pipenv install
logs (no errors):PS also see #6 (it is actual here, as
Ignoring colorama ... win32
,Ignoring pywin32 ... win32
messages recieved)