Error when running pypi2nix command
gbalduzz opened this issue · 0 comments
Description
Traceback (most recent call last):
File "/nix/store/7m8wj48q0vwvvxxpdfghw4wcvrs2551n-python3.7-pip-20.3/bin/.pip-wrapped", line 6, in
from pip._internal.main import main
File "/nix/store/phfshik2lyvccd3q6iyrsj5gip24l5bz-python3-3.7.9-env/lib/python3.7/site-packages/pip/_internal/main.py", line 13, in
from pip._internal.cli.autocompletion import autocomplete
File "/nix/store/phfshik2lyvccd3q6iyrsj5gip24l5bz-python3-3.7.9-env/lib/python3.7/site-packages/pip/_internal/cli/autocompletion.py", line 11, in
from pip._internal.cli.main_parser import create_main_parser
File "/nix/store/phfshik2lyvccd3q6iyrsj5gip24l5bz-python3-3.7.9-env/lib/python3.7/site-packages/pip/_internal/cli/main_parser.py", line 7, in
from pip._internal.cli import cmdoptions
File "/nix/store/phfshik2lyvccd3q6iyrsj5gip24l5bz-python3-3.7.9-env/lib/python3.7/site-packages/pip/_internal/cli/cmdoptions.py", line 25, in
from pip._internal.locations import USER_CACHE_DIR, get_src_prefix
File "/nix/store/phfshik2lyvccd3q6iyrsj5gip24l5bz-python3-3.7.9-env/lib/python3.7/site-packages/pip/_internal/locations.py", line 64, in
site_packages = sysconfig.get_path("purelib") # type: Optional[str]
File "/nix/store/n3m148xls7wi85mxxzy4j8cqb41byj16-python3-3.7.9/lib/python3.7/sysconfig.py", line 513, in get_path
return get_paths(scheme, vars, expand)[name]
File "/nix/store/n3m148xls7wi85mxxzy4j8cqb41byj16-python3-3.7.9/lib/python3.7/sysconfig.py", line 503, in get_paths
return _expand_vars(scheme, vars)
File "/nix/store/n3m148xls7wi85mxxzy4j8cqb41byj16-python3-3.7.9/lib/python3.7/sysconfig.py", line 172, in _expand_vars
_extend_dict(vars, get_config_vars())
File "/nix/store/n3m148xls7wi85mxxzy4j8cqb41byj16-python3-3.7.9/lib/python3.7/sysconfig.py", line 551, in get_config_vars
_init_posix(_CONFIG_VARS)
File "/nix/store/n3m148xls7wi85mxxzy4j8cqb41byj16-python3-3.7.9/lib/python3.7/sysconfig.py", line 422, in _init_posix
_temp = import(name, globals(), locals(), ['build_time_vars'], 0)
ModuleNotFoundError: No module named '_sysconfigdata__linux_x86_64-linux-gnu'
% pypi2nix --version
% pypi2nix -V python37 -e tensorflow_addons