PEP 517 Error when installing pyinstaller - python

I´ve been using Pyhton 3.9.4 on mobaxterm. I am trying to install pyinstaller to create a portable exe but start the installtion keeps getting me the same Error message:
Collecting pyinstaller
Using cached pyinstaller-4.4.tar.gz (3.8 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Requirement already satisfied: pyinstaller-hooks-contrib>=2020.6 in /usr/lib/python3.6/site-packages (from pyinstaller) (2021.2)
Requirement already satisfied: altgraph in /usr/lib/python3.6/site-packages (from pyinstaller) (0.17)
Requirement already satisfied: importlib-metadata in /usr/lib/python3.6/site-packages (from pyinstaller) (4.6.1)
Requirement already satisfied: setuptools in /usr/lib/python3.6/site-packages (from pyinstaller) (57.1.0)
Requirement already satisfied: typing-extensions>=3.6.4 in /usr/lib/python3.6/site-packages (from importlib-metadata->pyinstaller) (3.10.0.0)
Requirement already satisfied: zipp>=0.5 in /usr/lib/python3.6/site-packages (from importlib-metadata->pyinstaller) (3.5.0)
Building wheels for collected packages: pyinstaller
Building wheel for pyinstaller (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3.6 /usr/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmpljj4vhly
cwd: /tmp/pip-install-ce8ocj14/pyinstaller_331447efec0e44d99e5342731458d786
Complete output (19 lines):
running bdist_wheel
running build
running build_bootloader
Setting top to : /tmp/pip-install-ce8ocj14/pyinstaller_331447efec0e44d99e5342731458d786/bootloader
Setting out to : /tmp/pip-install-ce8ocj14/pyinstaller_331447efec0e44d99e5342731458d786/bootloader/build
Python Version : 3.6.8 (default, Feb 15 2019, 01:54:23) [GCC 7.4.0]
Checking for 'gcc' (C compiler) : /bin/gcc
Checking size of pointer : 4
Platform : Cygwin-32bit detected based on compiler
Checking for compiler flags -m32 : yes
Checking for linker flags -m32 : yes
Checking for library dl : yes
Checking for library pthread : yes
Checking for library m : yes
Checking for library z : not found
The configuration failed
(complete log in /tmp/pip-install-ce8ocj14/pyinstaller_331447efec0e44d99e5342731458d786/bootloader/build/config.log)
No precompiled bootloader found. Trying to compile it for you ...
ERROR: Failed compiling the bootloader. Please compile manually and rerun setup.py
----------------------------------------
ERROR: Failed building wheel for pyinstaller
Failed to build pyinstaller
ERROR: Could not build wheels for pyinstaller which use PEP 517 and cannot be installed directly
I am using:
Python 3.9.4
pip 21.1.3
gcc 7.4.0
Thank you for your time.

Related

How to fix secp256k1 error while installing sawtooth-sdk python in Windows 10

C:\Users\akhilesh.s>pip install sawtooth-sdk
Collecting sawtooth-sdk
Using cached sawtooth_sdk-1.2.5-py3-none-any.whl (97 kB)
Requirement already satisfied: colorlog in c:\users\akhilesh.s\appdata\local\programs\python\python311\lib\site-packages (from sawtooth-sdk) (6.7.0)
Requirement already satisfied: protobuf in c:\users\akhilesh.s\appdata\local\programs\python\python311\lib\site-packages (from sawtooth-sdk) (4.21.12)
Requirement already satisfied: pyzmq in c:\users\akhilesh.s\appdata\local\programs\python\python311\lib\site-packages (from sawtooth-sdk) (25.0.0)
Collecting secp256k1
Using cached secp256k1-0.14.0.tar.gz (2.4 MB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: toml in c:\users\akhilesh.s\appdata\local\programs\python\python311\lib\site-packages (from sawtooth-sdk) (0.10.2)
Requirement already satisfied: PyYAML in c:\users\akhilesh.s\appdata\local\programs\python\python311\lib\site-packages (from sawtooth-sdk) (6.0)
Requirement already satisfied: colorama in c:\users\akhilesh.s\appdata\local\programs\python\python311\lib\site-packages (from colorlog->sawtooth-sdk) (0.4.6)
Requirement already satisfied: cffi>=1.3.0 in c:\users\akhilesh.s\appdata\local\programs\python\python311\lib\site-packages (from secp256k1->sawtooth-sdk) (1.15.1)
Requirement already satisfied: pycparser in c:\users\akhilesh.s\appdata\local\programs\python\python311\lib\site-packages (from cffi>=1.3.0->secp256k1->sawtooth-sdk) (2.21)
Building wheels for collected packages: secp256k1
Building wheel for secp256k1 (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [16 lines of output]
0.26
C:\Users\akhilesh.s\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
warnings.warn(
Using bundled libsecp256k1
running bdist_wheel
The [wheel] section is deprecated. Use [bdist_wheel] instead.
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-311
creating build\lib.win-amd64-cpython-311\secp256k1
copying secp256k1\__init__.py -> build\lib.win-amd64-cpython-311\secp256k1
copying secp256k1\__main__.py -> build\lib.win-amd64-cpython-311\secp256k1
running build_clib
Building experimental
error: [WinError 193] %1 is not a valid Win32 application
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for secp256k1
Running setup.py clean for secp256k1
Failed to build secp256k1
Installing collected packages: secp256k1, sawtooth-sdk
Running setup.py install for secp256k1 ... error
error: subprocess-exited-with-error
× Running setup.py install for secp256k1 did not run successfully.
│ exit code: 1
╰─> [17 lines of output]
0.26
C:\Users\akhilesh.s\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated.
Requirements should be satisfied by a PEP 517 installer.
warnings.warn(
Using bundled libsecp256k1
running install
C:\Users\akhilesh.s\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-311
creating build\lib.win-amd64-cpython-311\secp256k1
copying secp256k1\__init__.py -> build\lib.win-amd64-cpython-311\secp256k1
copying secp256k1\__main__.py -> build\lib.win-amd64-cpython-311\secp256k1
running build_clib
Building experimental
error: [WinError 193] %1 is not a valid Win32 application
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> secp256k1
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
output-image-1
output-image-2
While installing sawtooth-sdk from "pip install sawtooth-sdk", encountered "pkg-config" error.
Pycharm error 'pkg-config' is required to install this package on Windows
Its resolved.
Later encountered secp256k1 error. Even installed Microsoft C++ build tools, still found this "secp256k1" error. Also tried with python 3.9 version getting same error . Can anyone share the fix?

Package install issue "error: legacy-install-failure" MacOS

I am getting the below error when trying to install wordcloud. I am using MacOs 13.0.1 and Python 3.8.10.
Jesse-Burton#MacBook-Pro-4 ~ % pip3 install wordcloud
Collecting wordcloud
Using cached wordcloud-1.8.2.2.tar.gz (220 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy>=1.6.1 in ./.pyenv/versions/3.8.10/lib/python3.8/site-packages (from wordcloud) (1.23.4)
Requirement already satisfied: pillow in ./.pyenv/versions/3.8.10/lib/python3.8/site-packages (from wordcloud) (9.2.0)
Requirement already satisfied: matplotlib in ./.pyenv/versions/3.8.10/lib/python3.8/site-packages (from wordcloud) (3.6.0)
Requirement already satisfied: python-dateutil>=2.7 in ./.pyenv/versions/3.8.10/lib/python3.8/site-packages (from matplotlib->wordcloud) (2.8.2)
Requirement already satisfied: cycler>=0.10 in ./.pyenv/versions/3.8.10/lib/python3.8/site-packages (from matplotlib->wordcloud) (0.11.0)
Requirement already satisfied: packaging>=20.0 in ./.pyenv/versions/3.8.10/lib/python3.8/site-packages (from matplotlib->wordcloud) (21.3)
Requirement already satisfied: fonttools>=4.22.0 in ./.pyenv/versions/3.8.10/lib/python3.8/site-packages (from matplotlib->wordcloud) (4.38.0)
Requirement already satisfied: contourpy>=1.0.1 in ./.pyenv/versions/3.8.10/lib/python3.8/site-packages (from matplotlib->wordcloud) (1.0.5)
Requirement already satisfied: pyparsing>=2.2.1 in ./.pyenv/versions/3.8.10/lib/python3.8/site-packages (from matplotlib->wordcloud) (3.0.9)
Requirement already satisfied: kiwisolver>=1.0.1 in ./.pyenv/versions/3.8.10/lib/python3.8/site-packages (from matplotlib->wordcloud) (1.4.4)
Requirement already satisfied: six>=1.5 in ./.pyenv/versions/3.8.10/lib/python3.8/site-packages (from python-dateutil>=2.7->matplotlib->wordcloud) (1.16.0)
Installing collected packages: wordcloud
DEPRECATION: wordcloud is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
Running setup.py install for wordcloud ... error
error: subprocess-exited-with-error
× Running setup.py install for wordcloud did not run successfully.
│ exit code: 1
╰─> [26 lines of output]
running install
/Users/Jesse-Burton/.pyenv/versions/3.8.10/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build/lib.macosx-12.6-arm64-cpython-38
creating build/lib.macosx-12.6-arm64-cpython-38/wordcloud
copying wordcloud/wordcloud_cli.py -> build/lib.macosx-12.6-arm64-cpython-38/wordcloud
copying wordcloud/_version.py -> build/lib.macosx-12.6-arm64-cpython-38/wordcloud
copying wordcloud/init.py -> build/lib.macosx-12.6-arm64-cpython-38/wordcloud
copying wordcloud/tokenization.py -> build/lib.macosx-12.6-arm64-cpython-38/wordcloud
copying wordcloud/wordcloud.py -> build/lib.macosx-12.6-arm64-cpython-38/wordcloud
copying wordcloud/color_from_image.py -> build/lib.macosx-12.6-arm64-cpython-38/wordcloud
copying wordcloud/main.py -> build/lib.macosx-12.6-arm64-cpython-38/wordcloud
copying wordcloud/stopwords -> build/lib.macosx-12.6-arm64-cpython-38/wordcloud
copying wordcloud/DroidSansMono.ttf -> build/lib.macosx-12.6-arm64-cpython-38/wordcloud
UPDATING build/lib.macosx-12.6-arm64-cpython-38/wordcloud/_version.py
set build/lib.macosx-12.6-arm64-cpython-38/wordcloud/_version.py to '1.8.2.2'
running build_ext
building 'wordcloud.query_integral_image' extension
creating build/temp.macosx-12.6-arm64-cpython-38
creating build/temp.macosx-12.6-arm64-cpython-38/wordcloud
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Users/Jesse-Burton/.pyenv/versions/3.8.10/include/python3.8 -c wordcloud/query_integral_image.c -o build/temp.macosx-12.6-arm64-cpython-38/wordcloud/query_integral_image.o
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
error: command '/usr/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> wordcloud
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
I have Matplotlib Pillow and Pandas all installed.
Any assistance would be greatly appreciated!
So it turns out that I was getting this similar error on several packages, gensim being a core one.
I saw further up in the error message in the gensim install failure that it failed building the wheel and further down in that error message as well in this error message was this:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
I was able to remedy this by installing xCode developer tools. by running xcode-select --install
After doing that everything worked perfectly!

Could not build wheels for ujson, which is required to install pyproject.toml-based projects

I`m trying to install pyside2 but it is not active
Building wheel for ujson (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
Building wheel for ujson (
pyproject.toml) did not run successfully.
exit code:
1
[5 lines of output]
running bdist_wheel
running build
running build_ext
building 'ujson' extension
error: --plat-name must be one of ('win32', 'win-amd64', 'win-arm32', 'win-arm64')
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for ujson
Failed to build ujson
ERROR: Could not build wheels for ujson, which is required to install pyproject.toml-based projects
Installing the Python Language Server failed with exit code 1
Running "C:\msys64\mingw64\bin\python3.exe -m pip install PySide2 --user" to install PySide2.
ERROR: Could not find a version that satisfies the requirement PySide2 (from versions: none)
ERROR: No matching distribution found for PySide2
Installing the PySide2 failed with exit code 1
C:\Users\admin\AppData\Local\Programs\Python\Python310>python.exe -m pip install pyside2
Requirement already satisfied: pyside2 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (5.15.2.1)
Requirement already satisfied: shiboken2==5.15.2.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from pyside2) (5.15.2.1)
C:\Users\admin\AppData\Local\Programs\Python\Python310>pyside2 --version
'pyside2' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\admin\AppData\Local\Programs\Python\Python310>python.exe -m pip install pyside2
Collecting pyside2
Using cached PySide2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-none-win_amd64.whl (137.4 MB)
Requirement already satisfied: shiboken2==5.15.2.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from pyside2) (5.15.2.1)
Installing collected packages: pyside2
Successfully installed pyside2-5.15.2.1
C:\Users\admin\AppData\Local\Programs\Python\Python310>pyside2 --version
'pyside2' is not recognized as an internal or external command,
operable program or batch file.

Running into errors with greenlet when pip installing certain packages

I realize there are a lot of variations of these error questions out there, from my search nothing seemed to help.
I have recently pip installed some packages using my cmd prompt on windows. For instance pip installed Flask and had no issues. However I recently tried to pip install cs50 and Flask-SQLAlchemy and have gotten the same error with regards to greenlet.
My question is two fold. What does greenlet have to do with installing these packages. And secondly how can I fix this error so that I can pip install these packages?
Collecting Flask-SQLAlchemy
Using cached Flask_SQLAlchemy-2.5.1-py2.py3-none-any.whl (17 kB)
Collecting SQLAlchemy>=0.8.0
Using cached SQLAlchemy-1.4.29.tar.gz (8.0 MB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: Flask>=0.10 in c:\msys64\mingw64\lib\python3.9\site-packages (from Flask-SQLAlchemy) (2.0.2)
Requirement already satisfied: itsdangerous>=2.0 in c:\msys64\mingw64\lib\python3.9\site-packages (from Flask>=0.10->Flask-SQLAlchemy) (2.0.1)
Requirement already satisfied: Jinja2>=3.0 in c:\msys64\mingw64\lib\python3.9\site-packages (from Flask>=0.10->Flask-SQLAlchemy) (3.0.3)
Requirement already satisfied: click>=7.1.2 in c:\msys64\mingw64\lib\python3.9\site-packages (from Flask>=0.10->Flask-SQLAlchemy) (8.0.3)
Requirement already satisfied: Werkzeug>=2.0 in c:\msys64\mingw64\lib\python3.9\site-packages (from Flask>=0.10->Flask-SQLAlchemy) (2.0.2)
Collecting greenlet!=0.4.17
Using cached greenlet-1.1.2.tar.gz (91 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: colorama in c:\msys64\mingw64\lib\python3.9\site-packages (from click>=7.1.2->Flask>=0.10->Flask-SQLAlchemy) (0.4.4)
Requirement already satisfied: MarkupSafe>=2.0 in c:\msys64\mingw64\lib\python3.9\site-packages (from Jinja2>=3.0->Flask>=0.10->Flask-SQLAlchemy) (2.0.1)
Building wheels for collected packages: SQLAlchemy, greenlet
Building wheel for SQLAlchemy (setup.py) ... done
Created wheel for SQLAlchemy: filename=SQLAlchemy-1.4.29-cp39-cp39-win_amd64.whl size=1512539 sha256=25d3a12bbff4ff0c365154c700de44d089427650aea9b98e228c6077852eab61
Stored in directory: c:\users\t\appdata\local\pip\cache\wheels\6d\94\a6\8bdac6f92ce851f71a9fa62934a06cf2b654700b5f258242c7
Building wheel for greenlet (setup.py) ... error
ERROR: Command errored out with exit status 1:
After this error I get a bunch more lines but some that stand out are
ERROR: Failed building wheel for greenlet
Running setup.py clean for greenlet
Successfully built SQLAlchemy
Failed to build greenlet
Installing collected packages: greenlet, SQLAlchemy, Flask-SQLAlchemy
Running setup.py install for greenlet ... error
ERROR: Command errored out with exit status 1:
And
fatal error C1083: Cannot open include file: 'Python.h': No such file or directory
error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.30.30705\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
----------------------------------------
ERROR: Command errored out with exit status 1:

In installing orange imageanalytics

In installing ImageAnalytics in orange3 software i am getting these error,
Collecting Orange3-ImageAnalytics
Downloading Orange3-ImageAnalytics-0.1.13.tar.gz (2.3MB)
Requirement already satisfied: Orange3>=3.3.5 in c:\users\certainty2\appdata\local\orange\lib\site-packages (from Orange3-ImageAnalytics)
Collecting Pillow>=4.2.1 (from Orange3-ImageAnalytics)
Downloading Pillow-5.0.0-cp36-cp36m-win_amd64.whl (1.6MB)
Collecting cachecontrol (from Orange3-ImageAnalytics)
Downloading CacheControl-0.12.3.tar.gz
Collecting hyper>=0.7.0 (from Orange3-ImageAnalytics)
Downloading hyper-0.7.0-py2.py3-none-any.whl (269kB)
Collecting lap==0.3.0 (from Orange3-ImageAnalytics)
Downloading lap-0.3.0.tar.gz (1.5MB)
Collecting lockfile (from Orange3-ImageAnalytics)
Downloading lockfile-0.12.2-py2.py3-none-any.whl
Requirement already satisfied: numpy>=1.10.0 in c:\users\certainty2\appdata\local\orange\lib\site-packages (from Orange3-ImageAnalytics)
Requirement already satisfied: requests in c:\users\certainty2\appdata\local\orange\lib\site-packages (from Orange3-ImageAnalytics)
Requirement already satisfied: keyrings.alt in c:\users\certainty2\appdata\local\orange\lib\site-packages (from Orange3>=3.3.5->Orange3-ImageAnalytics)
Requirement already satisfied: dill in c:\users\certainty2\appdata\local\orange\lib\site-packages (from Orange3>=3.3.5->Orange3-ImageAnalytics)
Requirement already satisfied: joblib>=0.9.4 in c:\users\certainty2\appdata\local\orange\lib\site-packages (from Orange3>=3.3.5->Orange3-ImageAnalytics)
Requirement already satisfied: setuptools>=36.3 in c:\users\certainty2\appdata\local\orange\lib\site-packages (from Orange3>=3.3.5->Orange3-ImageAnalytics)
Requirement already satisfied: pip>=9.0 in c:\users\certainty2\appdata\local\orange\lib\site-packages (from Orange3>=3.3.5->Orange3-ImageAnalytics)
Requirement already satisfied: CommonMark>=0.5.5 in c:\users\certainty2\appdata\local\orange\lib\site-packages (from Orange3>=3.3.5->Orange3-ImageAnalytics)
Requirement already satisfied: bottleneck>=1.0.0 in c:\users\certainty2\appdata\local\orange\lib\site-packages (from Orange3>=3.3.5->Orange3-ImageAnalytics)
Requirement already satisfied: scipy>=0.16.1 in c:\users\certainty2\appdata\local\orange\lib\site-packages (from Orange3>=3.3.5->Orange3-ImageAnalytics)
Requirement already satisfied: serverfiles in c:\users\certainty2\appdata\local\orange\lib\site-packages (from Orange3>=3.3.5->Orange3-ImageAnalytics)
Requirement already satisfied: pyqtgraph>=0.10.0 in c:\users\certainty2\appdata\local\orange\lib\site-packages (from Orange3>=3.3.5->Orange3-ImageAnalytics)
Requirement already satisfied: scikit-learn>=0.18.1 in c:\users\certainty2\appdata\local\orange\lib\site-packages (from Orange3>=3.3.5->Orange3-ImageAnalytics)
Requirement already satisfied: AnyQt>=0.0.8 in c:\users\certainty2\appdata\local\orange\lib\site-packages (from Orange3>=3.3.5->Orange3-ImageAnalytics)
Requirement already satisfied: xlrd>=0.9.2 in c:\users\certainty2\appdata\local\orange\lib\site-packages (from Orange3>=3.3.5->Orange3-ImageAnalytics)
Requirement already satisfied: keyring in c:\users\certainty2\appdata\local\orange\lib\site-packages (from Orange3>=3.3.5->Orange3-ImageAnalytics)
Requirement already satisfied: docutils in c:\users\certainty2\appdata\local\orange\lib\site-packages (from Orange3>=3.3.5->Orange3-ImageAnalytics)
Requirement already satisfied: chardet>=3.0.2 in c:\users\certainty2\appdata\local\orange\lib\site-packages (from Orange3>=3.3.5->Orange3-ImageAnalytics)
Collecting msgpack-python (from cachecontrol->Orange3-ImageAnalytics)
Downloading msgpack-python-0.4.8.tar.gz (113kB)
Collecting h2<3.0,>=2.4 (from hyper>=0.7.0->Orange3-ImageAnalytics)
Downloading h2-2.6.2-py2.py3-none-any.whl (71kB)
Collecting hyperframe<4.0,>=3.2 (from hyper>=0.7.0->Orange3-ImageAnalytics)
Downloading hyperframe-3.2.0-py2.py3-none-any.whl
Requirement already satisfied: idna<2.7,>=2.5 in c:\users\certainty2\appdata\local\orange\lib\site-packages (from requests->Orange3-ImageAnalytics)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in c:\users\certainty2\appdata\local\orange\lib\site-packages (from requests->Orange3-ImageAnalytics)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\certainty2\appdata\local\orange\lib\site-packages (from requests->Orange3-ImageAnalytics)
Requirement already satisfied: six in c:\users\certainty2\appdata\local\orange\lib\site-packages (from keyrings.alt->Orange3>=3.3.5->Orange3-ImageAnalytics)
Requirement already satisfied: pyreadline>=1.7.1 in c:\users\certainty2\appdata\local\orange\lib\site-packages (from dill->Orange3>=3.3.5->Orange3-ImageAnalytics)
Requirement already satisfied: future in c:\users\certainty2\appdata\local\orange\lib\site-packages (from CommonMark>=0.5.5->Orange3>=3.3.5->Orange3-ImageAnalytics)
Requirement already satisfied: pywin32 in c:\users\certainty2\appdata\local\orange\lib\site-packages (from keyring->Orange3>=3.3.5->Orange3-ImageAnalytics)
Collecting hpack<4,>=2.2 (from h2<3.0,>=2.4->hyper>=0.7.0->Orange3-ImageAnalytics)
Downloading hpack-3.0.0-py2.py3-none-any.whl
Building wheels for collected packages: Orange3-ImageAnalytics, cachecontrol, lap, msgpack-python
Running setup.py bdist_wheel for Orange3-ImageAnalytics: started
Running setup.py bdist_wheel for Orange3-ImageAnalytics: finished with status 'done'
Running setup.py clean for Orange3-ImageAnalytics
Running setup.py bdist_wheel for cachecontrol: started
Running setup.py bdist_wheel for cachecontrol: finished with status 'done'
Stored in directory: C:\Users\Certainty2\AppData\Local\pip\Cache\wheels\2b\fd\77\677be47e3d4f83d2e8d07299f61697aa508e6f8b5d08d94050
Running setup.py bdist_wheel for lap: started
Running setup.py bdist_wheel for lap: finished with status 'error'
Complete output from command C:\Users\Certainty2\AppData\Local\Orange\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\CERTAI~1\\AppData\\Local\\Temp\\pip-build-n42rgcz0\\lap\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d C:\Users\CERTAI~1\AppData\Local\Temp\tmpr3xg7jbjpip-wheel- --python-tag cp36:
Partial import of lap during the build process.
Generating cython files
running bdist_wheel
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building extension "lap._lapjv" sources
building data_files sources
build_src: building npy-pkg config files
running build_py
creating build
creating build\lib.win-amd64-3.6
creating build\lib.win-amd64-3.6\lap
copying lap\lapmod.py -> build\lib.win-amd64-3.6\lap
copying lap\__init__.py -> build\lib.win-amd64-3.6\lap
running build_ext
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
customize MSVCCompiler using build_ext
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
Missing compiler_cxx fix for MSVCCompiler
customize MSVCCompiler using build_ext
building 'lap._lapjv' extension
compiling C sources
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
----------------------------------------
Failed building wheel for lap
Running setup.py clean for lap
Running setup.py bdist_wheel for msgpack-python: started
Running setup.py bdist_wheel for msgpack-python: finished with status 'done'
Stored in directory: C:\Users\Certainty2\AppData\Local\pip\Cache\wheels\2c\e7\e7\9031652a69d594665c5ca25e41d0fb3faa024e730b590e4402
Successfully built cachecontrol msgpack-python
Failed to build Orange3-ImageAnalytics lap
Installing collected packages: Pillow, msgpack-python, cachecontrol, hyperframe, hpack, h2, hyper, lap, lockfile, Orange3-ImageAnalytics
Running setup.py install for lap: started
Running setup.py install for lap: finished with status 'error'
Complete output from command C:\Users\Certainty2\AppData\Local\Orange\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\CERTAI~1\\AppData\\Local\\Temp\\pip-build-n42rgcz0\\lap\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\CERTAI~1\AppData\Local\Temp\pip-bn2gvmhk-record\install-record.txt --single-version-externally-managed --compile:
Partial import of lap during the build process.
Generating cython files
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building extension "lap._lapjv" sources
building data_files sources
build_src: building npy-pkg config files
running build_py
creating build
creating build\lib.win-amd64-3.6
creating build\lib.win-amd64-3.6\lap
copying lap\lapmod.py -> build\lib.win-amd64-3.6\lap
copying lap\__init__.py -> build\lib.win-amd64-3.6\lap
running build_ext
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
customize MSVCCompiler using build_ext
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
Missing compiler_cxx fix for MSVCCompiler
customize MSVCCompiler using build_ext
building 'lap._lapjv' extension
compiling C sources
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
----------------------------------------
Command "C:\Users\Certainty2\AppData\Local\Orange\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\CERTAI~1\\AppData\\Local\\Temp\\pip-build-n42rgcz0\\lap\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\CERTAI~1\AppData\Local\Temp\pip-bn2gvmhk-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\CERTAI~1\AppData\Local\Temp\pip-build-n42rgcz0\lap\
I already have Microsoft Visual C++ Build Tools . but same error happens . and i had already tried previous these solutions but nothing worked ,
https://github.com/biolab/orange3-imageanalytics/pull/82
https://github.com/biolab/orange3-imageanalytics/issues/80
you just need to install microsoft build tools with latest versions say 2015 and 2017 . Then if problem remains same then you can go towards fix i had given here FixOrangeImageAnalysis .
and you must download zip file i had shared there . and put all into your Orange/Lib/site-packages folder .
All files whose names startes with any of following must be replaced
h
cache
lap
lock
msg
pill
orange
pillow
image
imageanalytics.pth
I guess FixOrangeImageAnalysis should solve your issue

Categories