Skip to content

Issue installing on macOS Sonoma 14.2.1 #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
emarin2642 opened this issue Jan 12, 2024 · 25 comments
Closed

Issue installing on macOS Sonoma 14.2.1 #28

emarin2642 opened this issue Jan 12, 2024 · 25 comments
Labels
bug Something isn't working

Comments

@emarin2642
Copy link

Describe the bug
Issue during the pip execution: pip install cdl

Screenshots

Issue_Install_ DataLab.pdf

@emarin2642 emarin2642 added the bug Something isn't working label Jan 12, 2024
@PierreRaybaut
Copy link
Contributor

Thanks a lot for your feedback.
Apparently, an error has occurred when trying to install one of DataLab's dependencies (namely PlotPy).
However, I'm afraid that the traceback is truncated in the attached file: would you be able to share the full traceback?

Thanks.

@emarin2642
Copy link
Author

Thanks for your quick answer. Put below the complete traceback from the installation and you are right when I install the PlotPy package alone the same issue raises.
issue_cdl_install_1.pdf
issue_cdl_install_2.pdf
issue_cdl_install_3.pdf
Regards
Emmanuel

@PierreRaybaut
Copy link
Contributor

Thanks again for the feedback.

Unfortunately, the traceback message is quite cryptic.

Would you be able to do the following steps to help me understanding where the problem comes from?

  1. Download the PlotPy source archive
  2. Extract it
  3. Execute the command python setup.py build
  4. Share the full console output, as text preferably (the screenshots in PDF file prevent me from searching text)

@emarin2642
Copy link
Author

I have tried to install PlotPy from the source but I have Python 3.12 on my MacBook and from Python 3.11 distutils has been removed.

@emarin2642
Copy link
Author

here the issues when I try to install the ditties

python3 -m pip install distutils
ERROR: Could not find a version that satisfies the requirement distutils (from versions: none)
ERROR: No matching distribution found for distutils

@PierreRaybaut
Copy link
Contributor

I have tried to install PlotPy from the source but I have Python 3.12 on my MacBook and from Python 3.11 distutils has been removed.

Sorry about that, I was expecting Python 3.9 as written in your PDFs.

With more recent versions of Python, you may use build:

pip install build
cd PlotPy-2.0.3
python -m build --no-isolation

@emarin2642
Copy link
Author

I have tried but now I have an issue with Cython... I'm definitely unlucky and I'm afraid that I have to uninstall python 3.12 and install 3.9 !

