Numpy installation error while installing taiyaki with pip - numpy

I've been trying to install taiyaki with pip. I keep getting this error:
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.
╰─> numpy
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
It seems to have some trouble with numpy installation, so I tried installing numpy with pip and removing it from the required dependencies in the setup.py file and it still does not work. I also tried running pip with '--no-cache-dir' option and '--no-deps' option but I get the same error.

Related

tensorflow-gpu install error like this..T.T python:3.10 tensorflow: 2.11.0 CUDA 10.1 cuDNN 8.0.3

C:\Users\CITADEL>pip install tensorflow-gpu
Collecting tensorflow-gpu
Using cached tensorflow-gpu-2.12.0.tar.gz (2.6 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: python_version>"3.7" in c:\users\citadel\appdata\local\programs\python\python310\lib\site-packages (from tensorflow-gpu) (0.0.2)
Building wheels for collected packages: tensorflow-gpu
Building wheel for tensorflow-gpu (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [18 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\CITADEL\AppData\Local\Temp\pip-install-3o7_0drd\tensorflow-gpu_b2c72ac2351448d18a87a109721775f4\setup.py", line 37, in
raise Exception(TF_REMOVAL_WARNING)
Exception:
=========================================================
The "tensorflow-gpu" package has been removed!
Please install "tensorflow" instead.
Other than the name, the two packages have been identical
since TensorFlow 2.1, or roughly since Sep 2019. For more
information, see: pypi.org/project/tensorflow-gpu
=========================================================
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for tensorflow-gpu
Running setup.py clean for tensorflow-gpu
Failed to build tensorflow-gpu
Installing collected packages: tensorflow-gpu
Running setup.py install for tensorflow-gpu ... error
error: subprocess-exited-with-error
× Running setup.py install for tensorflow-gpu did not run successfully.
│ exit code: 1
╰─> [18 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\CITADEL\AppData\Local\Temp\pip-install-3o7_0drd\tensorflow-gpu_b2c72ac2351448d18a87a109721775f4\setup.py", line 37, in
raise Exception(TF_REMOVAL_WARNING)
Exception:
=========================================================
The "tensorflow-gpu" package has been removed!
Please install "tensorflow" instead.
Other than the name, the two packages have been identical
since TensorFlow 2.1, or roughly since Sep 2019. For more
information, see: pypi.org/project/tensorflow-gpu
=========================================================
[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.
╰─> tensorflow-gpu
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
tensorflow-gpu and tensorflow are the same package since the release of version 2.1. Installing tensorflow alone will enable GPU acceleration.
You can refer to the this link it has more details.

Can't install lxml on pip

I can't install lxml on pip or pip3
I tried run the code on python3.11
import pandas as pd
data = pd.read_html("https://zh.wikipedia.org/zh-hans/%E6%81%92%E7%94%9F%E6%8C%87%E6%95%B8")
It occurred a Import Error.
"ImportError: lxml not found, please install it"
So I tried to install the lxml. "pip install lxml"
However, it cannot be install.
** 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.
╰─> lxml
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.**
And then, I had download the lxml-4.9.9-pp38-....whl
and entered "pip install c:/......." and it said whl is not a supported wheel on this platform.
Could someone do me a favor?

Difficulty installing dbt snowflakes using pip

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyarrow
Failed to build pyarrow
ERROR: Could not build wheels for pyarrow, which is required to install pyproject.toml-based projects
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
I tried installing dbt-snowflake but having this error. Can anyone help please?
As the documentation states, dbt compatibility is up to python version 10. If you recently downloaded version 11 of python, it may cause unexpected behavior or errors. You need to install version 10 of python and attempt to reinstall dbt in a virtual environment using version 10.
Reference dbt docs here https://docs.getdbt.com/faqs/core/install-python-compatibility.

i tried to install twint using pip in github but i got this error: can anyone help me?

Running setup.py install for cchardet ... error
error: subprocess-exited-with-error
× Running setup.py install for cchardet did not run successfully.
│ exit code: 1
╰─> [11 lines of output]
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.10
creating build\lib.win-amd64-3.10\cchardet
copying src\cchardet\version.py -> build\lib.win-amd64-3.10\cchardet
copying src\cchardet_init_.py -> build\lib.win-amd64-3.10\cchardet
running build_ext
building 'cchardet._cchardet' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[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.
╰─> cchardet
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

numpy-python (error failed to build wheels for numpy.)

I tried to make a program for face_recoginition and I face an import error
error: NumPy.core.multiarray failed to import.
to resolve (after google) I tried to reinstall NumPy using the command pip install numpy. I am getting an error failed to build wheels for numpy.
And I am not able to resolve it.