Please help me with the download error.
I am trying to install the aiocsv library for my project, however when downloading with
pip install aiocsv getting error.
How can I fix it and install this module?
error code:
pip install aiocsv
Collecting aiocsv
Using cached aiocsv-1.2.3.tar.gz (62 kB)
Building wheels for collected packages: aiocsv
Building wheel for aiocsv (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\professional\appdata\local\programs\python\python39-32\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Professional\\AppData\\Local\\Temp\\pip-install-u9fs0atd\\aiocsv_f33954bb06d443e99eaccd0d3ef87399\\setup.py'"'"'; __file__='"'"'C:\\Users\\Professional\\AppData\\Local\\Temp\\pip-install-u9fs0atd\\aiocsv_f33954bb06d443e99eaccd0d3ef87399\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\Professional\AppData\Local\Temp\pip-wheel-2xniq_zi'
cwd: C:\Users\Professional\AppData\Local\Temp\pip-install-u9fs0atd\aiocsv_f33954bb06d443e99eaccd0d3ef87399\
Complete output (18 lines):
running bdist_wheel
running build
running build_py
file aiocsv.py (for module aiocsv) not found
creating build
creating build\lib.win32-3.9
creating build\lib.win32-3.9\aiocsv
copying aiocsv\parser.py -> build\lib.win32-3.9\aiocsv
copying aiocsv\protocols.py -> build\lib.win32-3.9\aiocsv
copying aiocsv\readers.py -> build\lib.win32-3.9\aiocsv
copying aiocsv\writers.py -> build\lib.win32-3.9\aiocsv
copying aiocsv\__init__.py -> build\lib.win32-3.9\aiocsv
copying aiocsv\py.typed -> build\lib.win32-3.9\aiocsv
copying aiocsv\_parser.pyi -> build\lib.win32-3.9\aiocsv
file aiocsv.py (for module aiocsv) not found
running build_ext
building 'aiocsv._parser' 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/
ERROR: Failed building wheel for aiocsv
Running setup.py clean for aiocsv
Failed to build aiocsv
Installing collected packages: aiocsv
Running setup.py install for aiocsv ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\professional\appdata\local\programs\python\python39-32\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Professional\\AppData\\Local\\Temp\\pip-install-u9fs0atd\\aiocsv_f33954bb06d443e99eaccd0d3ef87399\\setup.py'"'"'; __file__='"'"'C:\\Users\\Professional\\AppData\\Local\\Temp\\pip-install-u9fs0atd\\aiocsv_f33954bb06d443e99eaccd0d3ef87399\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Professional\AppData\Local\Temp\pip-record-nyjq06ux\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\professional\appdata\local\programs\python\python39-32\Include\aiocsv'
cwd: C:\Users\Professional\AppData\Local\Temp\pip-install-u9fs0atd\aiocsv_f33954bb06d443e99eaccd0d3ef87399\
Complete output (18 lines):
running install
running build
running build_py
file aiocsv.py (for module aiocsv) not found
creating build
creating build\lib.win32-3.9
creating build\lib.win32-3.9\aiocsv
copying aiocsv\parser.py -> build\lib.win32-3.9\aiocsv
copying aiocsv\protocols.py -> build\lib.win32-3.9\aiocsv
copying aiocsv\readers.py -> build\lib.win32-3.9\aiocsv
copying aiocsv\writers.py -> build\lib.win32-3.9\aiocsv
copying aiocsv\__init__.py -> build\lib.win32-3.9\aiocsv
copying aiocsv\py.typed -> build\lib.win32-3.9\aiocsv
copying aiocsv\_parser.pyi -> build\lib.win32-3.9\aiocsv
file aiocsv.py (for module aiocsv) not found
running build_ext
building 'aiocsv._parser' 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/
----------------------------------------
ERROR: Command errored out with exit status 1
Related
This question already has answers here:
Error "Microsoft Visual C++ 14.0 is required (Unable to find vcvarsall.bat)"
(36 answers)
Error while installing lxml through pip: Microsoft Visual C++ 14.0 is required
(8 answers)
Pip error even Microsoft Visual C++ 14.0 is installed
(4 answers)
How to solve "error: Microsoft Visual C++ 14.0 or greater is required" when installing Python packages?
(9 answers)
Closed last year.
I am trying to install mod_wsgi so I can run my Django app with Apache.
However when I use pip install mod_wsgi I get the following error:
ERROR: Command errored out with exit status 1:
command: 'C:\Program Files\Python310\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Admin\\AppData\\Local\\Temp\\pip-install-_w59fztq\\mod-wsgi_5a0ae0135da94aadbb09b85297022451\\setup.py'"'"'; __file__='"'"'C:\\Users\\Admin\\AppData\\Local\\Temp\\pip-install-_w59fztq\\mod-wsgi_5a0ae0135da94aadbb09b85297022451\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Admin\AppData\Local\Temp\pip-record-mwvtbeia\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\Admin\AppData\Roaming\Python\Python310\Include\mod-wsgi'
cwd: C:\Users\Admin\AppData\Local\Temp\pip-install-_w59fztq\mod-wsgi_5a0ae0135da94aadbb09b85297022451\
Complete output (24 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.10
creating build\lib.win-amd64-3.10\mod_wsgi
copying src\__init__.py -> build\lib.win-amd64-3.10\mod_wsgi
creating build\lib.win-amd64-3.10\mod_wsgi\server
copying src\server\apxs_config.py -> build\lib.win-amd64-3.10\mod_wsgi\server
copying src\server\environ.py -> build\lib.win-amd64-3.10\mod_wsgi\server
copying src\server\__init__.py -> build\lib.win-amd64-3.10\mod_wsgi\server
creating build\lib.win-amd64-3.10\mod_wsgi\server\management
copying src\server\management\__init__.py -> build\lib.win-amd64-3.10\mod_wsgi\server\management
creating build\lib.win-amd64-3.10\mod_wsgi\server\management\commands
copying src\server\management\commands\runmodwsgi.py -> build\lib.win-amd64-3.10\mod_wsgi\server\management\commands
copying src\server\management\commands\__init__.py -> build\lib.win-amd64-3.10\mod_wsgi\server\management\commands
creating build\lib.win-amd64-3.10\mod_wsgi\docs
copying docs\_build\html\__init__.py -> build\lib.win-amd64-3.10\mod_wsgi\docs
creating build\lib.win-amd64-3.10\mod_wsgi\images
copying images\__init__.py -> build\lib.win-amd64-3.10\mod_wsgi\images
copying images\snake-whiskey.jpg -> build\lib.win-amd64-3.10\mod_wsgi\images
running build_ext
building 'mod_wsgi.server.mod_wsgi' 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/
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Program Files\Python310\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Admin\\AppData\\Local\\Temp\\pip-install-_w59fztq\\mod-wsgi_5a0ae0135da94aadbb09b85297022451\\setup.py'"'"'; __file__='"'"'C:\\Users\\Admin\\AppData\\Local\\Temp\\pip-install-_w59fztq\\mod-wsgi_5a0ae0135da94aadbb09b85297022451\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Admin\AppData\Local\Temp\pip-record-mwvtbeia\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\Admin\AppData\Roaming\Python\Python310\Include\mod-wsgi' Check the logs for full command output.
I have no idea what the issue here could be..
I was trying to install the bllipparser for a project and used the command pip install bllipparser in the terminal, but I got the following error.
Installing collected packages: bllipparser
Running setup.py install for bllipparser ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\1000284172\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\1000284172\\AppData\\Local\\Temp\\pip-install-aik213us\\bllipparser_736f2d4697234f66883f283f0d23bdcf\\setup.py'"'"'; __file__='"'"'C:\\Users\\1000284172\\AppData\\Local\\Temp\\pip-install-aik213us\\bllipparser_736f2d4697234f66883f283f0d23bdcf\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\1000284172\AppData\Local\Temp\pip-record-dvw0bufb\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\1000284172\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Include\bllipparser'
cwd: C:\Users\1000284172\AppData\Local\Temp\pip-install-aik213us\bllipparser_736f2d4697234f66883f283f0d23bdcf\
Complete output (18 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\bllipparser
copying python\bllipparser\CharniakParser.py -> build\lib.win-amd64-3.9\bllipparser
copying python\bllipparser\JohnsonReranker.py -> build\lib.win-amd64-3.9\bllipparser
copying python\bllipparser\ModelFetcher.py -> build\lib.win-amd64-3.9\bllipparser
copying python\bllipparser\ParsingShell.py -> build\lib.win-amd64-3.9\bllipparser
copying python\bllipparser\RerankerFeatureCorpus.py -> build\lib.win-amd64-3.9\bllipparser
copying python\bllipparser\RerankingParser.py -> build\lib.win-amd64-3.9\bllipparser
copying python\bllipparser\Utility.py -> build\lib.win-amd64-3.9\bllipparser
copying python\bllipparser\__init__.py -> build\lib.win-amd64-3.9\bllipparser
copying python\bllipparser\__main__.py -> build\lib.win-amd64-3.9\bllipparser
running build_ext
building 'bllipparser._CharniakParser' 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/
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\1000284172\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\1000284172\\AppData\\Local\\Temp\\pip-install-aik213us\\bllipparser_736f2d4697234f66883f283f0d23bdcf\\setup.py'"'"'; __file__='"'"'C:\\Users\\1000284172\\AppData\\Local\\Temp\\pip-install-aik213us\\bllipparser_736f2d4697234f66883f283f0d23bdcf\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\1000284172\AppData\Local\Temp\pip-record-dvw0bufb\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\1000284172\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Include\bllipparser' Check the logs for full command output.
Is there any issue with the installation method? How do I resolve this?
You are missing a compiler as your error states:
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/
However, even if you get that fixed, this package is not really compatible with windows, see this github issue. So you are probably better of switching to a different OS or a different package
I am trying to install OOXML with Python 3.10 using pip install ooxml
First of all, I did create a new virtual environment (after installing virtualenv), then activated it with env\Scripts\activate
but I am getting this error:
(env) PS C:\Users\ahmad\Desktop\XML-DOCX> pip install ooxml
Collecting ooxml
Using cached ooxml-0.2.1.tar.gz (4.3 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: ooxml
Building wheel for ooxml (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\ahmad\Desktop\XML-DOCX\env\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ahmad\\AppData\\Local\\Temp\\pip-install-r6q4bs_b\\ooxml_5b43566139ba4321a491b2ef7c9bdf16\\setup.py'"'"'; __file__='"'"'C:\\Users\\ahmad\\AppData\\Local\\Temp\\pip-install-r6q4bs_b\\ooxml_5b43566139ba4321a491b2ef7c9bdf16\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\ahmad\AppData\Local\Temp\pip-wheel-cw6u77ak'
cwd: C:\Users\ahmad\AppData\Local\Temp\pip-install-r6q4bs_b\ooxml_5b43566139ba4321a491b2ef7c9bdf16\
Complete output (26 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib
creating build\lib\ooxml
copying ooxml\ooxmlbase.py -> build\lib\ooxml
copying ooxml\spreadsheet.py -> build\lib\ooxml
copying ooxml\__init__.py -> build\lib\ooxml
C:\Users\ahmad\Desktop\XML-DOCX\env\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(
installing to build\bdist.win-amd64\wheel
running install
running install_lib
creating build\bdist.win-amd64
creating build\bdist.win-amd64\wheel
creating build\bdist.win-amd64\wheel\ooxml
copying build\lib\ooxml\ooxmlbase.py -> build\bdist.win-amd64\wheel\.\ooxml
copying build\lib\ooxml\spreadsheet.py -> build\bdist.win-amd64\wheel\.\ooxml
copying build\lib\ooxml\__init__.py -> build\bdist.win-amd64\wheel\.\ooxml
running install_data
creating build\bdist.win-amd64\wheel\ooxml-0.2.1.data
creating build\bdist.win-amd64\wheel\ooxml-0.2.1.data\data
creating build\bdist.win-amd64\wheel\ooxml-0.2.1.data\data\ooxml
creating build\bdist.win-amd64\wheel\ooxml-0.2.1.data\data\ooxml\ooxml-templates
error: can't copy 'ooxml\ooxml-templates\workbook.xlsx': doesn't exist or not a regular file
----------------------------------------
ERROR: Failed building wheel for ooxml
Running setup.py clean for ooxml
Failed to build ooxml
Installing collected packages: ooxml
Running setup.py install for ooxml ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\ahmad\Desktop\XML-DOCX\env\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ahmad\\AppData\\Local\\Temp\\pip-install-r6q4bs_b\\ooxml_5b43566139ba4321a491b2ef7c9bdf16\\setup.py'"'"'; __file__='"'"'C:\\Users\\ahmad\\AppData\\Local\\Temp\\pip-install-r6q4bs_b\\ooxml_5b43566139ba4321a491b2ef7c9bdf16\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\ahmad\AppData\Local\Temp\pip-record-44ixgoxr\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\ahmad\Desktop\XML-DOCX\env\include\site\python3.10\ooxml'
cwd: C:\Users\ahmad\AppData\Local\Temp\pip-install-r6q4bs_b\ooxml_5b43566139ba4321a491b2ef7c9bdf16\
Complete output (16 lines):
running install
C:\Users\ahmad\Desktop\XML-DOCX\env\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
creating build\lib\ooxml
copying ooxml\ooxmlbase.py -> build\lib\ooxml
copying ooxml\spreadsheet.py -> build\lib\ooxml
copying ooxml\__init__.py -> build\lib\ooxml
running install_lib
running install_data
creating C:\Users\ahmad\Desktop\XML-DOCX\env\ooxml
creating C:\Users\ahmad\Desktop\XML-DOCX\env\ooxml\ooxml-templates
error: can't copy 'ooxml\ooxml-templates\workbook.xlsx': doesn't exist or not a regular file
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\ahmad\Desktop\XML-DOCX\env\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ahmad\\AppData\\Local\\Temp\\pip-install-r6q4bs_b\\ooxml_5b43566139ba4321a491b2ef7c9bdf16\\setup.py'"'"'; __file__='"'"'C:\\Users\\ahmad\\AppData\\Local\\Temp\\pip-install-r6q4bs_b\\ooxml_5b43566139ba4321a491b2ef7c9bdf16\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\ahmad\AppData\Local\Temp\pip-record-44ixgoxr\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\ahmad\Desktop\XML-DOCX\env\include\site\python3.10\ooxml' Check the logs for full command output.
I could not locate logs to determine where the installation is failing, any help?
The subdirectory ooxml\ooxml-templates\ is missing from ooxml-0.2.1.tar.gz. This is a bug in the distribution package.
Try to install from the Github repository:
pip install git+https://github.com/wensheng/PyOOXML.git
I want to install pyFFTW but pycharm termial shows me some errors like below.
I tried pip install pyFFTW and got messages :
Collecting pyFFTW
Using cached pyFFTW-0.12.0.tar.gz (137 kB)
Requirement already satisfied: numpy<2.0,>=1.10 in c:\flask_server\venv\lib\site-packages (from pyFFTW) (1.21.0)
Building wheels for collected packages: pyFFTW
Building wheel for pyFFTW (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\flask_server\venv\scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\pc\\AppData\\Local\\Temp\\pip-install-rg4d72bl\\pyfftw_08beecb75b3d4e24b84893cb10e0b2c2\\setup.py'"'"'
; __file__='"'"'C:\\Users\\pc\\AppData\\Local\\Temp\\pip-install-rg4d72bl\\pyfftw_08beecb75b3d4e24b84893cb10e0b2c2\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'f
rom setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\pc\AppData\Local\Temp\pip-wheel-falexgv8'
cwd: C:\Users\pc\AppData\Local\Temp\pip-install-rg4d72bl\pyfftw_08beecb75b3d4e24b84893cb10e0b2c2\
Complete output (25 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win32-3.8
creating build\lib.win32-3.8\pyfftw
copying pyfftw\config.py -> build\lib.win32-3.8\pyfftw
copying pyfftw\_version.py -> build\lib.win32-3.8\pyfftw
copying pyfftw\__init__.py -> build\lib.win32-3.8\pyfftw
creating build\lib.win32-3.8\pyfftw\builders
copying pyfftw\builders\builders.py -> build\lib.win32-3.8\pyfftw\builders
copying pyfftw\builders\_utils.py -> build\lib.win32-3.8\pyfftw\builders
copying pyfftw\builders\__init__.py -> build\lib.win32-3.8\pyfftw\builders
creating build\lib.win32-3.8\pyfftw\interfaces
copying pyfftw\interfaces\cache.py -> build\lib.win32-3.8\pyfftw\interfaces
copying pyfftw\interfaces\dask_fft.py -> build\lib.win32-3.8\pyfftw\interfaces
copying pyfftw\interfaces\numpy_fft.py -> build\lib.win32-3.8\pyfftw\interfaces
copying pyfftw\interfaces\scipy_fft.py -> build\lib.win32-3.8\pyfftw\interfaces
copying pyfftw\interfaces\scipy_fftpack.py -> build\lib.win32-3.8\pyfftw\interfaces
copying pyfftw\interfaces\_utils.py -> build\lib.win32-3.8\pyfftw\interfaces
copying pyfftw\interfaces\__init__.py -> build\lib.win32-3.8\pyfftw\interfaces
UPDATING build\lib.win32-3.8\pyfftw/_version.py
set build\lib.win32-3.8\pyfftw/_version.py to '0.12.0'
running build_ext
error: Could not find any of the FFTW libraries
----------------------------------------
ERROR: Failed building wheel for pyFFTW
Running setup.py clean for pyFFTW
Failed to build pyFFTW
Installing collected packages: pyFFTW
Running setup.py install for pyFFTW ... error
ERROR: Command errored out with exit status 1:
command: 'c:\flask_server\venv\scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\pc\\AppData\\Local\\Temp\\pip-install-rg4d72bl\\pyfftw_08beecb75b3d4e24b84893cb10e0b2c2\\setup.py'"'
"'; __file__='"'"'C:\\Users\\pc\\AppData\\Local\\Temp\\pip-install-rg4d72bl\\pyfftw_08beecb75b3d4e24b84893cb10e0b2c2\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"
'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\pc\AppData\Local\Temp\pip-record-zstugs1k\install-re
cord.txt' --single-version-externally-managed --compile --install-headers 'c:\flask_server\venv\include\site\python3.8\pyFFTW'
cwd: C:\Users\pc\AppData\Local\Temp\pip-install-rg4d72bl\pyfftw_08beecb75b3d4e24b84893cb10e0b2c2\
Complete output (7 lines):
running install
running build
running build_py
UPDATING build\lib.win32-3.8\pyfftw/_version.py
set build\lib.win32-3.8\pyfftw/_version.py to '0.12.0'
running build_ext
error: Could not find any of the FFTW libraries
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\flask_server\venv\scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\pc\\AppData\\Local\\Temp\\pip-install-rg4d72bl\\pyfftw_08beecb75b3d
4e24b84893cb10e0b2c2\\setup.py'"'"'; __file__='"'"'C:\\Users\\pc\\AppData\\Local\\Temp\\pip-install-rg4d72bl\\pyfftw_08beecb75b3d4e24b84893cb10e0b2c2\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exist
s(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\pc\AppData\Local\Te
mp\pip-record-zstugs1k\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\flask_server\venv\include\site\python3.8\pyFFTW' Check the logs for full command output.
I tried several solutions from google and stackoverflow, such as
pip install wheel
pip install pyFFTW-0.12.0-cp38-cp38-win_amd64.whl
with pyFFTW-0.12.0-cp38-cp38-win_amd64.whl file in current working directory.
but terminal shows me error like ERROR: pyFFTW-0.12.0-cp38-cp38-win_amd64.whl is not a supported wheel on this platform.
I installed numpy, scipy, cython and pytest already.
My python version is 3.8.3 and I don't know why these doesn't work.
Please give me some advice and I appreciate your help.
I am trying to install TA-Lib and everything I try does not work. I do not know what package wheel is and why the error references numpy but I am hoping someone can help me.
What I am using:
Python 3.9.2
pip 21.1.1
PS C:\Users\ebben> pip install TA-Lib
Collecting TA-Lib
Using cached TA-Lib-0.4.19.tar.gz (267 kB)
Requirement already satisfied: numpy in c:\python39\lib\site-packages (from TA-Lib) (1.20.2)
Using legacy 'setup.py install' for TA-Lib, since package 'wheel' is not installed.
Installing collected packages: TA-Lib
Running setup.py install for TA-Lib ... error
ERROR: Command errored out with exit status 1:
command: 'c:\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ebben\\AppData\\Local\\Temp\\pip-install-kj0oo9o5\\ta-lib_40a2fa67a4f04799b16fff76025d88fb\\setup.py'"'"'; __file__='"'"'C:\\Users\\ebben\\AppData\\Local\\Temp\\pip-install-kj0oo9o5\\ta-lib_40a2fa67a4f04799b16fff76025d88fb\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\ebben\AppData\Local\Temp\pip-record-z8tx6fp7\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\python39\Include\TA-Lib'
cwd: C:\Users\ebben\AppData\Local\Temp\pip-install-kj0oo9o5\ta-lib_40a2fa67a4f04799b16fff76025d88fb\
Complete output (20 lines):
C:\Users\ebben\AppData\Local\Temp\pip-install-kj0oo9o5\ta-lib_40a2fa67a4f04799b16fff76025d88fb\setup.py:71: UserWarning: Cannot find ta-lib library, installation may fail.
warnings.warn('Cannot find ta-lib library, installation may fail.')
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\talib
copying talib\abstract.py -> build\lib.win-amd64-3.9\talib
copying talib\deprecated.py -> build\lib.win-amd64-3.9\talib
copying talib\stream.py -> build\lib.win-amd64-3.9\talib
copying talib\test_abstract.py -> build\lib.win-amd64-3.9\talib
copying talib\test_data.py -> build\lib.win-amd64-3.9\talib
copying talib\test_func.py -> build\lib.win-amd64-3.9\talib
copying talib\test_pandas.py -> build\lib.win-amd64-3.9\talib
copying talib\test_stream.py -> build\lib.win-amd64-3.9\talib
copying talib\__init__.py -> build\lib.win-amd64-3.9\talib
running build_ext
building 'talib._ta_lib' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ebben\\AppData\\Local\\Temp\\pip-install-kj0oo9o5\\ta-lib_40a2fa67a4f04799b16fff76025d88fb\\setup.py'"'"'; __file__='"'"'C:\\Users\\ebben\\AppData\\Local\\Temp\\pip-install-kj0oo9o5\\ta-lib_40a2fa67a4f04799b16fff76025d88fb\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\ebben\AppData\Local\Temp\pip-record-z8tx6fp7\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\python39\Include\TA-Lib' Check the logs for full command output.
TA-Lib is a C-library. You're trying to install a python wrapper for it and it can't find C library during installation. Wrapper prints:
setup.py:71: UserWarning: Cannot find ta-lib library, installation may fail.
So, firstly, install the C library binary, then install python wrapper. Check out Dependencies section at https://mrjbq7.github.io/ta-lib/install.html