pip install Cython
Collecting Cython
Downloading Cython-3.0.8-cp312-cp312-macosx_10_9_x86_64.whl.metadata (3.2 kB)
Downloading Cython-3.0.8-cp312-cp312-macosx_10_9_x86_64.whl (3.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 18.8 MB/s eta 0:00:00
Installing collected packages: Cython
Successfully installed Cython-3.0.8
marin@empcarlabhc152 PlotPy-2.0.3 % python3 -m build --no-isolation

  • Getting build dependencies for sdist...

ERROR Missing dependencies:
wheel
cython~=0.29.0
marin@empcarlabhc152 PlotPy-2.0.3 % python3 -m build --no-isolation

  • Getting build dependencies for sdist...

ERROR Missing dependencies:
wheel
cython~=0.29.0

@PierreRaybaut
Copy link
Contributor

You may simply downgrade Cython for a time being:

pip uninstall Cython
pip install Cython==0.29.37

@emarin2642
Copy link
Author

Hello,
I have installed the given Cython version, but I still have an issue with the installation of PlotPy see below. I have tried to install 'sdist' separately without success.

XXX PlotPy-2.0.3 % python3 -m build --no-isolation

  • Getting build dependencies for sdist...

ERROR Missing dependencies:
wheel
XXX PlotPy-2.0.3 % pip install sdist
Collecting sdist
Downloading sdist-0.0.0.tar.gz (572 bytes)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: sdist
Building wheel for sdist (pyproject.toml) ... done
Created wheel for sdist: filename=sdist-0.0.0-py3-none-any.whl size=903 sha256=1474028c901f2128df4261e6260fd5f95aa21088e672198fb4bbc5caedacd673
Stored in directory: /Users/marin/Library/Caches/pip/wheels/90/a6/bd/18bbf70b9532815512cecb66e4d6bd4354d77d7e5e06c12042
Successfully built sdist
Installing collected packages: sdist
Successfully installed sdist-0.0.0
XXX PlotPy-2.0.3 % python3 -m build --no-isolation

  • Getting build dependencies for sdist...

ERROR Missing dependencies:
wheel
XXX PlotPy-2.0.3 %

@PierreRaybaut
Copy link
Contributor

Almost there, now you need to install wheel:

pip install wheel

@emarin2642
Copy link
Author

Thank you for your help, I have succeeded to install the package Plotpy and after cdl but, there is always a but, when I try to execute cdl, I have the following issue. I have no idea how to solve it :(

XXX ~ % cdl
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.12/bin/cdl", line 5, in
from cdl.app import run
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/cdl/init.py", line 29, in
import cdl.core.io # analysis:ignore
^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/cdl/core/io/init.py", line 11, in
import cdl.core.io.h5 # pylint: disable=unused-import
^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/cdl/core/io/h5/init.py", line 12, in
from cdl.core.io.h5 import generic # pylint: disable=W0611
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/cdl/core/io/h5/generic.py", line 15, in
from cdl.core.io.h5 import common, utils
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/cdl/core/io/h5/common.py", line 21, in
from cdl.config import Conf
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/cdl/config.py", line 20, in
from plotpy.config import CONF as PLOTPY_CONF
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/plotpy/config.py", line 16, in
from guidata import qthelpers
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/guidata/qthelpers.py", line 66, in
from qtpy import QtCore as QC
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/qtpy/init.py", line 287, in
raise QtBindingsNotFoundError from None
qtpy.QtBindingsNotFoundError: No Qt bindings could be found

@PierreRaybaut
Copy link
Contributor

pip install PyQt5 should solve this one

@emarin2642
Copy link
Author

Thanks everything works perfectly.

@PierreRaybaut
Copy link
Contributor

By the way, I suspect that if you had executed pip install cdl (or python -m pip install cdl, which the same but may be useful to choose the right Python interpreter) from the start with your Python 3.12, it would have worked right away.

Now, I would be interested in understanding why it didn't work with your Python 3.9 installation.
Would you be able to do the same manipulations with your initial Python 3.9 installation?
That is:

python39 -m pip install wheel build
cd PlotPy-2.0.3
python -m build --no-isolation

(where python39 is your /usr/local/lib/python3.9 Python instance)

@emarin2642
Copy link
Author

I really want to help you by testing these commands but when I execute 'python39' in a terminal, I have this answer : zsh: command not found: python39
The confusion comes from the fact that I have installed python3.9 with homebrew and python3.12 directly by using the installer from the original website.
Python 3.9 is located at the folowing path: /usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/bin
For python it is: /Library/Frameworks/Python.framework/Versions/3.12/bin

I can do any other trials, just tell me.

@PierreRaybaut
Copy link
Contributor

Sorry for the misunderstanding, when I wrote python39, I was implying that you would need to replace it with something pointing to your Python 3.9 executable:

  1. Either by creating an alias: alias python39=/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/bin/python3.9 (just check the name of the executable in the homebrew install folder: is it python3.9 as I suppose it is? or is it simply python? and adjust my proposition accordingly)
  2. Or by prepending PATH, using export PATH=/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/bin:$PATH. Then if you type python (or python3.9), it should point to the homebrew Python install

But... as I mentioned in my previous comment, I suspect that homebrew is your default Python install (see the path usr/local/bin/python3.9 in the PDF attached with your very first post.
To be sure, you may type which python in your terminal: the output should be the full path of your default Python install.
So, if that's the case (if it is pointing to your Python 3.9 homebrew install), then you can test the following:

python -m pip install wheel build
cd PlotPy-2.0.3
python -m build --no-isolation

@emarin2642
Copy link
Author

I have tried with python 3.9 but the build of the PlotPy package generate a strange name like you can see below. So, the installation of the cdl cannot done.

XXXPlotPy-2.0.3 % python3.9 -m build --no-isolation

  • Getting build dependencies for sdist...
    running egg_info
    writing UNKNOWN.egg-info/PKG-INFO
    writing dependency_links to UNKNOWN.egg-info/dependency_links.txt
    writing top-level names to UNKNOWN.egg-info/top_level.txt
    reading manifest file 'UNKNOWN.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'UNKNOWN.egg-info/SOURCES.txt'
  • Building sdist...
    running sdist
    running egg_info
    writing UNKNOWN.egg-info/PKG-INFO
    writing dependency_links to UNKNOWN.egg-info/dependency_links.txt
    writing top-level names to UNKNOWN.egg-info/top_level.txt
    reading manifest file 'UNKNOWN.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'UNKNOWN.egg-info/SOURCES.txt'
    running check
    warning: Check: missing required meta-data: name, url

warning: Check: missing meta-data: either (author and author_email) or (maintainer and maintainer_email) should be supplied

creating UNKNOWN-0.0.0
creating UNKNOWN-0.0.0/src
creating UNKNOWN-0.0.0/UNKNOWN.egg-info
creating UNKNOWN-0.0.0/doc
creating UNKNOWN-0.0.0/doc/_static
creating UNKNOWN-0.0.0/doc/dev
creating UNKNOWN-0.0.0/doc/features
creating UNKNOWN-0.0.0/doc/features/items
creating UNKNOWN-0.0.0/doc/features/mathutils
creating UNKNOWN-0.0.0/doc/features/panels
creating UNKNOWN-0.0.0/doc/features/plot
creating UNKNOWN-0.0.0/doc/features/styles
creating UNKNOWN-0.0.0/doc/features/tools
creating UNKNOWN-0.0.0/doc/images
creating UNKNOWN-0.0.0/doc/images/screenshots
creating UNKNOWN-0.0.0/doc/intro
creating UNKNOWN-0.0.0/qtdesigner
copying files to UNKNOWN-0.0.0...
copying MANIFEST.in -> UNKNOWN-0.0.0
copying README.md -> UNKNOWN-0.0.0
copying plotpy-tests.desktop -> UNKNOWN-0.0.0
copying pyproject.toml -> UNKNOWN-0.0.0
copying setup.cfg -> UNKNOWN-0.0.0
copying setup.py -> UNKNOWN-0.0.0
copying ./src/contour2d.c -> UNKNOWN-0.0.0/./src
copying ./src/histogram2d.c -> UNKNOWN-0.0.0/./src
copying ./src/mandelbrot.c -> UNKNOWN-0.0.0/./src
copying ./src/pcolor.cpp -> UNKNOWN-0.0.0/./src
copying ./src/scaler.cpp -> UNKNOWN-0.0.0/./src
copying UNKNOWN.egg-info/PKG-INFO -> UNKNOWN-0.0.0/UNKNOWN.egg-info
copying UNKNOWN.egg-info/SOURCES.txt -> UNKNOWN-0.0.0/UNKNOWN.egg-info
copying UNKNOWN.egg-info/dependency_links.txt -> UNKNOWN-0.0.0/UNKNOWN.egg-info
copying UNKNOWN.egg-info/top_level.txt -> UNKNOWN-0.0.0/UNKNOWN.egg-info
copying doc/changelog.rst -> UNKNOWN-0.0.0/doc
copying doc/conf.py -> UNKNOWN-0.0.0/doc
copying doc/index.rst -> UNKNOWN-0.0.0/doc
copying doc/requirements.rst -> UNKNOWN-0.0.0/doc
copying doc/update_requirements.py -> UNKNOWN-0.0.0/doc
copying doc/_static/favicon.ico -> UNKNOWN-0.0.0/doc/_static
copying doc/dev/build.rst -> UNKNOWN-0.0.0/doc/dev
copying doc/dev/contribute.rst -> UNKNOWN-0.0.0/doc/dev
copying doc/dev/guiqwt_to_plotpy.csv -> UNKNOWN-0.0.0/doc/dev
copying doc/dev/guiqwt_to_plotpy.rst -> UNKNOWN-0.0.0/doc/dev
copying doc/dev/index.rst -> UNKNOWN-0.0.0/doc/dev
copying doc/dev/platforms.rst -> UNKNOWN-0.0.0/doc/dev
copying doc/dev/v1_to_v2.csv -> UNKNOWN-0.0.0/doc/dev
copying doc/dev/v1_to_v2.rst -> UNKNOWN-0.0.0/doc/dev
copying doc/features/fit.rst -> UNKNOWN-0.0.0/doc/features
copying doc/features/fliprotate.rst -> UNKNOWN-0.0.0/doc/features
copying doc/features/imagefile.rst -> UNKNOWN-0.0.0/doc/features
copying doc/features/index.rst -> UNKNOWN-0.0.0/doc/features
copying doc/features/io.rst -> UNKNOWN-0.0.0/doc/features
copying doc/features/pyplot.rst -> UNKNOWN-0.0.0/doc/features
copying doc/features/resizedialog.rst -> UNKNOWN-0.0.0/doc/features
copying doc/features/rotatecrop.rst -> UNKNOWN-0.0.0/doc/features
copying doc/features/selectdialog.rst -> UNKNOWN-0.0.0/doc/features
copying doc/features/signals.rst -> UNKNOWN-0.0.0/doc/features
copying doc/features/items/builder.rst -> UNKNOWN-0.0.0/doc/features/items
copying doc/features/items/examples.rst -> UNKNOWN-0.0.0/doc/features/items
copying doc/features/items/index.rst -> UNKNOWN-0.0.0/doc/features/items
copying doc/features/items/overview.rst -> UNKNOWN-0.0.0/doc/features/items
copying doc/features/items/reference.rst -> UNKNOWN-0.0.0/doc/features/items
copying doc/features/mathutils/colormap.rst -> UNKNOWN-0.0.0/doc/features/mathutils
copying doc/features/mathutils/geometry.rst -> UNKNOWN-0.0.0/doc/features/mathutils
copying doc/features/mathutils/index.rst -> UNKNOWN-0.0.0/doc/features/mathutils
copying doc/features/mathutils/scaler.rst -> UNKNOWN-0.0.0/doc/features/mathutils
copying doc/features/panels/index.rst -> UNKNOWN-0.0.0/doc/features/panels
copying doc/features/panels/overview.rst -> UNKNOWN-0.0.0/doc/features/panels
copying doc/features/panels/reference.rst -> UNKNOWN-0.0.0/doc/features/panels
copying doc/features/plot/examples.rst -> UNKNOWN-0.0.0/doc/features/plot
copying doc/features/plot/index.rst -> UNKNOWN-0.0.0/doc/features/plot
copying doc/features/plot/overview.rst -> UNKNOWN-0.0.0/doc/features/plot
copying doc/features/plot/reference.rst -> UNKNOWN-0.0.0/doc/features/plot
copying doc/features/styles/index.rst -> UNKNOWN-0.0.0/doc/features/styles
copying doc/features/styles/overview.rst -> UNKNOWN-0.0.0/doc/features/styles
copying doc/features/styles/reference.rst -> UNKNOWN-0.0.0/doc/features/styles
copying doc/features/tools/examples.rst -> UNKNOWN-0.0.0/doc/features/tools
copying doc/features/tools/index.rst -> UNKNOWN-0.0.0/doc/features/tools
copying doc/features/tools/overview.rst -> UNKNOWN-0.0.0/doc/features/tools
copying doc/features/tools/reference.rst -> UNKNOWN-0.0.0/doc/features/tools
copying doc/images/my_plot_manager.png -> UNKNOWN-0.0.0/doc/images
copying doc/images/my_plot_manager.svg -> UNKNOWN-0.0.0/doc/images
copying doc/images/panorama.png -> UNKNOWN-0.0.0/doc/images
copying doc/images/panorama.svg -> UNKNOWN-0.0.0/doc/images
copying doc/images/plot_widgets.png -> UNKNOWN-0.0.0/doc/images
copying doc/images/plot_widgets.svg -> UNKNOWN-0.0.0/doc/images
copying doc/images/plotpy-banner.png -> UNKNOWN-0.0.0/doc/images
copying doc/images/plotpy-vertical.png -> UNKNOWN-0.0.0/doc/images
copying doc/images/screenshots/init.png -> UNKNOWN-0.0.0/doc/images/screenshots
copying doc/images/screenshots/computations.png -> UNKNOWN-0.0.0/doc/images/screenshots
copying doc/images/screenshots/contrast.png -> UNKNOWN-0.0.0/doc/images/screenshots
copying doc/images/screenshots/cross_section.png -> UNKNOWN-0.0.0/doc/images/screenshots
copying doc/images/screenshots/cross_section2.png -> UNKNOWN-0.0.0/doc/images/screenshots
copying doc/images/screenshots/dotarraydemo.png -> UNKNOWN-0.0.0/doc/images/screenshots
copying doc/images/screenshots/filtertest1.png -> UNKNOWN-0.0.0/doc/images/screenshots
copying doc/images/screenshots/filtertest2.png -> UNKNOWN-0.0.0/doc/images/screenshots
copying doc/images/screenshots/fit.png -> UNKNOWN-0.0.0/doc/images/screenshots
copying doc/images/screenshots/get_point.png -> UNKNOWN-0.0.0/doc/images/screenshots
copying doc/images/screenshots/hist2d.png -> UNKNOWN-0.0.0/doc/images/screenshots
copying doc/images/screenshots/image_plot_tools.png -> UNKNOWN-0.0.0/doc/images/screenshots
copying doc/images/screenshots/imagefilter.png -> UNKNOWN-0.0.0/doc/images/screenshots
copying doc/images/screenshots/imagesuperp.png -> UNKNOWN-0.0.0/doc/images/screenshots
copying doc/images/screenshots/imagexy.png -> UNKNOWN-0.0.0/doc/images/screenshots
copying doc/images/screenshots/manager.png -> UNKNOWN-0.0.0/doc/images/screenshots
copying doc/images/screenshots/mandelbrot.png -> UNKNOWN-0.0.0/doc/images/screenshots
copying doc/images/screenshots/pcolor.png -> UNKNOWN-0.0.0/doc/images/screenshots
copying doc/images/screenshots/plot.png -> UNKNOWN-0.0.0/doc/images/screenshots
copying doc/images/screenshots/simple_dialog.png -> UNKNOWN-0.0.0/doc/images/screenshots
copying doc/images/screenshots/simple_window.png -> UNKNOWN-0.0.0/doc/images/screenshots
copying doc/images/screenshots/transform.png -> UNKNOWN-0.0.0/doc/images/screenshots
copying doc/intro/examples.rst -> UNKNOWN-0.0.0/doc/intro
copying doc/intro/index.rst -> UNKNOWN-0.0.0/doc/intro
copying doc/intro/installation.rst -> UNKNOWN-0.0.0/doc/intro
copying doc/intro/licenses.rst -> UNKNOWN-0.0.0/doc/intro
copying doc/intro/motivation.rst -> UNKNOWN-0.0.0/doc/intro
copying doc/intro/overview.rst -> UNKNOWN-0.0.0/doc/intro
copying qtdesigner/plotplugin.py -> UNKNOWN-0.0.0/qtdesigner
copying src/arrays.hpp -> UNKNOWN-0.0.0/src
copying src/contour2d.pyx -> UNKNOWN-0.0.0/src
copying src/debug.hpp -> UNKNOWN-0.0.0/src
copying src/histogram2d.pyx -> UNKNOWN-0.0.0/src
copying src/mandelbrot.pyx -> UNKNOWN-0.0.0/src
copying src/points.hpp -> UNKNOWN-0.0.0/src
copying src/scaler.hpp -> UNKNOWN-0.0.0/src
copying src/traits.hpp -> UNKNOWN-0.0.0/src
Writing UNKNOWN-0.0.0/setup.cfg
Creating tar archive
removing 'UNKNOWN-0.0.0' (and everything under it)

  • Building wheel from sdist

  • Getting build dependencies for wheel...
    running egg_info
    writing UNKNOWN.egg-info/PKG-INFO
    writing dependency_links to UNKNOWN.egg-info/dependency_links.txt
    writing top-level names to UNKNOWN.egg-info/top_level.txt
    reading manifest file 'UNKNOWN.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'UNKNOWN.egg-info/SOURCES.txt'

  • Building wheel...
    running bdist_wheel
    running build
    running build_ext
    building 'plotpy.mandelbrot' extension
    creating build
    creating build/temp.macosx-11-x86_64-3.9
    creating build/temp.macosx-11-x86_64-3.9/src
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I./src -I/usr/local/lib/python3.9/site-packages/numpy/core/include -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/opt/tcl-tk/include -I/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c ./src/mandelbrot.c -o build/temp.macosx-11-x86_64-3.9/./src/mandelbrot.o -Wno-cpp
    creating build/lib.macosx-11-x86_64-3.9
    creating build/lib.macosx-11-x86_64-3.9/plotpy
    clang -bundle -undefined dynamic_lookup build/temp.macosx-11-x86_64-3.9/./src/mandelbrot.o -L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/tcl-tk/lib -o build/lib.macosx-11-x86_64-3.9/plotpy/mandelbrot.cpython-39-darwin.so
    building 'plotpy.histogram2d' extension
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I./src -I/usr/local/lib/python3.9/site-packages/numpy/core/include -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/opt/tcl-tk/include -I/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c ./src/histogram2d.c -o build/temp.macosx-11-x86_64-3.9/./src/histogram2d.o -Wno-cpp
    clang -bundle -undefined dynamic_lookup build/temp.macosx-11-x86_64-3.9/./src/histogram2d.o -L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/tcl-tk/lib -o build/lib.macosx-11-x86_64-3.9/plotpy/histogram2d.cpython-39-darwin.so
    building 'plotpy.contour2d' extension
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I./src -I/usr/local/lib/python3.9/site-packages/numpy/core/include -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/opt/tcl-tk/include -I/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c ./src/contour2d.c -o build/temp.macosx-11-x86_64-3.9/./src/contour2d.o -Wno-cpp
    ./src/contour2d.c:29490:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
    CYTHON_FALLTHROUGH;
    ^
    ./src/contour2d.c:345:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
    #define CYTHON_FALLTHROUGH attribute((fallthrough))
    ^
    ./src/contour2d.c:29501:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
    CYTHON_FALLTHROUGH;
    ^
    ./src/contour2d.c:345:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
    #define CYTHON_FALLTHROUGH attribute((fallthrough))
    ^
    2 warnings generated.
    clang -bundle -undefined dynamic_lookup build/temp.macosx-11-x86_64-3.9/./src/contour2d.o -L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/tcl-tk/lib -o build/lib.macosx-11-x86_64-3.9/plotpy/contour2d.cpython-39-darwin.so
    building 'plotpy._scaler' extension
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -I./src -I/usr/local/lib/python3.9/site-packages/numpy/core/include -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/opt/tcl-tk/include -I/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c ./src/pcolor.cpp -o build/temp.macosx-11-x86_64-3.9/./src/pcolor.o -Wall -std=c++11
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -I./src -I/usr/local/lib/python3.9/site-packages/numpy/core/include -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/opt/tcl-tk/include -I/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c ./src/scaler.cpp -o build/temp.macosx-11-x86_64-3.9/./src/scaler.o -Wall -std=c++11
    clang++ -bundle -undefined dynamic_lookup build/temp.macosx-11-x86_64-3.9/./src/pcolor.o build/temp.macosx-11-x86_64-3.9/./src/scaler.o -L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/tcl-tk/lib -o build/lib.macosx-11-x86_64-3.9/plotpy/_scaler.cpython-39-darwin.so
    installing to build/bdist.macosx-11-x86_64/wheel
    running install
    running install_lib
    creating build/bdist.macosx-11-x86_64
    creating build/bdist.macosx-11-x86_64/wheel
    creating build/bdist.macosx-11-x86_64/wheel/plotpy
    copying build/lib.macosx-11-x86_64-3.9/plotpy/histogram2d.cpython-39-darwin.so -> build/bdist.macosx-11-x86_64/wheel/plotpy
    copying build/lib.macosx-11-x86_64-3.9/plotpy/contour2d.cpython-39-darwin.so -> build/bdist.macosx-11-x86_64/wheel/plotpy
    copying build/lib.macosx-11-x86_64-3.9/plotpy/_scaler.cpython-39-darwin.so -> build/bdist.macosx-11-x86_64/wheel/plotpy
    copying build/lib.macosx-11-x86_64-3.9/plotpy/mandelbrot.cpython-39-darwin.so -> build/bdist.macosx-11-x86_64/wheel/plotpy
    running install_egg_info
    running egg_info
    writing UNKNOWN.egg-info/PKG-INFO
    writing dependency_links to UNKNOWN.egg-info/dependency_links.txt
    writing top-level names to UNKNOWN.egg-info/top_level.txt
    reading manifest file 'UNKNOWN.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'UNKNOWN.egg-info/SOURCES.txt'
    Copying UNKNOWN.egg-info to build/bdist.macosx-11-x86_64/wheel/UNKNOWN-0.0.0-py3.9.egg-info
    running install_scripts
    creating build/bdist.macosx-11-x86_64/wheel/UNKNOWN-0.0.0.dist-info/WHEEL
    creating '/Users/marin/Downloads/PlotPy-2.0.3/dist/tmp8qez8l2q/UNKNOWN-0.0.0-cp39-cp39-macosx_11_0_x86_64.whl' and adding 'build/bdist.macosx-11-x86_64/wheel' to it
    adding 'plotpy/_scaler.cpython-39-darwin.so'
    adding 'plotpy/contour2d.cpython-39-darwin.so'
    adding 'plotpy/histogram2d.cpython-39-darwin.so'
    adding 'plotpy/mandelbrot.cpython-39-darwin.so'
    adding 'UNKNOWN-0.0.0.dist-info/METADATA'
    adding 'UNKNOWN-0.0.0.dist-info/WHEEL'
    adding 'UNKNOWN-0.0.0.dist-info/top_level.txt'
    adding 'UNKNOWN-0.0.0.dist-info/RECORD'
    removing build/bdist.macosx-11-x86_64/wheel
    Successfully built UNKNOWN-0.0.0.tar.gz and UNKNOWN-0.0.0-cp39-cp39-macosx_11_0_x86_64.whl
    marin@empcarlabhc152 PlotPy-2.0.3 % python3.9 -m pip install cdl
    DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at Python is deprecating distutils.cfg Homebrew/homebrew-core#76621
    Collecting cdl
    Using cached cdl-0.10.1-py3-none-any.whl.metadata (11 kB)
    Requirement already satisfied: h5py>=3.0 in /usr/local/lib/python3.9/site-packages (from cdl) (3.1.0)
    Requirement already satisfied: NumPy>=1.21 in /usr/local/lib/python3.9/site-packages (from cdl) (1.26.3)
    Collecting SciPy>=1.7 (from cdl)
    Using cached scipy-1.11.4-cp39-cp39-macosx_10_9_x86_64.whl.metadata (60 kB)
    Collecting scikit-image>=0.18 (from cdl)
    Using cached scikit_image-0.22.0-cp39-cp39-macosx_10_9_x86_64.whl.metadata (13 kB)
    Collecting opencv-python-headless>=4.5 (from cdl)
    Using cached opencv_python_headless-4.9.0.80-cp37-abi3-macosx_10_16_x86_64.whl.metadata (20 kB)
    Collecting PyWavelets>=1.1 (from cdl)
    Using cached pywavelets-1.5.0-cp39-cp39-macosx_10_13_x86_64.whl.metadata (9.0 kB)
    Collecting psutil>=5.5 (from cdl)
    Using cached psutil-5.9.7-cp36-abi3-macosx_10_9_x86_64.whl.metadata (21 kB)
    Requirement already satisfied: guidata>=3.2 in /usr/local/lib/python3.9/site-packages (from cdl) (3.2.2)
    Collecting PlotPy>=2.0 (from cdl)
    Using cached PlotPy-2.0.3.tar.gz (5.9 MB)
    Installing build dependencies ... done
    Getting requirements to build wheel ... done
    Preparing metadata (pyproject.toml) ... done
    Requirement already satisfied: QtPy>=1.9 in /usr/local/lib/python3.9/site-packages (from cdl) (2.4.1)
    Requirement already satisfied: requests in /usr/local/lib/python3.9/site-packages (from guidata>=3.2->cdl) (2.25.1)
    Requirement already satisfied: tomli in /usr/local/lib/python3.9/site-packages (from guidata>=3.2->cdl) (2.0.1)
    Collecting PythonQwt>=0.10 (from PlotPy>=2.0->cdl)
    Using cached PythonQwt-0.11.2-py3-none-any.whl.metadata (45 kB)
    Requirement already satisfied: Pillow in /usr/local/lib/python3.9/site-packages (from PlotPy>=2.0->cdl) (8.1.0)
    Collecting tifffile (from PlotPy>=2.0->cdl)
    Using cached tifffile-2023.12.9-py3-none-any.whl.metadata (31 kB)
    Requirement already satisfied: packaging in /usr/local/lib/python3.9/site-packages (from QtPy>=1.9->cdl) (20.9)
    Collecting networkx>=2.8 (from scikit-image>=0.18->cdl)
    Using cached networkx-3.2.1-py3-none-any.whl.metadata (5.2 kB)
    Collecting Pillow (from PlotPy>=2.0->cdl)
    Using cached pillow-10.2.0-cp39-cp39-macosx_10_10_x86_64.whl.metadata (9.7 kB)
    Collecting imageio>=2.27 (from scikit-image>=0.18->cdl)
    Using cached imageio-2.33.1-py3-none-any.whl.metadata (4.9 kB)
    Collecting packaging (from QtPy>=1.9->cdl)
    Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB)
    Collecting lazy_loader>=0.3 (from scikit-image>=0.18->cdl)
    Using cached lazy_loader-0.3-py3-none-any.whl.metadata (4.3 kB)
    Requirement already satisfied: chardet<5,>=3.0.2 in /usr/local/lib/python3.9/site-packages (from requests->guidata>=3.2->cdl) (4.0.0)
    Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.9/site-packages (from requests->guidata>=3.2->cdl) (2.10)
    Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.9/site-packages (from requests->guidata>=3.2->cdl) (1.26.3)
    Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/site-packages (from requests->guidata>=3.2->cdl) (2020.12.5)
    Using cached cdl-0.10.1-py3-none-any.whl (22.8 MB)
    Using cached opencv_python_headless-4.9.0.80-cp37-abi3-macosx_10_16_x86_64.whl (55.7 MB)
    Using cached psutil-5.9.7-cp36-abi3-macosx_10_9_x86_64.whl (245 kB)
    Using cached pywavelets-1.5.0-cp39-cp39-macosx_10_13_x86_64.whl (4.4 MB)
    Using cached scikit_image-0.22.0-cp39-cp39-macosx_10_9_x86_64.whl (13.9 MB)
    Using cached scipy-1.11.4-cp39-cp39-macosx_10_9_x86_64.whl (37.3 MB)
    Using cached imageio-2.33.1-py3-none-any.whl (313 kB)
    Using cached lazy_loader-0.3-py3-none-any.whl (9.1 kB)
    Using cached networkx-3.2.1-py3-none-any.whl (1.6 MB)
    Using cached packaging-23.2-py3-none-any.whl (53 kB)
    Using cached pillow-10.2.0-cp39-cp39-macosx_10_10_x86_64.whl (3.5 MB)
    Using cached PythonQwt-0.11.2-py3-none-any.whl (1.0 MB)
    Using cached tifffile-2023.12.9-py3-none-any.whl (223 kB)
    Building wheels for collected packages: PlotPy
    Building wheel for PlotPy (pyproject.toml) ... error
    error: subprocess-exited-with-error

    × Building wheel for PlotPy (pyproject.toml) did not run successfully.
    │ exit code: 1
    ╰─> [71 lines of output]
    Traceback (most recent call last):
    File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
    main()
    File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
    json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
    return _build_backend().build_wheel(wheel_directory, config_settings,
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 404, in build_wheel
    return self._build_with_temp_dir(
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 389, in _build_with_temp_dir
    self.run_setup()
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 311, in run_setup
    exec(code, locals())
    File "", line 58, in
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
    self.run_command(cmd)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 963, in run_command
    super().run_command(command)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 368, in run
    self.run_command("build")
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
    self.distribution.run_command(command)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 963, in run_command
    super().run_command(command)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/build.py", line 131, in run
    self.run_command(cmd_name)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
    self.distribution.run_command(command)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 963, in run_command
    super().run_command(command)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 88, in run
    _build_ext.run(self)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
    _build_ext.build_ext.run(self)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
    self.build_extensions()
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
    _build_ext.build_ext.build_extensions(self)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 467, in build_extensions
    self._build_extensions_serial()
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 493, in _build_extensions_serial
    self.build_extension(ext)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 249, in build_extension
    _build_ext.build_extension(self, ext)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 548, in build_extension
    objects = self.compiler.compile(
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/ccompiler.py", line 600, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/unixccompiler.py", line 185, in _compile
    self.spawn(compiler_so + cc_args + [src, '-o', obj] + extra_postargs)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/ccompiler.py", line 1041, in spawn
    spawn(cmd, dry_run=self.dry_run, **kwargs)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/spawn.py", line 57, in spawn
    proc = subprocess.Popen(cmd, env=env)
    File "/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 947, in init
    self._execute_child(args, executable, preexec_fn, close_fds,
    File "/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 1739, in _execute_child
    env_list.append(k + b'=' + os.fsencode(v))
    File "/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/os.py", line 810, in fsencode
    filename = fspath(filename) # Does type-checking of filename.
    TypeError: expected str, bytes or os.PathLike object, not int
    [end of output]

    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for PlotPy
    Failed to build PlotPy
    ERROR: Could not build wheels for PlotPy, which is required to install pyproject.toml-based projects
    XXX PlotPy-2.0.3 %

@emarin2642
Copy link
Author

I found also an issue with the use of DataLab and the polynomial fit like you can see in the attached screenshot. It is strange because the other fits work perfectly.
DataLab - IOssue polynomial fit.pdf

@PierreRaybaut
Copy link
Contributor

I have tried with python 3.9 but the build of the PlotPy package generate a strange name like you can see below. So, the installation of the cdl cannot done.

XXXPlotPy-2.0.3 % python3.9 -m build --no-isolation

  • Getting build dependencies for sdist...
    running egg_info
    writing UNKNOWN.egg-info/PKG-INFO
    writing dependency_links to UNKNOWN.egg-info/dependency_links.txt
    writing top-level names to UNKNOWN.egg-info/top_level.txt
    reading manifest file 'UNKNOWN.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'UNKNOWN.egg-info/SOURCES.txt'
  • Building sdist...
    running sdist
    running egg_info
    writing UNKNOWN.egg-info/PKG-INFO
    writing dependency_links to UNKNOWN.egg-info/dependency_links.txt
    writing top-level names to UNKNOWN.egg-info/top_level.txt
    reading manifest file 'UNKNOWN.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'UNKNOWN.egg-info/SOURCES.txt'
    running check
    warning: Check: missing required meta-data: name, url

warning: Check: missing meta-data: either (author and author_email) or (maintainer and maintainer_email) should be supplied

creating UNKNOWN-0.0.0 creating UNKNOWN-0.0.0/src creating UNKNOWN-0.0.0/UNKNOWN.egg-info creating UNKNOWN-0.0.0/doc creating UNKNOWN-0.0.0/doc/_static creating UNKNOWN-0.0.0/doc/dev creating UNKNOWN-0.0.0/doc/features creating UNKNOWN-0.0.0/doc/features/items creating UNKNOWN-0.0.0/doc/features/mathutils creating UNKNOWN-0.0.0/doc/features/panels creating UNKNOWN-0.0.0/doc/features/plot creating UNKNOWN-0.0.0/doc/features/styles creating UNKNOWN-0.0.0/doc/features/tools creating UNKNOWN-0.0.0/doc/images creating UNKNOWN-0.0.0/doc/images/screenshots creating UNKNOWN-0.0.0/doc/intro creating UNKNOWN-0.0.0/qtdesigner copying files to UNKNOWN-0.0.0... copying MANIFEST.in -> UNKNOWN-0.0.0 copying README.md -> UNKNOWN-0.0.0 copying plotpy-tests.desktop -> UNKNOWN-0.0.0 copying pyproject.toml -> UNKNOWN-0.0.0 copying setup.cfg -> UNKNOWN-0.0.0 copying setup.py -> UNKNOWN-0.0.0 copying ./src/contour2d.c -> UNKNOWN-0.0.0/./src copying ./src/histogram2d.c -> UNKNOWN-0.0.0/./src copying ./src/mandelbrot.c -> UNKNOWN-0.0.0/./src copying ./src/pcolor.cpp -> UNKNOWN-0.0.0/./src copying ./src/scaler.cpp -> UNKNOWN-0.0.0/./src copying UNKNOWN.egg-info/PKG-INFO -> UNKNOWN-0.0.0/UNKNOWN.egg-info copying UNKNOWN.egg-info/SOURCES.txt -> UNKNOWN-0.0.0/UNKNOWN.egg-info copying UNKNOWN.egg-info/dependency_links.txt -> UNKNOWN-0.0.0/UNKNOWN.egg-info copying UNKNOWN.egg-info/top_level.txt -> UNKNOWN-0.0.0/UNKNOWN.egg-info copying doc/changelog.rst -> UNKNOWN-0.0.0/doc copying doc/conf.py -> UNKNOWN-0.0.0/doc copying doc/index.rst -> UNKNOWN-0.0.0/doc copying doc/requirements.rst -> UNKNOWN-0.0.0/doc copying doc/update_requirements.py -> UNKNOWN-0.0.0/doc copying doc/_static/favicon.ico -> UNKNOWN-0.0.0/doc/_static copying doc/dev/build.rst -> UNKNOWN-0.0.0/doc/dev copying doc/dev/contribute.rst -> UNKNOWN-0.0.0/doc/dev copying doc/dev/guiqwt_to_plotpy.csv -> UNKNOWN-0.0.0/doc/dev copying doc/dev/guiqwt_to_plotpy.rst -> UNKNOWN-0.0.0/doc/dev copying doc/dev/index.rst -> UNKNOWN-0.0.0/doc/dev copying doc/dev/platforms.rst -> UNKNOWN-0.0.0/doc/dev copying doc/dev/v1_to_v2.csv -> UNKNOWN-0.0.0/doc/dev copying doc/dev/v1_to_v2.rst -> UNKNOWN-0.0.0/doc/dev copying doc/features/fit.rst -> UNKNOWN-0.0.0/doc/features copying doc/features/fliprotate.rst -> UNKNOWN-0.0.0/doc/features copying doc/features/imagefile.rst -> UNKNOWN-0.0.0/doc/features copying doc/features/index.rst -> UNKNOWN-0.0.0/doc/features copying doc/features/io.rst -> UNKNOWN-0.0.0/doc/features copying doc/features/pyplot.rst -> UNKNOWN-0.0.0/doc/features copying doc/features/resizedialog.rst -> UNKNOWN-0.0.0/doc/features copying doc/features/rotatecrop.rst -> UNKNOWN-0.0.0/doc/features copying doc/features/selectdialog.rst -> UNKNOWN-0.0.0/doc/features copying doc/features/signals.rst -> UNKNOWN-0.0.0/doc/features copying doc/features/items/builder.rst -> UNKNOWN-0.0.0/doc/features/items copying doc/features/items/examples.rst -> UNKNOWN-0.0.0/doc/features/items copying doc/features/items/index.rst -> UNKNOWN-0.0.0/doc/features/items copying doc/features/items/overview.rst -> UNKNOWN-0.0.0/doc/features/items copying doc/features/items/reference.rst -> UNKNOWN-0.0.0/doc/features/items copying doc/features/mathutils/colormap.rst -> UNKNOWN-0.0.0/doc/features/mathutils copying doc/features/mathutils/geometry.rst -> UNKNOWN-0.0.0/doc/features/mathutils copying doc/features/mathutils/index.rst -> UNKNOWN-0.0.0/doc/features/mathutils copying doc/features/mathutils/scaler.rst -> UNKNOWN-0.0.0/doc/features/mathutils copying doc/features/panels/index.rst -> UNKNOWN-0.0.0/doc/features/panels copying doc/features/panels/overview.rst -> UNKNOWN-0.0.0/doc/features/panels copying doc/features/panels/reference.rst -> UNKNOWN-0.0.0/doc/features/panels copying doc/features/plot/examples.rst -> UNKNOWN-0.0.0/doc/features/plot copying doc/features/plot/index.rst -> UNKNOWN-0.0.0/doc/features/plot copying doc/features/plot/overview.rst -> UNKNOWN-0.0.0/doc/features/plot copying doc/features/plot/reference.rst -> UNKNOWN-0.0.0/doc/features/plot copying doc/features/styles/index.rst -> UNKNOWN-0.0.0/doc/features/styles copying doc/features/styles/overview.rst -> UNKNOWN-0.0.0/doc/features/styles copying doc/features/styles/reference.rst -> UNKNOWN-0.0.0/doc/features/styles copying doc/features/tools/examples.rst -> UNKNOWN-0.0.0/doc/features/tools copying doc/features/tools/index.rst -> UNKNOWN-0.0.0/doc/features/tools copying doc/features/tools/overview.rst -> UNKNOWN-0.0.0/doc/features/tools copying doc/features/tools/reference.rst -> UNKNOWN-0.0.0/doc/features/tools copying doc/images/my_plot_manager.png -> UNKNOWN-0.0.0/doc/images copying doc/images/my_plot_manager.svg -> UNKNOWN-0.0.0/doc/images copying doc/images/panorama.png -> UNKNOWN-0.0.0/doc/images copying doc/images/panorama.svg -> UNKNOWN-0.0.0/doc/images copying doc/images/plot_widgets.png -> UNKNOWN-0.0.0/doc/images copying doc/images/plot_widgets.svg -> UNKNOWN-0.0.0/doc/images copying doc/images/plotpy-banner.png -> UNKNOWN-0.0.0/doc/images copying doc/images/plotpy-vertical.png -> UNKNOWN-0.0.0/doc/images copying doc/images/screenshots/init.png -> UNKNOWN-0.0.0/doc/images/screenshots copying doc/images/screenshots/computations.png -> UNKNOWN-0.0.0/doc/images/screenshots copying doc/images/screenshots/contrast.png -> UNKNOWN-0.0.0/doc/images/screenshots copying doc/images/screenshots/cross_section.png -> UNKNOWN-0.0.0/doc/images/screenshots copying doc/images/screenshots/cross_section2.png -> UNKNOWN-0.0.0/doc/images/screenshots copying doc/images/screenshots/dotarraydemo.png -> UNKNOWN-0.0.0/doc/images/screenshots copying doc/images/screenshots/filtertest1.png -> UNKNOWN-0.0.0/doc/images/screenshots copying doc/images/screenshots/filtertest2.png -> UNKNOWN-0.0.0/doc/images/screenshots copying doc/images/screenshots/fit.png -> UNKNOWN-0.0.0/doc/images/screenshots copying doc/images/screenshots/get_point.png -> UNKNOWN-0.0.0/doc/images/screenshots copying doc/images/screenshots/hist2d.png -> UNKNOWN-0.0.0/doc/images/screenshots copying doc/images/screenshots/image_plot_tools.png -> UNKNOWN-0.0.0/doc/images/screenshots copying doc/images/screenshots/imagefilter.png -> UNKNOWN-0.0.0/doc/images/screenshots copying doc/images/screenshots/imagesuperp.png -> UNKNOWN-0.0.0/doc/images/screenshots copying doc/images/screenshots/imagexy.png -> UNKNOWN-0.0.0/doc/images/screenshots copying doc/images/screenshots/manager.png -> UNKNOWN-0.0.0/doc/images/screenshots copying doc/images/screenshots/mandelbrot.png -> UNKNOWN-0.0.0/doc/images/screenshots copying doc/images/screenshots/pcolor.png -> UNKNOWN-0.0.0/doc/images/screenshots copying doc/images/screenshots/plot.png -> UNKNOWN-0.0.0/doc/images/screenshots copying doc/images/screenshots/simple_dialog.png -> UNKNOWN-0.0.0/doc/images/screenshots copying doc/images/screenshots/simple_window.png -> UNKNOWN-0.0.0/doc/images/screenshots copying doc/images/screenshots/transform.png -> UNKNOWN-0.0.0/doc/images/screenshots copying doc/intro/examples.rst -> UNKNOWN-0.0.0/doc/intro copying doc/intro/index.rst -> UNKNOWN-0.0.0/doc/intro copying doc/intro/installation.rst -> UNKNOWN-0.0.0/doc/intro copying doc/intro/licenses.rst -> UNKNOWN-0.0.0/doc/intro copying doc/intro/motivation.rst -> UNKNOWN-0.0.0/doc/intro copying doc/intro/overview.rst -> UNKNOWN-0.0.0/doc/intro copying qtdesigner/plotplugin.py -> UNKNOWN-0.0.0/qtdesigner copying src/arrays.hpp -> UNKNOWN-0.0.0/src copying src/contour2d.pyx -> UNKNOWN-0.0.0/src copying src/debug.hpp -> UNKNOWN-0.0.0/src copying src/histogram2d.pyx -> UNKNOWN-0.0.0/src copying src/mandelbrot.pyx -> UNKNOWN-0.0.0/src copying src/points.hpp -> UNKNOWN-0.0.0/src copying src/scaler.hpp -> UNKNOWN-0.0.0/src copying src/traits.hpp -> UNKNOWN-0.0.0/src Writing UNKNOWN-0.0.0/setup.cfg Creating tar archive removing 'UNKNOWN-0.0.0' (and everything under it)

  • Building wheel from sdist
  • Getting build dependencies for wheel...
    running egg_info
    writing UNKNOWN.egg-info/PKG-INFO
    writing dependency_links to UNKNOWN.egg-info/dependency_links.txt
    writing top-level names to UNKNOWN.egg-info/top_level.txt
    reading manifest file 'UNKNOWN.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'UNKNOWN.egg-info/SOURCES.txt'
  • Building wheel...
    running bdist_wheel
    running build
    running build_ext
    building 'plotpy.mandelbrot' extension
    creating build
    creating build/temp.macosx-11-x86_64-3.9
    creating build/temp.macosx-11-x86_64-3.9/src
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I./src -I/usr/local/lib/python3.9/site-packages/numpy/core/include -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/opt/tcl-tk/include -I/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c ./src/mandelbrot.c -o build/temp.macosx-11-x86_64-3.9/./src/mandelbrot.o -Wno-cpp
    creating build/lib.macosx-11-x86_64-3.9
    creating build/lib.macosx-11-x86_64-3.9/plotpy
    clang -bundle -undefined dynamic_lookup build/temp.macosx-11-x86_64-3.9/./src/mandelbrot.o -L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/tcl-tk/lib -o build/lib.macosx-11-x86_64-3.9/plotpy/mandelbrot.cpython-39-darwin.so
    building 'plotpy.histogram2d' extension
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I./src -I/usr/local/lib/python3.9/site-packages/numpy/core/include -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/opt/tcl-tk/include -I/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c ./src/histogram2d.c -o build/temp.macosx-11-x86_64-3.9/./src/histogram2d.o -Wno-cpp
    clang -bundle -undefined dynamic_lookup build/temp.macosx-11-x86_64-3.9/./src/histogram2d.o -L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/tcl-tk/lib -o build/lib.macosx-11-x86_64-3.9/plotpy/histogram2d.cpython-39-darwin.so
    building 'plotpy.contour2d' extension
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I./src -I/usr/local/lib/python3.9/site-packages/numpy/core/include -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/opt/tcl-tk/include -I/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c ./src/contour2d.c -o build/temp.macosx-11-x86_64-3.9/./src/contour2d.o -Wno-cpp
    ./src/contour2d.c:29490:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
    CYTHON_FALLTHROUGH;
    ^
    ./src/contour2d.c:345:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
    #define CYTHON_FALLTHROUGH attribute((fallthrough))
    ^
    ./src/contour2d.c:29501:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
    CYTHON_FALLTHROUGH;
    ^
    ./src/contour2d.c:345:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
    #define CYTHON_FALLTHROUGH attribute((fallthrough))
    ^
    2 warnings generated.
    clang -bundle -undefined dynamic_lookup build/temp.macosx-11-x86_64-3.9/./src/contour2d.o -L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/tcl-tk/lib -o build/lib.macosx-11-x86_64-3.9/plotpy/contour2d.cpython-39-darwin.so
    building 'plotpy._scaler' extension
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -I./src -I/usr/local/lib/python3.9/site-packages/numpy/core/include -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/opt/tcl-tk/include -I/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c ./src/pcolor.cpp -o build/temp.macosx-11-x86_64-3.9/./src/pcolor.o -Wall -std=c++11
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -I./src -I/usr/local/lib/python3.9/site-packages/numpy/core/include -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/opt/tcl-tk/include -I/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c ./src/scaler.cpp -o build/temp.macosx-11-x86_64-3.9/./src/scaler.o -Wall -std=c++11
    clang++ -bundle -undefined dynamic_lookup build/temp.macosx-11-x86_64-3.9/./src/pcolor.o build/temp.macosx-11-x86_64-3.9/./src/scaler.o -L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/tcl-tk/lib -o build/lib.macosx-11-x86_64-3.9/plotpy/_scaler.cpython-39-darwin.so
    installing to build/bdist.macosx-11-x86_64/wheel
    running install
    running install_lib
    creating build/bdist.macosx-11-x86_64
    creating build/bdist.macosx-11-x86_64/wheel
    creating build/bdist.macosx-11-x86_64/wheel/plotpy
    copying build/lib.macosx-11-x86_64-3.9/plotpy/histogram2d.cpython-39-darwin.so -> build/bdist.macosx-11-x86_64/wheel/plotpy
    copying build/lib.macosx-11-x86_64-3.9/plotpy/contour2d.cpython-39-darwin.so -> build/bdist.macosx-11-x86_64/wheel/plotpy
    copying build/lib.macosx-11-x86_64-3.9/plotpy/_scaler.cpython-39-darwin.so -> build/bdist.macosx-11-x86_64/wheel/plotpy
    copying build/lib.macosx-11-x86_64-3.9/plotpy/mandelbrot.cpython-39-darwin.so -> build/bdist.macosx-11-x86_64/wheel/plotpy
    running install_egg_info
    running egg_info
    writing UNKNOWN.egg-info/PKG-INFO
    writing dependency_links to UNKNOWN.egg-info/dependency_links.txt
    writing top-level names to UNKNOWN.egg-info/top_level.txt
    reading manifest file 'UNKNOWN.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'UNKNOWN.egg-info/SOURCES.txt'
    Copying UNKNOWN.egg-info to build/bdist.macosx-11-x86_64/wheel/UNKNOWN-0.0.0-py3.9.egg-info
    running install_scripts
    creating build/bdist.macosx-11-x86_64/wheel/UNKNOWN-0.0.0.dist-info/WHEEL
    creating '/Users/marin/Downloads/PlotPy-2.0.3/dist/tmp8qez8l2q/UNKNOWN-0.0.0-cp39-cp39-macosx_11_0_x86_64.whl' and adding 'build/bdist.macosx-11-x86_64/wheel' to it
    adding 'plotpy/_scaler.cpython-39-darwin.so'
    adding 'plotpy/contour2d.cpython-39-darwin.so'
    adding 'plotpy/histogram2d.cpython-39-darwin.so'
    adding 'plotpy/mandelbrot.cpython-39-darwin.so'
    adding 'UNKNOWN-0.0.0.dist-info/METADATA'
    adding 'UNKNOWN-0.0.0.dist-info/WHEEL'
    adding 'UNKNOWN-0.0.0.dist-info/top_level.txt'
    adding 'UNKNOWN-0.0.0.dist-info/RECORD'
    removing build/bdist.macosx-11-x86_64/wheel
    Successfully built UNKNOWN-0.0.0.tar.gz and UNKNOWN-0.0.0-cp39-cp39-macosx_11_0_x86_64.whl
    marin@empcarlabhc152 PlotPy-2.0.3 % python3.9 -m pip install cdl
    DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at Python is deprecating distutils.cfg Homebrew/homebrew-core#76621
    Collecting cdl
    Using cached cdl-0.10.1-py3-none-any.whl.metadata (11 kB)
    Requirement already satisfied: h5py>=3.0 in /usr/local/lib/python3.9/site-packages (from cdl) (3.1.0)
    Requirement already satisfied: NumPy>=1.21 in /usr/local/lib/python3.9/site-packages (from cdl) (1.26.3)
    Collecting SciPy>=1.7 (from cdl)
    Using cached scipy-1.11.4-cp39-cp39-macosx_10_9_x86_64.whl.metadata (60 kB)
    Collecting scikit-image>=0.18 (from cdl)
    Using cached scikit_image-0.22.0-cp39-cp39-macosx_10_9_x86_64.whl.metadata (13 kB)
    Collecting opencv-python-headless>=4.5 (from cdl)
    Using cached opencv_python_headless-4.9.0.80-cp37-abi3-macosx_10_16_x86_64.whl.metadata (20 kB)
    Collecting PyWavelets>=1.1 (from cdl)
    Using cached pywavelets-1.5.0-cp39-cp39-macosx_10_13_x86_64.whl.metadata (9.0 kB)
    Collecting psutil>=5.5 (from cdl)
    Using cached psutil-5.9.7-cp36-abi3-macosx_10_9_x86_64.whl.metadata (21 kB)
    Requirement already satisfied: guidata>=3.2 in /usr/local/lib/python3.9/site-packages (from cdl) (3.2.2)
    Collecting PlotPy>=2.0 (from cdl)
    Using cached PlotPy-2.0.3.tar.gz (5.9 MB)
    Installing build dependencies ... done
    Getting requirements to build wheel ... done
    Preparing metadata (pyproject.toml) ... done
    Requirement already satisfied: QtPy>=1.9 in /usr/local/lib/python3.9/site-packages (from cdl) (2.4.1)
    Requirement already satisfied: requests in /usr/local/lib/python3.9/site-packages (from guidata>=3.2->cdl) (2.25.1)
    Requirement already satisfied: tomli in /usr/local/lib/python3.9/site-packages (from guidata>=3.2->cdl) (2.0.1)
    Collecting PythonQwt>=0.10 (from PlotPy>=2.0->cdl)
    Using cached PythonQwt-0.11.2-py3-none-any.whl.metadata (45 kB)
    Requirement already satisfied: Pillow in /usr/local/lib/python3.9/site-packages (from PlotPy>=2.0->cdl) (8.1.0)
    Collecting tifffile (from PlotPy>=2.0->cdl)
    Using cached tifffile-2023.12.9-py3-none-any.whl.metadata (31 kB)
    Requirement already satisfied: packaging in /usr/local/lib/python3.9/site-packages (from QtPy>=1.9->cdl) (20.9)
    Collecting networkx>=2.8 (from scikit-image>=0.18->cdl)
    Using cached networkx-3.2.1-py3-none-any.whl.metadata (5.2 kB)
    Collecting Pillow (from PlotPy>=2.0->cdl)
    Using cached pillow-10.2.0-cp39-cp39-macosx_10_10_x86_64.whl.metadata (9.7 kB)
    Collecting imageio>=2.27 (from scikit-image>=0.18->cdl)
    Using cached imageio-2.33.1-py3-none-any.whl.metadata (4.9 kB)
    Collecting packaging (from QtPy>=1.9->cdl)
    Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB)
    Collecting lazy_loader>=0.3 (from scikit-image>=0.18->cdl)
    Using cached lazy_loader-0.3-py3-none-any.whl.metadata (4.3 kB)
    Requirement already satisfied: chardet<5,>=3.0.2 in /usr/local/lib/python3.9/site-packages (from requests->guidata>=3.2->cdl) (4.0.0)
    Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.9/site-packages (from requests->guidata>=3.2->cdl) (2.10)
    Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.9/site-packages (from requests->guidata>=3.2->cdl) (1.26.3)
    Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/site-packages (from requests->guidata>=3.2->cdl) (2020.12.5)
    Using cached cdl-0.10.1-py3-none-any.whl (22.8 MB)
    Using cached opencv_python_headless-4.9.0.80-cp37-abi3-macosx_10_16_x86_64.whl (55.7 MB)
    Using cached psutil-5.9.7-cp36-abi3-macosx_10_9_x86_64.whl (245 kB)
    Using cached pywavelets-1.5.0-cp39-cp39-macosx_10_13_x86_64.whl (4.4 MB)
    Using cached scikit_image-0.22.0-cp39-cp39-macosx_10_9_x86_64.whl (13.9 MB)
    Using cached scipy-1.11.4-cp39-cp39-macosx_10_9_x86_64.whl (37.3 MB)
    Using cached imageio-2.33.1-py3-none-any.whl (313 kB)
    Using cached lazy_loader-0.3-py3-none-any.whl (9.1 kB)
    Using cached networkx-3.2.1-py3-none-any.whl (1.6 MB)
    Using cached packaging-23.2-py3-none-any.whl (53 kB)
    Using cached pillow-10.2.0-cp39-cp39-macosx_10_10_x86_64.whl (3.5 MB)
    Using cached PythonQwt-0.11.2-py3-none-any.whl (1.0 MB)
    Using cached tifffile-2023.12.9-py3-none-any.whl (223 kB)
    Building wheels for collected packages: PlotPy
    Building wheel for PlotPy (pyproject.toml) ... error
    error: subprocess-exited-with-error
    × Building wheel for PlotPy (pyproject.toml) did not run successfully.
    │ exit code: 1
    ╰─> [71 lines of output]
    Traceback (most recent call last):
    File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
    main()
    File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
    json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
    return _build_backend().build_wheel(wheel_directory, config_settings,
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 404, in build_wheel
    return self._build_with_temp_dir(
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 389, in _build_with_temp_dir
    self.run_setup()
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 311, in run_setup
    exec(code, locals())
    File "", line 58, in
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
    self.run_command(cmd)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 963, in run_command
    super().run_command(command)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 368, in run
    self.run_command("build")
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
    self.distribution.run_command(command)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 963, in run_command
    super().run_command(command)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/build.py", line 131, in run
    self.run_command(cmd_name)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
    self.distribution.run_command(command)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 963, in run_command
    super().run_command(command)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 88, in run
    _build_ext.run(self)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
    _build_ext.build_ext.run(self)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
    self.build_extensions()
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
    _build_ext.build_ext.build_extensions(self)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 467, in build_extensions
    self._build_extensions_serial()
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 493, in _build_extensions_serial
    self.build_extension(ext)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 249, in build_extension
    _build_ext.build_extension(self, ext)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 548, in build_extension
    objects = self.compiler.compile(
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/ccompiler.py", line 600, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/unixccompiler.py", line 185, in _compile
    self.spawn(compiler_so + cc_args + [src, '-o', obj] + extra_postargs)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/ccompiler.py", line 1041, in spawn
    spawn(cmd, dry_run=self.dry_run, **kwargs)
    File "/private/var/folders/rj/w85pzh_n1x99phzljh0k0p840000gn/T/pip-build-env-p8xmmcud/overlay/lib/python3.9/site-packages/setuptools/_distutils/spawn.py", line 57, in spawn
    proc = subprocess.Popen(cmd, env=env)
    File "/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 947, in init
    self._execute_child(args, executable, preexec_fn, close_fds,
    File "/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 1739, in _execute_child
    env_list.append(k + b'=' + os.fsencode(v))
    File "/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/os.py", line 810, in fsencode
    filename = fspath(filename) # Does type-checking of filename.
    TypeError: expected str, bytes or os.PathLike object, not int
    [end of output]
    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for PlotPy
    Failed to build PlotPy
    ERROR: Could not build wheels for PlotPy, which is required to install pyproject.toml-based projects
    XXX PlotPy-2.0.3 %

That is great news: thanks for taking the time to investigate with me, I think we've got it.
This is the same issue as here or there.

Could you post the result of pip list? (executed with the same Python interpreter)

I think that upgrading setuptools (and eventually pip) could solve the issue.

Could you try this? (still with your homebrew Python 3.9, of course)

python -m pip install --upgrade pip
python -m pip install --upgrade setuptools

@emarin2642
Copy link
Author

Here the result of the following command : python3.9 -m pip list .

Package Version


anyio 2.1.0
appnope 0.1.2
argon2-cffi 20.1.0
async-generator 1.10
attrs 20.3.0
autopep8 1.5.5
Babel 2.9.0
backcall 0.2.0
bleach 3.3.0
build 1.0.3
cdlclient 0.7.0
certifi 2020.12.5
cffi 1.14.4
chardet 4.0.0
click 7.1.2
contourpy 1.0.6
cycler 0.10.0
Cython 0.29.37
DataProperty 0.52.0
decorator 4.4.2
defusedxml 0.6.0
distlib 0.3.2
docutils 0.17.1
entrypoints 0.3
et-xmlfile 1.1.0
fastjsonschema 2.16.2
flake8 3.8.4
fonttools 4.38.0
future 0.18.2
greenlet 1.1.1
guidata 3.2.2
h5py 3.1.0
idna 2.10
importlib-metadata 7.0.1
ipykernel 5.4.3
ipympl 0.9.2
ipython 7.20.0
ipython-genutils 0.2.0
ipywidgets 8.0.2
jedi 0.18.0
Jinja2 2.11.3
joblib 1.0.0
json5 0.9.5
jsonschema 3.2.0
jupyter-client 6.1.11
jupyter-core 4.7.1
jupyter-server 1.3.0
jupyterlab 3.0.7
jupyterlab-pygments 0.1.2
jupyterlab-server 2.2.0
jupyterlab-widgets 3.0.3
kiwisolver 1.3.1
livereload 2.6.3
lunr 0.5.8
lxml 4.6.3
Markdown 3.3.3
MarkupSafe 1.1.1
matplotlib 3.6.2
mbstrdecoder 1.0.1
mccabe 0.6.1
mistune 0.8.4
mkdocs 1.1.2
mkdocs-material 6.2.8
mkdocs-material-extensions 1.0.1
nbclassic 0.2.6
nbclient 0.5.2
nbconvert 6.0.7
nbformat 5.7.3
nest-asyncio 1.5.1
nltk 3.5
notebook 6.2.0
numexpr 2.7.3
numpy 1.26.3
openpyxl 3.1.2
packaging 20.9
pandas 1.2.1
pandocfilters 1.4.3
parso 0.8.1
pathvalidate 2.4.1
pexpect 4.8.0
pickleshare 0.7.5
Pillow 8.1.0
pip 23.3.2
plotly 5.13.0
prometheus-client 0.9.0
prompt-toolkit 3.0.14
protobuf 3.14.0
ptyprocess 0.7.0
pycodestyle 2.6.0
pycparser 2.20
PyFiberAmp 0.5.0
pyFirmata 1.1.0
pyFirmata2 2.1.1
pyflakes 2.2.0
Pygments 2.7.4
pymdown-extensions 8.1.1
pyparsing 2.4.7
pyproject 1.3.1
pyproject_hooks 1.0.0
pyproject-toml 0.0.10
PyQt5 5.15.2
PyQt5_sip 4.19.24
pyrsistent 0.17.3
pyserial 3.5
pytablewriter 0.62.0
python-dateutil 2.8.1
python-markdown-math 0.8
pytz 2021.1
PyYAML 5.4.1
pyzmq 22.0.2
QtPy 2.4.1
readme-renderer 29.0
regex 2020.11.13
requests 2.25.1
scipy 1.6.0
Send2Trash 1.5.0
setuptools 52.0.0
six 1.15.0
sniffio 1.2.0
SQLAlchemy 1.4.23
tabledata 1.2.0
TBB 0.1
tcolorpy 0.1.1
tenacity 8.2.1
terminado 0.9.2
testpath 0.4.4
toml 0.10.2
tomli 2.0.1
tornado 6.1
tqdm 4.56.0
traitlets 5.9.0
typepy 1.2.0
urllib3 1.26.3
wcwidth 0.2.5
webencodings 0.5.1
wheel 0.36.2
widgetsnbextension 4.0.3
yawrap 0.4.10
zipp 3.17.0

@emarin2642
Copy link
Author

Here the upgrade of pip and setuptools

XXX ~ % python3.9 -m pip install --upgrade pip
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at Homebrew/homebrew-core#76621
Requirement already satisfied: pip in /usr/local/lib/python3.9/site-packages (23.3.2)
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at Homebrew/homebrew-core#76621
XXX ~ % python3.9 -m pip install --upgrade setuptools
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at Homebrew/homebrew-core#76621
Requirement already satisfied: setuptools in /usr/local/lib/python3.9/site-packages (52.0.0)
Collecting setuptools
Using cached setuptools-69.0.3-py3-none-any.whl.metadata (6.3 kB)
Using cached setuptools-69.0.3-py3-none-any.whl (819 kB)
Installing collected packages: setuptools
Attempting uninstall: setuptools
Found existing installation: setuptools 52.0.0
Uninstalling setuptools-52.0.0:
Successfully uninstalled setuptools-52.0.0
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at Homebrew/homebrew-core#76621
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at Homebrew/homebrew-core#76621
Successfully installed setuptools-69.0.3

@emarin2642
Copy link
Author

And finally the result when use the command: python3.9 -m build --no-isolation

XXX PlotPy-2.0.3 % python3.9 -m build --no-isolation

  • Getting build dependencies for sdist...
  • Building sdist...
  • Building wheel from sdist
  • Getting build dependencies for wheel...
  • Building wheel...
    Traceback (most recent call last):
    File "/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in
    main()
    File "/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main
    json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
    return _build_backend().build_wheel(wheel_directory, config_settings,
    File "/usr/local/lib/python3.9/site-packages/setuptools/build_meta.py", line 404, in build_wheel
    return self._build_with_temp_dir(
    File "/usr/local/lib/python3.9/site-packages/setuptools/build_meta.py", line 389, in _build_with_temp_dir
    self.run_setup()
    File "/usr/local/lib/python3.9/site-packages/setuptools/build_meta.py", line 311, in run_setup
    exec(code, locals())
    File "", line 58, in
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
    self.run_command(cmd)
    File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 963, in run_command
    super().run_command(command)
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
    File "/usr/local/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 299, in run
    self.run_command('build')
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
    self.distribution.run_command(command)
    File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 963, in run_command
    super().run_command(command)
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/command/build.py", line 131, in run
    self.run_command(cmd_name)
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
    self.distribution.run_command(command)
    File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 963, in run_command
    super().run_command(command)
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
    File "/usr/local/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 88, in run
    _build_ext.run(self)
    File "/usr/local/lib/python3.9/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
    _build_ext.build_ext.run(self)
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
    self.build_extensions()
    File "/usr/local/lib/python3.9/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
    _build_ext.build_ext.build_extensions(self)
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 467, in build_extensions
    self._build_extensions_serial()
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 493, in _build_extensions_serial
    self.build_extension(ext)
    File "/usr/local/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 249, in build_extension
    _build_ext.build_extension(self, ext)
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 548, in build_extension
    objects = self.compiler.compile(
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/ccompiler.py", line 600, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/unixccompiler.py", line 185, in _compile
    self.spawn(compiler_so + cc_args + [src, '-o', obj] + extra_postargs)
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/ccompiler.py", line 1041, in spawn
    spawn(cmd, dry_run=self.dry_run, **kwargs)
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/spawn.py", line 57, in spawn
    proc = subprocess.Popen(cmd, env=env)
    File "/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 947, in init
    self._execute_child(args, executable, preexec_fn, close_fds,
    File "/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 1739, in _execute_child
    env_list.append(k + b'=' + os.fsencode(v))
    File "/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/os.py", line 810, in fsencode
    filename = fspath(filename) # Does type-checking of filename.
    TypeError: expected str, bytes or os.PathLike object, not int

ERROR Backend subprocess exited when trying to invoke build_wheel

@PierreRaybaut
Copy link
Contributor

Have you removed some parts of it or is it the full output in the console?

Because if you haven't removed anything, then I think that the build process resumed at its previous state and tried to build wheel which is not possible because of the bad package name / version.

If you could just removed the build and dist folders (in package source directory) to start from scratch, and then re-run the python3.9 -m build --no-isolation command, that would be great.

@emarin2642
Copy link
Author

I don't remember if I have removed some parts. So I have delete the PlotPy folder and extract a new version from the archive. After use the command python3.9 -m - build --no-isolation, the return looks the same !

XXX PlotPy-2.0.3 % python3.9 -m build --no-isolation

  • Getting build dependencies for sdist...
  • Building sdist...
  • Building wheel from sdist
  • Getting build dependencies for wheel...
  • Building wheel...
    Traceback (most recent call last):
    File "/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in
    main()
    File "/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main
    json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
    return _build_backend().build_wheel(wheel_directory, config_settings,
    File "/usr/local/lib/python3.9/site-packages/setuptools/build_meta.py", line 404, in build_wheel
    return self._build_with_temp_dir(
    File "/usr/local/lib/python3.9/site-packages/setuptools/build_meta.py", line 389, in _build_with_temp_dir
    self.run_setup()
    File "/usr/local/lib/python3.9/site-packages/setuptools/build_meta.py", line 311, in run_setup
    exec(code, locals())
    File "", line 58, in
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
    self.run_command(cmd)
    File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 963, in run_command
    super().run_command(command)
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
    File "/usr/local/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 299, in run
    self.run_command('build')
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
    self.distribution.run_command(command)
    File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 963, in run_command
    super().run_command(command)
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/command/build.py", line 131, in run
    self.run_command(cmd_name)
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
    self.distribution.run_command(command)
    File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 963, in run_command
    super().run_command(command)
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
    File "/usr/local/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 88, in run
    _build_ext.run(self)
    File "/usr/local/lib/python3.9/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
    _build_ext.build_ext.run(self)
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
    self.build_extensions()
    File "/usr/local/lib/python3.9/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
    _build_ext.build_ext.build_extensions(self)
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 467, in build_extensions
    self._build_extensions_serial()
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 493, in _build_extensions_serial
    self.build_extension(ext)
    File "/usr/local/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 249, in build_extension
    _build_ext.build_extension(self, ext)
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 548, in build_extension
    objects = self.compiler.compile(
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/ccompiler.py", line 600, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/unixccompiler.py", line 185, in _compile
    self.spawn(compiler_so + cc_args + [src, '-o', obj] + extra_postargs)
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/ccompiler.py", line 1041, in spawn
    spawn(cmd, dry_run=self.dry_run, **kwargs)
    File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/spawn.py", line 57, in spawn
    proc = subprocess.Popen(cmd, env=env)
    File "/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 947, in init
    self._execute_child(args, executable, preexec_fn, close_fds,
    File "/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 1739, in _execute_child
    env_list.append(k + b'=' + os.fsencode(v))
    File "/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/os.py", line 810, in fsencode
    filename = fspath(filename) # Does type-checking of filename.
    TypeError: expected str, bytes or os.PathLike object, not int

ERROR Backend subprocess exited when trying to invoke build_wheel

@PierreRaybaut
Copy link
Contributor

Let's close this one for now. We'll reopen it if the problem happens again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants