Skip to content

Strange sysconfig behaviour for source-compiled Python #10270

Closed
@danielm-c2a

Description

@danielm-c2a

Description

A special case of #10151

The Python-3.8.2 seems to have a Windows structure despite my working on Linux. I was requested to open a new issue for this.

See: #10151 (comment)

>>> python -m pip install --upgrade opcua-client
WARNING: Value for scheme.headers does not match. Please report this to <https://github.com/pypa/pip/issues/10151>
distutils: /usr/local/include/python3.8/UNKNOWN
sysconfig: /opt/Python-3.8.2/Include/UNKNOWN
WARNING: Additional context:
user = False
home = None
root = None
prefix = None

Expected behavior

No response

pip version

21.2.2

Python version

3.8.2

OS

Pop!_OS

How to Reproduce

python -m pip install --upgrade opcua-client

Output

/opt/Python-3.8.2
├── Doc
│   ├── c-api
│   ├── data
│   ├── distributing
│   ├── distutils
│   ├── extending
│   ├── faq
│   ├── howto
│   ├── includes
│   │   └── sqlite3
│   ├── install
│   ├── installing
│   ├── library
│   ├── reference
│   ├── tools
│   │   ├── extensions
│   │   ├── static
│   │   └── templates
│   ├── tutorial
│   ├── using
│   └── whatsnew
├── Grammar
├── Include
│   ├── cpython
│   └── internal
├── Lib
│   ├── __pycache__
│   ├── asyncio
│   │   └── __pycache__
│   ├── collections
│   │   └── __pycache__
│   ├── concurrent
│   │   ├── __pycache__
│   │   └── futures
│   │       └── __pycache__
│   ├── ctypes
│   │   ├── __pycache__
│   │   ├── macholib
│   │   └── test
│   ├── curses
│   │   └── __pycache__
│   ├── dbm
│   ├── distutils
│   │   ├── __pycache__
│   │   ├── command
│   │   │   └── __pycache__
│   │   └── tests
│   ├── email
│   │   ├── __pycache__
│   │   └── mime
│   ├── encodings
│   │   └── __pycache__
│   ├── ensurepip
│   │   ├── __pycache__
│   │   └── _bundled
│   ├── html
│   │   └── __pycache__
│   ├── http
│   │   └── __pycache__
│   ├── idlelib
│   │   ├── Icons
│   │   └── idle_test
│   ├── importlib
│   │   └── __pycache__
│   ├── json
│   │   └── __pycache__
│   ├── lib2to3
│   │   ├── __pycache__
│   │   ├── fixes
│   │   ├── pgen2
│   │   │   └── __pycache__
│   │   └── tests
│   │       └── data
│   │           └── fixers
│   │               └── myfixes
│   ├── logging
│   │   └── __pycache__
│   ├── msilib
│   ├── multiprocessing
│   │   ├── __pycache__
│   │   └── dummy
│   ├── pydoc_data
│   │   └── __pycache__
│   ├── site-packages
│   ├── sqlite3
│   │   ├── __pycache__
│   │   └── test
│   ├── test
│   │   ├── audiodata
│   │   ├── capath
│   │   ├── cjkencodings
│   │   ├── crashers
│   │   ├── data
│   │   ├── decimaltestdata
│   │   ├── dtracedata
│   │   ├── eintrdata
│   │   ├── encoded_modules
│   │   ├── imghdrdata
│   │   ├── leakers
│   │   ├── libregrtest
│   │   ├── sndhdrdata
│   │   ├── subprocessdata
│   │   ├── support
│   │   ├── test_asyncio
│   │   ├── test_email
│   │   │   └── data
│   │   ├── test_import
│   │   │   └── data
│   │   │       ├── circular_imports
│   │   │       │   └── subpkg
│   │   │       ├── package
│   │   │       └── package2
│   │   ├── test_importlib
│   │   │   ├── builtin
│   │   │   ├── data
│   │   │   ├── data01
│   │   │   │   └── subdirectory
│   │   │   ├── data02
│   │   │   │   ├── one
│   │   │   │   └── two
│   │   │   ├── data03
│   │   │   │   └── namespace
│   │   │   │       ├── portion1
│   │   │   │       └── portion2
│   │   │   ├── extension
│   │   │   ├── frozen
│   │   │   ├── import_
│   │   │   ├── namespace_pkgs
│   │   │   │   ├── both_portions
│   │   │   │   │   └── foo
│   │   │   │   ├── module_and_namespace_package
│   │   │   │   │   └── a_test
│   │   │   │   ├── not_a_namespace_pkg
│   │   │   │   │   └── foo
│   │   │   │   ├── portion1
│   │   │   │   │   └── foo
│   │   │   │   ├── portion2
│   │   │   │   │   └── foo
│   │   │   │   ├── project1
│   │   │   │   │   └── parent
│   │   │   │   │       └── child
│   │   │   │   ├── project2
│   │   │   │   │   └── parent
│   │   │   │   │       └── child
│   │   │   │   └── project3
│   │   │   │       └── parent
│   │   │   │           └── child
│   │   │   ├── source
│   │   │   ├── zipdata01
│   │   │   └── zipdata02
│   │   ├── test_json
│   │   ├── test_tools
│   │   ├── test_warnings
│   │   │   └── data
│   │   ├── tracedmodules
│   │   ├── xmltestdata
│   │   │   └── c14n-20
│   │   └── ziptestdata
│   ├── tkinter
│   │   ├── __pycache__
│   │   └── test
│   │       ├── test_tkinter
│   │       └── test_ttk
│   ├── turtledemo
│   ├── unittest
│   │   ├── __pycache__
│   │   └── test
│   │       └── testmock
│   ├── urllib
│   │   └── __pycache__
│   ├── venv
│   │   └── scripts
│   │       ├── common
│   │       ├── nt
│   │       └── posix
│   ├── wsgiref
│   ├── xml
│   │   ├── __pycache__
│   │   ├── dom
│   │   │   └── __pycache__
│   │   ├── etree
│   │   │   └── __pycache__
│   │   ├── parsers
│   │   │   └── __pycache__
│   │   └── sax
│   │       └── __pycache__
│   └── xmlrpc
│       └── __pycache__
├── Mac
│   ├── BuildScript
│   │   ├── resources
│   │   └── scripts
│   ├── IDLE
│   │   └── IDLE.app
│   │       └── Contents
│   │           ├── MacOS
│   │           └── Resources
│   ├── Icons
│   ├── PythonLauncher
│   │   └── English.lproj
│   │       ├── MainMenu.nib
│   │       ├── MyDocument.nib
│   │       └── PreferenceWindow.nib
│   ├── Resources
│   │   ├── app
│   │   │   └── Resources
│   │   ├── framework
│   │   └── iconsrc
│   └── Tools
├── Misc
├── Modules
│   ├── _blake2
│   │   ├── clinic
│   │   └── impl
│   ├── _ctypes
│   │   ├── darwin
│   │   └── libffi_osx
│   │       ├── include
│   │       ├── powerpc
│   │       └── x86
│   ├── _decimal
│   │   ├── libmpdec
│   │   │   └── literature
│   │   └── tests
│   ├── _io
│   │   └── clinic
│   ├── _multiprocessing
│   │   └── clinic
│   ├── _sha3
│   │   ├── clinic
│   │   └── kcp
│   ├── _sqlite
│   ├── _ssl
│   ├── _xxtestfuzz
│   │   ├── dictionaries
│   │   ├── fuzz_csv_reader_corpus
│   │   ├── fuzz_json_loads_corpus
│   │   └── fuzz_sre_compile_corpus
│   ├── cjkcodecs
│   │   └── clinic
│   ├── clinic
│   └── expat
├── Objects
│   ├── clinic
│   └── stringlib
│       └── clinic
├── PC
│   ├── bdist_wininst
│   ├── clinic
│   ├── icons
│   └── layout
│       └── support
├── PCbuild
├── Parser
│   └── pgen
├── Programs
├── Python
│   └── clinic
├── Tools
│   ├── buildbot
│   ├── c-globals
│   ├── ccbench
│   ├── clinic
│   ├── demo
│   ├── freeze
│   │   └── test
│   ├── gdb
│   ├── i18n
│   ├── importbench
│   ├── iobench
│   ├── msi
│   │   ├── bundle
│   │   │   ├── bootstrap
│   │   │   └── packagegroups
│   │   ├── core
│   │   ├── dev
│   │   ├── doc
│   │   ├── exe
│   │   ├── launcher
│   │   ├── lib
│   │   ├── path
│   │   ├── pip
│   │   ├── tcltk
│   │   ├── test
│   │   ├── tools
│   │   └── ucrt
│   ├── nuget
│   ├── parser
│   ├── pynche
│   │   └── X
│   ├── scripts
│   ├── ssl
│   ├── stringbench
│   ├── test2to3
│   │   ├── test
│   │   └── test2to3
│   ├── tz
│   ├── unicode
│   │   └── python-mappings
│   └── unittestgui
├── build
│   ├── lib.linux-x86_64-3.8
│   │   └── __pycache__
│   ├── scripts-3.8
│   └── temp.linux-x86_64-3.8
│       └── opt
│           └── Python-3.8.2
│               └── Modules
│                   ├── _blake2
│                   ├── _ctypes
│                   ├── _decimal
│                   │   └── libmpdec
│                   ├── _multiprocessing
│                   ├── _sha3
│                   ├── _sqlite
│                   ├── _xxtestfuzz
│                   ├── cjkcodecs
│                   └── expat
└── m4

319 directories

Code of Conduct

Metadata

Metadata

Assignees

Labels

type: bugA confirmed bug or unintended behavior

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions