Содержание
- Preparing wheel metadata pyproject toml error
- Preparing metadata (pyproject.toml) did not run successfully #
- Try upgrading your versions of pip , setuptools and wheel #
- [Fixed] Error while installing pytq5 with pip: Preparing metadata (pyproject.toml) did not run successfully
- How to Fix Error while installing pytq5 with pip: Preparing metadata (pyproject.toml) did not run successfully Error?
- Solution 1 : Install PyQt5
- Solution 2 : Install turtle
- Conclusion
- pywavelets fails to install on Alpine Linux v3.15 ARM #623
- Comments
- [Bug]: metadata-generation-failed #2199
- Comments
- Is there an existing issue for this?
- Current Behavior
- Expected Behavior
- Steps To Reproduce
- Anything else?
Reading time В· 5 min
To solve the «Preparing metadata (pyproject.toml) did not run successfully» error:
- Make sure your Python version is supported by the package.
- Upgrade your versions of pip , setuptools and wheel .
- Make sure you haven’t got any missing dependencies.
- Try running the pip install command with the —pre option.
If you got the error when trying to install PyQt5 on macOS:
- Run the brew install qt5 command to install qt5.
- Add the directory where qmake is located to your PATH environment variable.
First, try to upgrade your versions of pip , setuptools and wheel .
If that didn’t help, try running the pip install command with the —use-deprecated-legacy option.
The —use-deprecated option allows us to use the old resolver behavior when installing modules.
If the suggestions didn’t help, read toward the end of your error message.
It might contain information such as:
«RuntimeError: Cannot install on Python version 3.11.0; only versions >=3.7, requirements.txt file.
Your error message might also contain a missing package you have to install, e.g. «ModuleNotFoundError: No module named ‘X’» or «ImportError: cannot import name ‘X’».
If that’s the case, you have to pip install the package from the error message before installing the other package.
Another common cause of the error is misspelling the name of the package and trying to install some broken, obsolete module by mistake.
If none of the suggestions helped, try running the pip install command with the —pre option.
Источник
[Fixed] Error while installing pytq5 with pip: Preparing metadata (pyproject.toml) did not run successfully
Today We are Going To Solve Error while installing pytq5 with pip: Preparing metadata (pyproject.toml) did not run successfully in Python. Here we will Discuss All Possible Solutions and How this error Occurs So let’s get started with this Article.
How to Fix Error while installing pytq5 with pip: Preparing metadata (pyproject.toml) did not run successfully Error?
- How to Fix Error while installing pytq5 with pip: Preparing metadata (pyproject.toml) did not run successfully Error?
To Fix Error while installing pytq5 with pip: Preparing metadata (pyproject.toml) did not run successfully Error just Install PyQt5. You have to uninstall python and install the latest version of it and after it run the below command python -m pip install PyQt5
Error while installing pytq5 with pip: Preparing metadata (pyproject.toml) did not run successfully
To Fix Error while installing pytq5 with pip: Preparing metadata (pyproject.toml) did not run successfully Error just Install turtle. To solve this error you have to install turtle and use-deprecated pip install turtle —use-deprecated=backtrack-on-build-failures
Solution 1 : Install PyQt5
You have to uninstall python and install the latest version of it and after it run the below command
Solution 2 : Install turtle
To solve this error you have to install turtle and use-deprecated
Conclusion
So these were all possible solutions to this error. I hope your error has been solved by this article. In the comments, tell us which solution worked? If you liked our article, please share it on your social media and comment on your suggestions. Thank you.
Источник
pywavelets fails to install on Alpine Linux v3.15 ARM #623
Hi! Trying to install pywavelets on Nextcloud 23 Docker Alpine image with ARM and facing next issue:
numpy already installed:
The text was updated successfully, but these errors were encountered:
That’s a partial log of a build from source. We do have 64-bit ARM wheels, so are you on 32-bit ARM?
Can you please provide a full build log, here or as a gist?
I didn’t found 64bit pywavelets wheels for Alpine (musllinux_1_1_).
Full build log available here.
Ugh, we have aarch64 wheels and musllinux_1_1 wheels, but not musl-on-aarch64 wheels.
So yes you have to build from source. The relevant error is:
So you don’t have a compiler installed or it’s not working correctly for some reason.
I’m getting something very similar:
Custom built AWS Graviton2 Processor with 64-bit Arm Neoverse cores
what would you advise regarding compiling ?
@rom1504, that looks like pip did not automatically install NumPy as specified in the pyproject.toml file’s build requirements.
We have not tested on the AWS Graviton2 platform, so it is possible that we haven’t set the numpy version selection logic in pyproject.toml properly for that case. If you manually install the dependencies via python -m pip install numpy cython setuptools wheel does that complete successfully?
I may also be worth first upgrading pip via: python -m pip install -–upgrade pip . If you are still having problems after this can you post a more verbose output using pip install pywavelets -vvv
hi @grlee77 , I tested again on this platform and if I’m using ubuntu 20.04 instead of aws centos based distribution, it seems to be working.
I guess the difference might come from using python 3.8 in ubuntu 20.04 instead of 3.7 in aws distribution
so this works for me.
I could try again on the aws distribution if that’s useful for you
Same problem here. Using GitHub Actions and building within the quay.io/pypa/manylinux2014_aarch64 docker image. I note that 1.1.1 has manylinux2014_aarch64 wheels, whereas 1.2.0 does not. Previously my build wouldn’t fail as 1.1.1 was used, but now this bar got raised by some transitive dependency (probably scikit-image) so that it tries to build 1.2.0 from source (given the lack of wheels) and fails. So IMO there are two issues here: failing build, missing wheel.
Looking at the pyproject.toml there is no variant that applies to Python 3.7 and aarch64:
Looking at the pyproject.toml there is no variant that applies to Python 3.7 and aarch64:
That does sound right. NumPy 1.20.0 does have an aarch64 wheel for Python 3.7: numpy-1.20.0-cp37-cp37m-manylinux2014_aarch64.whl
Adding this to pyproject.toml will probably fix that one:
That’s different from the original report on Python 3.9 though, which was due to musllinux .
Yes, also stumbled into that second bug of the ticket, on a regular python docker image on a regular ubuntu host.
In fact, downgrade to installing PyWavelets==1.1.1 did work with the docker image pypy:3.7-buster
Источник
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
I keep on trying to pip install mindsdb.
This is the message that it comes up with.
- Installing wheel
- Upgrading pip
- Installing sktime
- googling/StackOverflow
Expected Behavior
I anticipated that I would be able to download the package.
Steps To Reproduce
Anything else?
The text was updated successfully, but these errors were encountered:
Hi @TyanBr how did you resolve this?
I didn’t to be honest I just assumed it was something wrong with my computer though as I am relatively new to using Open source software.
Can you please share the stacktrace log, just copy/paste it here, and we will check?
Sure, here you go.
C:UsersTyanb>pip install mindsdb
Collecting mindsdb
Downloading MindsDB-22.5.1.2.tar.gz (146 kB)
—————————————- 146.2/146.2 KB 1.7 MB/s eta 0:00:00
Installing build dependencies . done
Getting requirements to build wheel . done
Preparing metadata (pyproject.toml) . done
Collecting lightwood>=22.5.1.0
Downloading lightwood-22.5.1.0.tar.gz (180 kB)
—————————————- 180.2/180.2 KB 3.6 MB/s eta 0:00:00
Installing build dependencies . done
Getting requirements to build wheel . done
Preparing metadata (pyproject.toml) . done
Collecting pymongo[srv,tls]>=3.10.1
Using cached pymongo-4.1.1-cp39-cp39-win_amd64.whl (365 kB)
Collecting flask =1.0
Using cached Flask-1.1.4-py2.py3-none-any.whl (94 kB)
Collecting psycopg[binary]>=1.15.3
Using cached psycopg-3.0.13-py3-none-any.whl (142 kB)
Collecting sentry-sdk
Downloading sentry_sdk-1.5.12-py2.py3-none-any.whl (145 kB)
—————————————- 145.3/145.3 KB 2.9 MB/s eta 0:00:00
Collecting markupsafe==2.0.1
Using cached MarkupSafe-2.0.1-cp39-cp39-win_amd64.whl (14 kB)
Collecting waitress>=1.4.4
Using cached waitress-2.1.1-py3-none-any.whl (57 kB)
Collecting flask-compress>=1.0.0
Using cached Flask_Compress-1.12-py3-none-any.whl (7.9 kB)
Collecting mindsdb-sql =0.3.4
Using cached mindsdb_sql-0.3.4-py3-none-any.whl (87 kB)
Collecting mindsdb-streams==0.0.5
Using cached mindsdb-streams-0.0.5.tar.gz (9.5 kB)
Installing build dependencies . done
Getting requirements to build wheel . done
Preparing metadata (pyproject.toml) . done
Collecting python-tds>=1.10.0
Using cached python-tds-1.11.0.tar.gz (68 kB)
Preparing metadata (setup.py) . done
Requirement already satisfied: appdirs>=1.0.0 in c:userstyanbonedrivedocumentspythonlibsite-packages (from mindsdb) (1.4.4)
Collecting walrus==0.8.2
Using cached walrus-0.8.2.tar.gz (81 kB)
Preparing metadata (setup.py) . done
Collecting flask-restx>=0.2.0
Using cached flask_restx-0.5.1-py2.py3-none-any.whl (5.3 MB)
Collecting pyparsing==2.3.1
Using cached pyparsing-2.3.1-py2.py3-none-any.whl (61 kB)
Collecting cryptography =2.9.2
Using cached cryptography-3.3.2-cp36-abi3-win_amd64.whl (1.5 MB)
Collecting alembic>=1.3.3
Using cached alembic-1.7.7-py3-none-any.whl (210 kB)
Requirement already satisfied: setuptools in c:userstyanbonedrivedocumentspythonlibsite-packages (from mindsdb) (61.2.0)
Collecting checksumdir>=1.2.0
Using cached checksumdir-1.2.0-py3-none-any.whl (5.3 kB)
Requirement already satisfied: requests>=2.0.0 in c:userstyanbonedrivedocumentspythonlibsite-packages (from mindsdb) (2.27.1)
Collecting duckdb==0.3.1
Using cached duckdb-0.3.1-cp39-cp39-win_amd64.whl (7.3 MB)
Requirement already satisfied: sqlalchemy>=1.3.0 in c:userstyanbonedrivedocumentspythonlibsite-packages (from mindsdb) (1.4.32)
Collecting psutil
Using cached psutil-5.9.0-cp39-cp39-win_amd64.whl (245 kB)
Collecting python-multipart>=0.0.5
Using cached python-multipart-0.0.5.tar.gz (32 kB)
Preparing metadata (setup.py) . done
Collecting mindsdb-datasources =1.8.3
Using cached mindsdb_datasources-1.8.3.tar.gz (25 kB)
Preparing metadata (setup.py) . done
Collecting kafka-python>=2.0.0
Using cached kafka_python-2.0.2-py2.py3-none-any.whl (246 kB)
Requirement already satisfied: numpy>=1.14 in c:userstyanbonedrivedocumentspythonlibsite-packages (from duckdb==0.3.1->mindsdb) (1.21.6)
Requirement already satisfied: pandas>=1.1.5 in c:userstyanbonedrivedocumentspythonlibsite-packages (from mindsdb-streams==0.0.5->mindsdb) (1.4.1)
Collecting urllib3==1.26.6
Using cached urllib3-1.26.6-py2.py3-none-any.whl (138 kB)
Collecting charset-normalizer==2.0.2
Using cached charset_normalizer-2.0.2-py3-none-any.whl (35 kB)
Collecting requests>=2.0.0
Using cached requests-2.26.0-py2.py3-none-any.whl (62 kB)
Collecting redis==3.5.3
Using cached redis-3.5.3-py2.py3-none-any.whl (72 kB)
Collecting certifi==2021.5.30
Using cached certifi-2021.5.30-py2.py3-none-any.whl (145 kB)
Collecting idna==3.2
Using cached idna-3.2-py3-none-any.whl (59 kB)
Collecting Mako
Using cached Mako-1.2.0-py3-none-any.whl (78 kB)
Requirement already satisfied: six>=1.4.1 in c:userstyanbonedrivedocumentspythonlibsite-packages (from cryptography =2.9.2->mindsdb) (1.16.0)
Requirement already satisfied: cffi>=1.12 in c:userstyanbonedrivedocumentspythonlibsite-packages (from cryptography =2.9.2->mindsdb) (1.15.0)
Collecting click =5.1
Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting itsdangerous =0.24
Using cached itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB)
Collecting Jinja2 =2.10.1
Using cached Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
Collecting Werkzeug =0.15
Using cached Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)
Collecting brotli
Using cached Brotli-1.0.9-cp39-cp39-win_amd64.whl (383 kB)
Collecting jsonschema
Using cached jsonschema-4.5.1-py3-none-any.whl (72 kB)
Requirement already satisfied: pytz in c:userstyanbonedrivedocumentspythonlibsite-packages (from flask-restx>=0.2.0->mindsdb) (2022.1)
Collecting aniso8601>=0.82
Using cached aniso8601-9.0.1-py2.py3-none-any.whl (52 kB)
Collecting scipy =1.5.4
Using cached scipy-1.7.1-cp39-cp39-win_amd64.whl (33.8 MB)
Collecting python-dateutil =2.1
Using cached python_dateutil-2.8.0-py2.py3-none-any.whl (226 kB)
Collecting colorlog==6.5.0
Using cached colorlog-6.5.0-py2.py3-none-any.whl (11 kB)
Collecting NLTK =3
Using cached nltk-3.5.zip (1.4 MB)
Preparing metadata (setup.py) . done
Requirement already satisfied: wheel>=0.32.2 in c:userstyanbonedrivedocumentspythonlibsite-packages (from lightwood>=22.5.1.0->mindsdb) (0.37.1)
Collecting langdetect =1.0.0
Using cached langdetect-1.0.9.tar.gz (981 kB)
Preparing metadata (setup.py) . done
Collecting pandas>=1.1.5
Using cached pandas-1.3.3-cp39-cp39-win_amd64.whl (10.2 MB)
Collecting torch-optimizer==0.1.0
Using cached torch_optimizer-0.1.0-py3-none-any.whl (72 kB)
Collecting transformers =4.5.0
Using cached transformers-4.11.3-py3-none-any.whl (2.9 MB)
Collecting dataclasses-json>=0.5.4
Using cached dataclasses_json-0.5.7-py3-none-any.whl (25 kB)
Collecting optuna =2.8.0
Using cached optuna-2.9.1-py3-none-any.whl (302 kB)
Collecting sktime =0.5.0
Using cached sktime-0.8.0.tar.gz (9.7 MB)
Preparing metadata (setup.py) . error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [16 lines of output]
c:userstyanbonedrivedocumentspythonlibsite-packagessetuptoolsdist.py:757: UserWarning: Usage of dash-separated ‘description-file’ will not be supported in future versions. Please use the underscore name ‘description_file’ instead
warnings.warn(
error: Multiple top-level packages discovered in a flat-layout: [‘sktime’, ‘build_tools’, ‘extension_templates’].
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Running into the same error, anyone found a solution?
same error, help
are we all using the latest version of python? likely purely coincidental but neverhad this problem before using the current version of python
I upgraded from 3.9.5 to the latest version of 3.10.5. Errors still occur seems to be roughly the same error but this time it occurs with Scipy.
I have added the Stacktrace log below:
C:UsersTyanb>pip install mindsdb
Collecting mindsdb
Using cached MindsDB-22.6.2.1.tar.gz (150 kB)
Installing build dependencies . done
Getting requirements to build wheel . done
Preparing metadata (pyproject.toml) . done
Collecting lightwood =22.6.1.2
Using cached lightwood-22.6.1.2.tar.gz (182 kB)
Installing build dependencies . done
Getting requirements to build wheel . done
Preparing metadata (pyproject.toml) . done
Collecting sqlalchemy>=1.3.0
Downloading SQLAlchemy-1.4.37-cp310-cp310-win_amd64.whl (1.6 MB)
—————————————- 1.6/1.6 MB 3.4 MB/s eta 0:00:00
Collecting python-tds>=1.10.0
Using cached python-tds-1.11.0.tar.gz (68 kB)
Preparing metadata (setup.py) . done
Collecting checksumdir>=1.2.0
Using cached checksumdir-1.2.0-py3-none-any.whl (5.3 kB)
Collecting flask-restx>=0.2.0
Using cached flask_restx-0.5.1-py2.py3-none-any.whl (5.3 MB)
Collecting flask =1.0
Using cached Flask-1.1.4-py2.py3-none-any.whl (94 kB)
Collecting pymongo[srv,tls]>=3.10.1
Downloading pymongo-4.1.1-cp310-cp310-win_amd64.whl (365 kB)
—————————————- 365.3/365.3 KB 2.8 MB/s eta 0:00:00
Collecting sentry-sdk
Using cached sentry_sdk-1.5.12-py2.py3-none-any.whl (145 kB)
Collecting alembic>=1.3.3
Using cached alembic-1.8.0-py3-none-any.whl (209 kB)
Requirement already satisfied: setuptools in c:userstyanbappdatalocalprogramspythonpython310libsite-packages (from mindsdb) (58.1.0)
Collecting flask-compress>=1.0.0
Using cached Flask_Compress-1.12-py3-none-any.whl (7.9 kB)
Collecting mindsdb-sql =0.3.5
Using cached mindsdb_sql-0.3.7-py3-none-any.whl (88 kB)
Collecting kafka-python>=2.0.0
Using cached kafka_python-2.0.2-py2.py3-none-any.whl (246 kB)
Collecting walrus==0.8.2
Using cached walrus-0.8.2.tar.gz (81 kB)
Preparing metadata (setup.py) . done
Collecting duckdb==0.3.1
Downloading duckdb-0.3.1.tar.gz (8.8 MB)
—————————————- 8.8/8.8 MB 3.9 MB/s eta 0:00:00
Preparing metadata (setup.py) . done
Collecting requests>=2.0.0
Downloading requests-2.28.0-py3-none-any.whl (62 kB)
—————————————- 62.8/62.8 KB 3.5 MB/s eta 0:00:00
Collecting python-multipart>=0.0.5
Using cached python-multipart-0.0.5.tar.gz (32 kB)
Preparing metadata (setup.py) . done
Collecting psutil
Downloading psutil-5.9.1-cp310-cp310-win_amd64.whl (245 kB)
—————————————- 245.8/245.8 KB 2.1 MB/s eta 0:00:00
Collecting mindsdb-datasources =1.8.4
Using cached mindsdb_datasources-1.8.4.tar.gz (25 kB)
Preparing metadata (setup.py) . done
Collecting psycopg[binary]>=1.15.3
Using cached psycopg-3.0.14-py3-none-any.whl (143 kB)
Collecting pyparsing==2.3.1
Using cached pyparsing-2.3.1-py2.py3-none-any.whl (61 kB)
Collecting mindsdb-streams==0.0.5
Using cached mindsdb-streams-0.0.5.tar.gz (9.5 kB)
Installing build dependencies . done
Getting requirements to build wheel . done
Preparing metadata (pyproject.toml) . done
Collecting cryptography =2.9.2
Using cached cryptography-3.3.2-cp36-abi3-win_amd64.whl (1.5 MB)
Collecting markupsafe==2.0.1
Downloading MarkupSafe-2.0.1-cp310-cp310-win_amd64.whl (15 kB)
Collecting waitress>=1.4.4
Using cached waitress-2.1.2-py3-none-any.whl (57 kB)
Collecting appdirs>=1.0.0
Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting numpy>=1.14
Downloading numpy-1.22.4-cp310-cp310-win_amd64.whl (14.7 MB)
—————————————- 14.7/14.7 MB 951.7 kB/s eta 0:00:00
Collecting requests>=2.0.0
Using cached requests-2.26.0-py2.py3-none-any.whl (62 kB)
Collecting urllib3==1.26.6
Using cached urllib3-1.26.6-py2.py3-none-any.whl (138 kB)
Collecting pandas>=1.1.5
Downloading pandas-1.4.2-cp310-cp310-win_amd64.whl (10.6 MB)
—————————————- 10.6/10.6 MB 1.9 MB/s eta 0:00:00
Collecting redis==3.5.3
Using cached redis-3.5.3-py2.py3-none-any.whl (72 kB)
Collecting certifi==2021.5.30
Using cached certifi-2021.5.30-py2.py3-none-any.whl (145 kB)
Collecting charset-normalizer==2.0.2
Using cached charset_normalizer-2.0.2-py3-none-any.whl (35 kB)
Collecting idna==3.2
Using cached idna-3.2-py3-none-any.whl (59 kB)
Collecting Mako
Using cached Mako-1.2.0-py3-none-any.whl (78 kB)
Collecting six>=1.4.1
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting cffi>=1.12
Downloading cffi-1.15.0-cp310-cp310-win_amd64.whl (180 kB)
—————————————- 180.3/180.3 KB 1.6 MB/s eta 0:00:00
Collecting click =5.1
Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting itsdangerous =0.24
Using cached itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB)
Collecting Jinja2 =2.10.1
Using cached Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
Collecting Werkzeug =0.15
Using cached Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)
Collecting brotli
Downloading Brotli-1.0.9-cp310-cp310-win_amd64.whl (383 kB)
—————————————- 383.3/383.3 KB 994.9 kB/s eta 0:00:00
Collecting aniso8601>=0.82
Using cached aniso8601-9.0.1-py2.py3-none-any.whl (52 kB)
Collecting pytz
Using cached pytz-2022.1-py2.py3-none-any.whl (503 kB)
Collecting jsonschema
Using cached jsonschema-4.6.0-py3-none-any.whl (80 kB)
Collecting scipy =1.5.4
Downloading scipy-1.6.1.tar.gz (27.3 MB)
—————————————- 27.3/27.3 MB 1.4 MB/s eta 0:00:00
Installing build dependencies . done
Getting requirements to build wheel . done
Preparing metadata (pyproject.toml) . error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [130 lines of output]
setup.py:461: UserWarning: Unrecognized setuptools command (‘dist_info —egg-base C:UsersTyanbAppDataLocalTemppip-modern-metadata-f0ssrpuh’), proceeding with generating Cython sources and expanding templates
warnings.warn(«Unrecognized setuptools command (‘<>‘), proceeding with »
Running from SciPy source directory.
INFO: lapack_opt_info:
INFO: lapack_armpl_info:
INFO: No module named ‘numpy.distutils._msvccompiler’ in numpy.distutils; trying from distutils
INFO: customize MSVCCompiler
INFO: libraries armpl_lp64_mp not found in [‘C:UsersTyanbAppDataLocalProgramsPythonPython310lib’, ‘C:’, ‘C:UsersTyanbAppDataLocalProgramsPythonPython310libs’]
INFO: NOT AVAILABLE
INFO:
INFO: lapack_mkl_info:
INFO: libraries mkl_rt not found in [‘C:UsersTyanbAppDataLocalProgramsPythonPython310lib’, ‘C:’, ‘C:UsersTyanbAppDataLocalProgramsPythonPython310libs’]
INFO: NOT AVAILABLE
INFO:
INFO: openblas_lapack_info:
INFO: libraries openblas not found in [‘C:UsersTyanbAppDataLocalProgramsPythonPython310lib’, ‘C:’, ‘C:UsersTyanbAppDataLocalProgramsPythonPython310libs’]
INFO: get_default_fcompiler: matching types: ‘[‘gnu’, ‘intelv’, ‘absoft’, ‘compaqv’, ‘intelev’, ‘gnu95’, ‘g95’, ‘intelvem’, ‘intelem’, ‘flang’]’
INFO: customize GnuFCompiler
WARN: Could not locate executable g77
WARN: Could not locate executable f77
INFO: customize IntelVisualFCompiler
WARN: Could not locate executable ifort
WARN: Could not locate executable ifl
INFO: customize AbsoftFCompiler
WARN: Could not locate executable f90
INFO: customize CompaqVisualFCompiler
WARN: Could not locate executable DF
INFO: customize IntelItaniumVisualFCompiler
WARN: Could not locate executable efl
INFO: customize Gnu95FCompiler
WARN: Could not locate executable gfortran
WARN: Could not locate executable f95
INFO: customize G95FCompiler
WARN: Could not locate executable g95
INFO: customize IntelEM64VisualFCompiler
INFO: customize IntelEM64TFCompiler
WARN: Could not locate executable efort
WARN: Could not locate executable efc
INFO: customize PGroupFlangCompiler
WARN: Could not locate executable flang
WARN: don’t know how to compile Fortran code on platform ‘nt’
INFO: NOT AVAILABLE
INFO:
INFO: openblas_clapack_info:
INFO: libraries openblas,lapack not found in [‘C:UsersTyanbAppDataLocalProgramsPythonPython310lib’, ‘C:’, ‘C:UsersTyanbAppDataLocalProgramsPythonPython310libs’]
INFO: NOT AVAILABLE
INFO:
INFO: flame_info:
INFO: libraries flame not found in [‘C:UsersTyanbAppDataLocalProgramsPythonPython310lib’, ‘C:’, ‘C:UsersTyanbAppDataLocalProgramsPythonPython310libs’]
INFO: NOT AVAILABLE
INFO:
INFO: accelerate_info:
INFO: NOT AVAILABLE
INFO:
INFO: atlas_3_10_threads_info:
INFO: Setting PTATLAS=ATLAS
INFO: libraries tatlas,tatlas not found in C:UsersTyanbAppDataLocalProgramsPythonPython310lib
INFO: libraries tatlas,tatlas not found in C:
INFO: libraries tatlas,tatlas not found in C:UsersTyanbAppDataLocalProgramsPythonPython310libs
INFO:
INFO: NOT AVAILABLE
INFO:
INFO: atlas_3_10_info:
INFO: libraries satlas,satlas not found in C:UsersTyanbAppDataLocalProgramsPythonPython310lib
INFO: libraries satlas,satlas not found in C:
INFO: libraries satlas,satlas not found in C:UsersTyanbAppDataLocalProgramsPythonPython310libs
INFO:
INFO: NOT AVAILABLE
INFO:
INFO: atlas_threads_info:
INFO: Setting PTATLAS=ATLAS
INFO: libraries ptf77blas,ptcblas,atlas not found in C:UsersTyanbAppDataLocalProgramsPythonPython310lib
INFO: libraries ptf77blas,ptcblas,atlas not found in C:
INFO: libraries ptf77blas,ptcblas,atlas not found in C:UsersTyanbAppDataLocalProgramsPythonPython310libs
INFO:
INFO: NOT AVAILABLE
INFO:
INFO: atlas_info:
INFO: libraries f77blas,cblas,atlas not found in C:UsersTyanbAppDataLocalProgramsPythonPython310lib
INFO: libraries f77blas,cblas,atlas not found in C:
INFO: libraries f77blas,cblas,atlas not found in C:UsersTyanbAppDataLocalProgramsPythonPython310libs
INFO:
INFO: NOT AVAILABLE
INFO:
INFO: lapack_info:
INFO: libraries lapack not found in [‘C:UsersTyanbAppDataLocalProgramsPythonPython310lib’, ‘C:’, ‘C:UsersTyanbAppDataLocalProgramsPythonPython310libs’]
INFO: NOT AVAILABLE
INFO:
C:UsersTyanbAppDataLocalTemppip-build-env-85vp7kzboverlayLibsite-packagesnumpydistutilssystem_info.py:1902: UserWarning:
Lapack (http://www.netlib.org/lapack/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
return getattr(self, ‘calc_info<>‘.format(name))()
INFO: lapack_src_info:
INFO: NOT AVAILABLE
INFO:
C:UsersTyanbAppDataLocalTemppip-build-env-85vp7kzboverlayLibsite-packagesnumpydistutilssystem_info.py:1902: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
return getattr(self, ‘calc_info<>‘.format(name))()
INFO: NOT AVAILABLE
INFO:
Traceback (most recent call last):
File «C:UsersTyanbAppDataLocalProgramsPythonPython310libsite-packagespip_vendorpep517in_process_in_process.py», line 363, in
main()
File «C:UsersTyanbAppDataLocalProgramsPythonPython310libsite-packagespip_vendorpep517in_process_in_process.py», line 345, in main
json_out[‘return_val’] = hook(**hook_input[‘kwargs’])
File «C:UsersTyanbAppDataLocalProgramsPythonPython310libsite-packagespip_vendorpep517in_process_in_process.py», line 164, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
File «C:UsersTyanbAppDataLocalTemppip-build-env-85vp7kzboverlayLibsite-packagessetuptoolsbuild_meta.py», line 161, in prepare_metadata_for_build_wheel
self.run_setup()
File «C:UsersTyanbAppDataLocalTemppip-build-env-85vp7kzboverlayLibsite-packagessetuptoolsbuild_meta.py», line 253, in run_setup
super(_BuildMetaLegacyBackend,
File «C:UsersTyanbAppDataLocalTemppip-build-env-85vp7kzboverlayLibsite-packagessetuptoolsbuild_meta.py», line 145, in run_setup
exec(compile(code, file, ‘exec’), locals())
File «setup.py», line 588, in
setup_package()
File «setup.py», line 584, in setup_package
setup(**metadata)
File «C:UsersTyanbAppDataLocalTemppip-build-env-85vp7kzboverlayLibsite-packagesnumpydistutilscore.py», line 135, in setup
config = configuration()
File «setup.py», line 499, in configuration
raise NotFoundError(msg)
numpy.distutils.system_info.NotFoundError: No BLAS/LAPACK libraries found.
To build Scipy from sources, BLAS & LAPACK libraries need to be installed.
See site.cfg.example in the Scipy source directory and
https://docs.scipy.org/doc/scipy/reference/building/index.html for details.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Источник
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
VinLee opened this issue
Nov 23, 2020
· 6 comments
Closed
Preparing wheel metadata … error
#819
VinLee opened this issue
Nov 23, 2020
· 6 comments
Comments
Expected Behavior
Expect to install sudo python3 -m pip install urh but i had this failure:
https://pastebin.com/DLXjzSv4
Actual Behavior
Install could not be finished.
Steps To Reproduce
What i tried https://pastebin.com/7V9pDekg
Screenshots
Platform Specifications
- OS: [https://pastebin.com/wxVDPjyL]
- URH version: [
Using cached https://www.piwheels.org/simple/urh/urh-2.8.9-cp37-cp37m-linux_armv7l.whl (4.8 MB)
] - Python version: [
pi@raspberrypi:~ $ python —version Python 2.7.16
pi@raspberrypi:~ $ python3 —version Python 3.7.3
] - Installed via [
sudo python3 -m pip install —upgrade pip
sudo python3 -m pip install urh
]
You have an error installing PyQt5 which is an requirement for URH. Here is the relevant part of the log you posted:
Collecting pyqt5
Using cached PyQt5-5.15.1.tar.gz (3.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmp_4evzfbw
cwd: /tmp/pip-install-toiy0o72/pyqt5
Complete output (31 lines):
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/_in_process.py", line 126, in prepare_metadata_for_build_wheel
hook = backend.prepare_metadata_for_build_wheel
AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel'
Here it is suggested that upgrading pip and setuptools might fix the issue. Another option would be to install another version of PyQt5.
Edit: Since you are on a Raspberry, the most straightforward way would be to use good old apt-get
sudo apt-get install python3-pyqt5
Hello Mr. Pohl,
as suggested.
pi@raspberrypi:~ $ sudo apt-get install python3-pyqt5
Reading package lists… Done
Building dependency tree
Reading state information… Done
python3-pyqt5 is already the newest version (5.11.3+dfsg-1+rpi1+b3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
For me it seams that it was already the latest version of pyqt5.
I see. Is the installation alright? You can check e.g. with
python3 -c "from PyQt5.QtCore import QT_VERSION_STR; print(QT_VERSION_STR)"
If everything is fine, you can try to install URH again without using the cached PyQt5 version
python3 -m pip install --no-cache-dir urh
If that not helps you can simply install URH from source with python3 setup.py install
pi@raspberrypi:~ $ python3 -c «from PyQt5.QtCore import QT_VERSION_STR; print(QT_VERSION_STR)»
5.11.3
pi@raspberrypi:~ $ python3 setup.py install
python3: can’t open file ‘setup.py’: [Errno 2] No such file or directory
This cmd python3 -m pip install —no-cache-dir urh
seams to not finish. Or should I leave it on over night?
pi@raspberrypi:~ $ python3 setup.py install
python3: can’t open file ‘setup.py’: [Errno 2] No such file or directory
Make sure you clone the repo first and then cd
into the directory. Nevertheless:
This cmd python3 -m pip install —no-cache-dir urh seams to not finish. Or should I leave it on over night?
That is actually a good sign. You could speed things up by installing numpy beforehand with apt-get install python3-numpy
but it could take some time to build the Cython Extensions on a Raspberry anyway. As long as there is some action (check with top whether your CPU is active) it means it is compiling.
2 participants
0 / 0 / 0 Регистрация: 31.10.2019 Сообщений: 7 |
|
1 |
|
Прошу подсказать с решение проблемы31.10.2019, 10:36. Показов 19038. Ответов 11
при команде pip install pyinstaller вылазит следующее Кликните здесь для просмотра всего текста
Collecting pyinstaller warning: no files found matching ‘news_template.rst’
Подскажите пожалуйста , что это такое и как с этим бороться
__________________
0 |
954 / 340 / 113 Регистрация: 04.08.2018 Сообщений: 2,534 |
|
31.10.2019, 10:37 |
2 |
‘C:Users46AD~1 Странное именование пользователя, возможно из-за этого?
0 |
0 / 0 / 0 Регистрация: 31.10.2019 Сообщений: 7 |
|
31.10.2019, 10:44 [ТС] |
3 |
так как же это исправить ? Добавлено через 5 минут
0 |
954 / 340 / 113 Регистрация: 04.08.2018 Сообщений: 2,534 |
|
31.10.2019, 10:46 |
4 |
CyberDjangoJack, переименовать пользователя. Добавлено через 1 минуту У вас есть операционная система. В ней есть пользователи. Вам надо переименовать пользователя если он именуется вот так: 46AD~1, если нет, то видимо пользователь написан на русском языке, переименуйте на английский.
0 |
0 / 0 / 0 Регистрация: 31.10.2019 Сообщений: 7 |
|
31.10.2019, 10:46 [ТС] |
5 |
Где и каким образом ?!!?!??!
0 |
0 / 0 / 0 Регистрация: 31.10.2019 Сообщений: 7 |
|
31.10.2019, 10:51 [ТС] |
7 |
БОЛЬЩОЕ СПАСИБО ВЫ МНЕ ОЧЕНЬ ПОМОГЛИ !!!!!!!!!!!!!!!!!!!!!!!!!!
0 |
954 / 340 / 113 Регистрация: 04.08.2018 Сообщений: 2,534 |
|
31.10.2019, 10:56 |
9 |
untyped, да тут сразу было понятно, что человек не хочет пользоваться гугло, я уже испугался, что гугл отключили. Вот, помог. Добавлено через 24 секунды
0 |
0 / 0 / 2 Регистрация: 21.12.2010 Сообщений: 32 |
|
23.08.2020, 00:35 |
10 |
В итоге мне помогло вот это: Откати версию PIP до 18.1 Пробуй установить pyinstaller еще раз Видимо что-то в свежем PIP конфликтует.
0 |
Alli_Lupin |
23.08.2020, 13:10
|
Не по теме: profdesigner, что-то вам со всеми проблемами откат пипа помогает
0 |
0 / 0 / 2 Регистрация: 21.12.2010 Сообщений: 32 |
|
23.08.2020, 14:26 |
12 |
По итогу pyinstall не работал с Python 3.8. Костыль с откатом Pip позволил установить pyinstall на 3.8, но при этом он не работал. Поэтому без вариантов откатываться на версию Python ниже, пока разработчики pyinstall не начнут поддерживать версию питона выше. Добавлено через 18 минут
0 |
IT_Exp Эксперт 87844 / 49110 / 22898 Регистрация: 17.06.2006 Сообщений: 92,604 |
23.08.2020, 14:26 |
Помогаю со студенческими работами здесь Прошу подсказать Прошу подсказать Прошу подсказать Прошу подсказать по апгрейду Искать еще темы с ответами Или воспользуйтесь поиском по форуму: 12 |
Hello everyone,
I’ve been having trouble finding a way to install deemix over the past few days. I stumble upon an error Screenshot on Imgur:
“Preparing wheel metadata ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/opt/python@3.8/bin/python3.8 /usr/local/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /var/folders/qm/4p3ytcz5037ftkb9nx9dyxr40000gn/T/tmpk9dkyih6
cwd: /private/var/folders/qm/4p3ytcz5037ftkb9nx9dyxr40000gn/T/pip-install-cii4mu_p/pyqt5
Complete output (31 lines):
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py", line 126, in prepare_metadata_for_build_wheel
hook = backend.prepare_metadata_for_build_wheel
AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py", line 280, in <module>
main()
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py", line 263, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py", line 130, in prepare_metadata_for_build_wheel
return _get_wheel_metadata_from_wheel(backend, metadata_directory,
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py", line 159, in _get_wheel_metadata_from_wheel
whl_basename = backend.build_wheel(metadata_directory, config_settings)
File "/private/var/folders/qm/4p3ytcz5037ftkb9nx9dyxr40000gn/T/pip-build-env-vxw_imw9/overlay/lib/python3.8/site-packages/sipbuild/api.py", line 51, in build_wheel
project = AbstractProject.bootstrap('pep517')
File "/private/var/folders/qm/4p3ytcz5037ftkb9nx9dyxr40000gn/T/pip-build-env-vxw_imw9/overlay/lib/python3.8/site-packages/sipbuild/abstract_project.py", line 82, in bootstrap
project.setup(pyproject, tool, tool_description)
File "/private/var/folders/qm/4p3ytcz5037ftkb9nx9dyxr40000gn/T/pip-build-env-vxw_imw9/overlay/lib/python3.8/site-packages/sipbuild/project.py", line 479, in setup
self.apply_user_defaults(tool)
File "project.py", line 64, in apply_user_defaults
super().apply_user_defaults(tool)
File "/private/var/folders/qm/4p3ytcz5037ftkb9nx9dyxr40000gn/T/pip-build-env-vxw_imw9/overlay/lib/python3.8/site-packages/pyqtbuild/project.py", line 89, in apply_user_defaults
super().apply_user_defaults(tool)
File "/private/var/folders/qm/4p3ytcz5037ftkb9nx9dyxr40000gn/T/pip-build-env-vxw_imw9/overlay/lib/python3.8/site-packages/sipbuild/project.py", line 225, in apply_user_defaults
self.builder.apply_user_defaults(tool)
File "/private/var/folders/qm/4p3ytcz5037ftkb9nx9dyxr40000gn/T/pip-build-env-vxw_imw9/overlay/lib/python3.8/site-packages/pyqtbuild/builder.py", line 68, in apply_user_defaults
raise PyProjectOptionException('qmake',
sipbuild.pyproject.PyProjectOptionException
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/opt/python@3.8/bin/python3.8
/usr/local/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel
/var/folders/qm/4p3ytcz5037ftkb9nx9dyxr40000gn/T/tmpk9dkyih6 Check the logs for full command output.
Deemix installed :)”
So it says Deemix is installed, but when I run startdeemix.command (which effectively runs “python3 deemix-pyweb.py”, I get the error message: “ModuleNotFoundError: No module named ‘PyQt5’”
What can I do? All tutorials, methods, and posts I have searched are from a few months back and are no longer up to date or not applicable for my OS.
Thanks in advance for your help!