installation of gnuhealth client $ pip3 install --user --upgrade gnuhealth-client - python

the error msg :
Building wheel for PyGObject (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /usr/local/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpnfra__iq
cwd: /tmp/pip-install-4p2n3fm2/pygobject
Complete output (43 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/pygtkcompat
copying pygtkcompat/__init__.py -> build/lib.linux-x86_64-3.6/pygtkcompat
copying pygtkcompat/generictreemodel.py -> build/lib.linux-x86_64-3.6/pygtkcompat
copying pygtkcompat/pygtkcompat.py -> build/lib.linux-x86_64-3.6/pygtkcompat
creating build/lib.linux-x86_64-3.6/gi
copying gi/__init__.py -> build/lib.linux-x86_64-3.6/gi
copying gi/_compat.py -> build/lib.linux-x86_64-3.6/gi
copying gi/_constants.py -> build/lib.linux-x86_64-3.6/gi
copying gi/_error.py -> build/lib.linux-x86_64-3.6/gi
copying gi/_gtktemplate.py -> build/lib.linux-x86_64-3.6/gi
copying gi/_option.py -> build/lib.linux-x86_64-3.6/gi
copying gi/_ossighelper.py -> build/lib.linux-x86_64-3.6/gi
copying gi/_propertyhelper.py -> build/lib.linux-x86_64-3.6/gi
copying gi/_signalhelper.py -> build/lib.linux-x86_64-3.6/gi
copying gi/docstring.py -> build/lib.linux-x86_64-3.6/gi
copying gi/importer.py -> build/lib.linux-x86_64-3.6/gi
copying gi/module.py -> build/lib.linux-x86_64-3.6/gi
copying gi/pygtkcompat.py -> build/lib.linux-x86_64-3.6/gi
copying gi/types.py -> build/lib.linux-x86_64-3.6/gi
creating build/lib.linux-x86_64-3.6/gi/repository
copying gi/repository/__init__.py -> build/lib.linux-x86_64-3.6/gi/repository
creating build/lib.linux-x86_64-3.6/gi/overrides
copying gi/overrides/GIMarshallingTests.py -> build/lib.linux-x86_64-3.6/gi/overrides
copying gi/overrides/GLib.py -> build/lib.linux-x86_64-3.6/gi/overrides
copying gi/overrides/GObject.py -> build/lib.linux-x86_64-3.6/gi/overrides
copying gi/overrides/Gdk.py -> build/lib.linux-x86_64-3.6/gi/overrides
copying gi/overrides/GdkPixbuf.py -> build/lib.linux-x86_64-3.6/gi/overrides
copying gi/overrides/Gio.py -> build/lib.linux-x86_64-3.6/gi/overrides
copying gi/overrides/Gtk.py -> build/lib.linux-x86_64-3.6/gi/overrides
copying gi/overrides/Pango.py -> build/lib.linux-x86_64-3.6/gi/overrides
copying gi/overrides/__init__.py -> build/lib.linux-x86_64-3.6/gi/overrides
copying gi/overrides/keysyms.py -> build/lib.linux-x86_64-3.6/gi/overrides
running build_ext
Package cairo-gobject was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo-gobject.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo-gobject' found
Command '('pkg-config', '--print-errors', '--exists', 'cairo-gobject >= 0')' returned non-zero exit status 1.
----------------------------------------
ERROR: Failed building wheel for PyGObject
Failed to build PyGObject
ERROR: Could not build wheels for PyGObject which use PEP 517 and cannot be installed directly

You should install pygobject from your distribution package. Otherwise you need to install all the required headers for cairo and probably GTK.

Related

I get an error when installing ibm_db with pip

pip version 22.0.4 and python 3.10.4
The end of the error message looks like this:
copying README.md -> build\bdist.win-amd64\wheel\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1264.0_x64__qbz5n2kfra8p0\Lib\site-packages
copying CHANGES.md -> build\bdist.win-amd64\wheel\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1264.0_x64__qbz5n2kfra8p0\Lib\site-packages
copying LICENSE -> build\bdist.win-amd64\wheel\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1264.0_x64__qbz5n2kfra8p0\Lib\site-packages
copying config.py.sample -> build\bdist.win-amd64\wheel\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1264.0_x64__qbz5n2kfra8p0\Lib\site-packages
error: could not create 'build\bdist.win-amd64\wheel\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1264.0_x64__qbz5n2kfra8p0\Lib\site-packages\config.py.sample': No such file or directory
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for ibm_db
Failed to build ibm_db
ERROR: Could not build wheels for ibm_db, which is required to install pyproject.toml-based projects
Edit: I will copy the start of the error message below since the whole message is too long. The wheel package is installed (tried to run pip install wheel).
Collecting ibm_db
Using cached ibm_db-3.1.1.tar.gz (1.1 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: ibm_db
Building wheel for ibm_db (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for ibm_db (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [785 lines of output]
Detected 64-bit Python
running bdist_wheel
running build
running build_py
creating build
creating build\lib
copying ibm_db_dbi.py -> build\lib
copying testfunctions.py -> build\lib
copying tests.py -> build\lib
copying ibm_db.py -> build\lib
creating build\lib\certs
copying certs\__init__.py -> build\lib\certs
creating build\lib\clidriver
copying clidriver\__init__.py -> build\lib\clidriver
creating build\lib\ibm_db_dlls
copying ibm_db_dlls\__init__.py -> build\lib\ibm_db_dlls
creating build\lib\ibm_db_tests
copying ibm_db_tests\test_000_PrepareDb.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_001_ConnDb.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_002_ConnDbUncatalogedConn.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_003_NumAffectedRows.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_004_ConnWrongUserPwd.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_005_ConnBadUserBadPwd.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_006_ConnPassingOpts.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_007_pConnPassingOpts.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_008_ColumnInfo.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_010_UpdateRowCount.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_011_DeleteRowCount.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_012_KeysetDrivenCursorSelect01.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_013_KeysetDrivenCursorSelect02.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_014_KeysetDrivenCursorNegativeRow.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_015_InsertDeleteRowCount_01.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_016_InsertDeleteRowCount_02.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_017_selectRowcountPrefetchSTMTOpt.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_018_selectRowcountPrefetchSetOpt.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_019_selectRowcountPrefetchPrepOpt.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_020_RollbackDelete.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_021_CommitDelete.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_022_RollbackInsert.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_023_ColumnPrivileges.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_024_ForeignKeys.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_025_PrimaryKeys.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_030_Result.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_031_ResultIndexPosition.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_032_ResultIndexName.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_033_ResultOutSequenceColumn.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_034_FetchAssoc.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_035_FetchRow_01.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_036_FetchRow_02.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_037_FetchRowIndexPos.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_038_FetchRowIndexPosNested_01.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_039_FetchRowIndexPosNested_02.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_03a_ResultNonExistCol.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_040_FetchTuple.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_041_FetchTupleMany_01.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_042_FetchTupleMany_02.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_043_FetchTupleMany_03.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_044_FetchTupleMany_04.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_045_FetchTupleBinaryData_01.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_046_FetchTupleMany_05.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_047_FetchTupleMany_06.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_048_FetchTupleBinaryData_02.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_049_InsertNoneParam.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_050_AutocommitStatus.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_051_SetAutocommit_01.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_052_SetAutocommit_02.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_053_AttrThruConn.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_054_CursorType.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_060_Tables_01.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_061_Tables_02.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_062_Tables_03.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_063_Tables_04.py -> build\lib\ibm_db_tests
copying ibm_db_tests\test_064_Tables_05.py -> build\lib\ibm_db_tests
Then it just goes on to copying more files.

how to install fiona on windows

i am trying to install fiona package. i tried to install it via pip command and as a wheel, but either of them fails and i get the
below posted error.
GDAL, shapely and psycopg2 are installed.
please let me know how to install fiona on windows
error
M:\projects\python\wheels\fiona>pip install --target="M:\projects\python\flask apps\openRoutService\apps\app5\env\Lib\site-packages" Fiona-1.8.20-cp310-cp310-win_amd64.whl
Processing m:\projects\python\wheels\fiona\fiona-1.8.20-cp310-cp310-win_amd64.whl
Collecting six>=1.7
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting gdal~=3.4.1
Using cached GDAL-3.4.1.tar.gz (755 kB)
Collecting click-plugins>=1.0
Using cached click_plugins-1.1.1-py2.py3-none-any.whl (7.5 kB)
Collecting attrs>=17
Using cached attrs-21.4.0-py2.py3-none-any.whl (60 kB)
Collecting click>=4.0
Using cached click-8.0.3-py3-none-any.whl (97 kB)
Collecting certifi
Using cached certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
Collecting munch
Using cached munch-2.5.0-py2.py3-none-any.whl (10 kB)
Collecting setuptools
Using cached setuptools-60.9.2-py3-none-any.whl (1.1 MB)
Collecting cligj>=0.5
Using cached cligj-0.7.2-py3-none-any.whl (7.1 kB)
Collecting colorama
Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Using legacy 'setup.py install' for gdal, since package 'wheel' is not installed.
Installing collected packages: colorama, six, click, setuptools, munch, gdal, cligj, click-plugins, certifi, attrs, Fiona
Running setup.py install for gdal ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Python310\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\xx\\AppData\\Local\\Temp\\pip-install-v2cmia2n\\gdal_18cd6fbde3384489bd2e11f4cb590c81\\setup.py'"'"'; __file__='"'"'C:\\Users\\xx\\AppData\\Local\\Temp\\pip-install-v2cmia2n\\gdal_18cd6fbde3384489bd2e11f4cb590c81\\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\xx\AppData\Local\Temp\pip-record-i_y174eu\install-record.txt' --single-version-externally-managed --home 'C:\Users\xx\AppData\Local\Temp\pip-target-psp5q3qc' --compile --install-headers 'C:\Users\xx\AppData\Local\Temp\pip-target-psp5q3qc\include\python\gdal'
cwd: C:\Users\xx\AppData\Local\Temp\pip-install-v2cmia2n\gdal_18cd6fbde3384489bd2e11f4cb590c81\
Complete output (118 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.10
creating build\lib.win-amd64-3.10\osgeo
copying osgeo\gdal.py -> build\lib.win-amd64-3.10\osgeo
copying osgeo\gdalconst.py -> build\lib.win-amd64-3.10\osgeo
copying osgeo\gdalnumeric.py -> build\lib.win-amd64-3.10\osgeo
copying osgeo\gdal_array.py -> build\lib.win-amd64-3.10\osgeo
copying osgeo\gnm.py -> build\lib.win-amd64-3.10\osgeo
copying osgeo\ogr.py -> build\lib.win-amd64-3.10\osgeo
copying osgeo\osr.py -> build\lib.win-amd64-3.10\osgeo
copying osgeo\utils.py -> build\lib.win-amd64-3.10\osgeo
copying osgeo\__init__.py -> build\lib.win-amd64-3.10\osgeo
creating build\lib.win-amd64-3.10\osgeo_utils
copying gdal-utils\osgeo_utils\gdal2tiles.py -> build\lib.win-amd64-3.10\osgeo_utils
copying gdal-utils\osgeo_utils\gdal2xyz.py -> build\lib.win-amd64-3.10\osgeo_utils
copying gdal-utils\osgeo_utils\gdalattachpct.py -> build\lib.win-amd64-3.10\osgeo_utils
copying gdal-utils\osgeo_utils\gdalcompare.py -> build\lib.win-amd64-3.10\osgeo_utils
copying gdal-utils\osgeo_utils\gdalmove.py -> build\lib.win-amd64-3.10\osgeo_utils
copying gdal-utils\osgeo_utils\gdal_calc.py -> build\lib.win-amd64-3.10\osgeo_utils
copying gdal-utils\osgeo_utils\gdal_edit.py -> build\lib.win-amd64-3.10\osgeo_utils
copying gdal-utils\osgeo_utils\gdal_fillnodata.py -> build\lib.win-amd64-3.10\osgeo_utils
copying gdal-utils\osgeo_utils\gdal_merge.py -> build\lib.win-amd64-3.10\osgeo_utils
copying gdal-utils\osgeo_utils\gdal_pansharpen.py -> build\lib.win-amd64-3.10\osgeo_utils
copying gdal-utils\osgeo_utils\gdal_polygonize.py -> build\lib.win-amd64-3.10\osgeo_utils
copying gdal-utils\osgeo_utils\gdal_proximity.py -> build\lib.win-amd64-3.10\osgeo_utils
copying gdal-utils\osgeo_utils\gdal_retile.py -> build\lib.win-amd64-3.10\osgeo_utils
copying gdal-utils\osgeo_utils\gdal_sieve.py -> build\lib.win-amd64-3.10\osgeo_utils
copying gdal-utils\osgeo_utils\ogrmerge.py -> build\lib.win-amd64-3.10\osgeo_utils
copying gdal-utils\osgeo_utils\pct2rgb.py -> build\lib.win-amd64-3.10\osgeo_utils
copying gdal-utils\osgeo_utils\rgb2pct.py -> build\lib.win-amd64-3.10\osgeo_utils
copying gdal-utils\osgeo_utils\__init__.py -> build\lib.win-amd64-3.10\osgeo_utils
creating build\lib.win-amd64-3.10\osgeo_utils\auxiliary
copying gdal-utils\osgeo_utils\auxiliary\array_util.py -> build\lib.win-amd64-3.10\osgeo_utils\auxiliary
copying gdal-utils\osgeo_utils\auxiliary\base.py -> build\lib.win-amd64-3.10\osgeo_utils\auxiliary
copying gdal-utils\osgeo_utils\auxiliary\batch_creator.py -> build\lib.win-amd64-3.10\osgeo_utils\auxiliary
copying gdal-utils\osgeo_utils\auxiliary\color_palette.py -> build\lib.win-amd64-3.10\osgeo_utils\auxiliary
copying gdal-utils\osgeo_utils\auxiliary\color_table.py -> build\lib.win-amd64-3.10\osgeo_utils\auxiliary
copying gdal-utils\osgeo_utils\auxiliary\extent_util.py -> build\lib.win-amd64-3.10\osgeo_utils\auxiliary
copying gdal-utils\osgeo_utils\auxiliary\gdal_argparse.py -> build\lib.win-amd64-3.10\osgeo_utils\auxiliary
copying gdal-utils\osgeo_utils\auxiliary\numpy_util.py -> build\lib.win-amd64-3.10\osgeo_utils\auxiliary
copying gdal-utils\osgeo_utils\auxiliary\osr_util.py -> build\lib.win-amd64-3.10\osgeo_utils\auxiliary
copying gdal-utils\osgeo_utils\auxiliary\progress.py -> build\lib.win-amd64-3.10\osgeo_utils\auxiliary
copying gdal-utils\osgeo_utils\auxiliary\raster_creation.py -> build\lib.win-amd64-3.10\osgeo_utils\auxiliary
copying gdal-utils\osgeo_utils\auxiliary\rectangle.py -> build\lib.win-amd64-3.10\osgeo_utils\auxiliary
copying gdal-utils\osgeo_utils\auxiliary\util.py -> build\lib.win-amd64-3.10\osgeo_utils\auxiliary
copying gdal-utils\osgeo_utils\auxiliary\__init__.py -> build\lib.win-amd64-3.10\osgeo_utils\auxiliary
creating build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\assemblepoly.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\build_jp2_from_xml.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\classify.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\crs2crs2grid.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\densify.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\dump_jp2.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\epsg_tr.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\esri2wkt.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\fft.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\fix_gpkg.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\gcps2ogr.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\gcps2vec.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\gcps2wld.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\gdal2grd.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\gdalchksum.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\gdalcopyproj.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\gdalfilter.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\gdalident.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\gdalimport.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\gdalinfo.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\gdallocationinfo.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\gdal_auth.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\gdal_cp.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\gdal_create_pdf.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\gdal_ls.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\gdal_lut.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\gdal_mkdir.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\gdal_remove_towgs84.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\gdal_rm.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\gdal_rmdir.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\gdal_vrtmerge.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\gdal_zip.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\get_soundg.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\histrep.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\hsv_merge.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\jpeg_in_tiff_extract.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\load2odbc.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\loslas2ntv2.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\magphase.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\make_fuzzer_friendly_archive.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\mkgraticule.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\ogr2ogr.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\ogr2vrt.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\ogrinfo.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\ogrupdate.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\ogr_build_junction_table.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\ogr_dispatch.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\ogr_layer_algebra.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\rel.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\tigerpoly.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\tile_extent_from_raster.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\tolatlong.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\validate_cloud_optimized_geotiff.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\validate_gpkg.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\validate_jp2.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\val_repl.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\vec_tr.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\vec_tr_spat.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\wcs_virtds_params.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
copying gdal-utils\osgeo_utils\samples\__init__.py -> build\lib.win-amd64-3.10\osgeo_utils\samples
running build_ext
building 'osgeo._gdal' extension
building 'osgeo._ogr' extension
building 'osgeo._osr' extension
building 'osgeo._gnm' extension
building 'osgeo._gdalconst' extension
building 'osgeo._gdal_array' 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/
----------------------------------------
If you're wanting to do geospatial data analysis with the OSgeo suite I recommend going ahead and installing Geopandas in a clean new Python environment. Fiona is one of the dependencies, so it will be installed. Open up an anaconda prompt and run these commands. Of course you can change the name of your new env from geo_env to something else if you'd prefer.
conda create -n geo_env
conda activate geo_env
conda config --env --add channels conda-forge
conda config --env --set channel_priority strict
conda install python=3 geopandas
You might also find this post helpful if you want to try to get your Microsoft Visual C++ 14.0 working. However, from personal experience and stories from others, I've found the conda-forge Geopandas install to be much easier.

Installing Keras in pycharm causing failure

I am trying to use Keras for time series forecasting and I stumbled across an error while installing Keras lib.
Here is an error message that I got:
Collecting keras
Using cached Keras-2.4.3-py2.py3-none-any.whl (36 kB)
Requirement already satisfied: numpy>=1.9.1 in e:\program files (x86)\pythonworkspace\r&dproject\venv\lib\site-packages (from keras) (1.20.1)
Collecting h5py
Using cached h5py-3.2.1.tar.gz (368 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'done'
Requirement already satisfied: scipy>=0.14 in e:\program files (x86)\pythonworkspace\r&dproject\venv\lib\site-packages (from keras) (1.6.1)
Collecting pyyaml
Using cached PyYAML-5.4.1-cp38-cp38-win32.whl (196 kB)
Building wheels for collected packages: h5py
Building wheel for h5py (PEP 517): started
Building wheel for h5py (PEP 517): finished with status 'error'
Failed to build h5py
DEPRECATION: The -b/--build/--build-dir/--build-directory option is deprecated and has no effect anymore. pip 21.1 will remove support for this functionality. A possible replacement is use the TMPDIR/TEMP/TMP environment variable, possibly combined with --no-clean. You can find discussion regarding this at https://github.com/pypa/pip/issues/8333.
ERROR: Command errored out with exit status 1:
command: 'E:\Program Files (x86)\PythonWorkspace\R&DProject\venv\Scripts\python.exe' 'E:\Program Files (x86)\PythonWorkspace\R&DProject\venv\lib\site-packages\pip\_vendor\pep517\_in_process.py' build_wheel 'C:\Users\Pdani\AppData\Local\Temp\tmp3bkex0vs'
cwd: C:\Users\Pdani\AppData\Local\Temp\pip-install-ohk956w8\h5py_04e48a12b76742f58110ae0bdae41c39
Complete output (73 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win32-3.8
creating build\lib.win32-3.8\h5py
copying h5py\h5py_warnings.py -> build\lib.win32-3.8\h5py
copying h5py\ipy_completer.py -> build\lib.win32-3.8\h5py
copying h5py\version.py -> build\lib.win32-3.8\h5py
copying h5py\__init__.py -> build\lib.win32-3.8\h5py
creating build\lib.win32-3.8\h5py\_hl
copying h5py\_hl\attrs.py -> build\lib.win32-3.8\h5py\_hl
copying h5py\_hl\base.py -> build\lib.win32-3.8\h5py\_hl
copying h5py\_hl\compat.py -> build\lib.win32-3.8\h5py\_hl
copying h5py\_hl\dataset.py -> build\lib.win32-3.8\h5py\_hl
copying h5py\_hl\datatype.py -> build\lib.win32-3.8\h5py\_hl
copying h5py\_hl\dims.py -> build\lib.win32-3.8\h5py\_hl
copying h5py\_hl\files.py -> build\lib.win32-3.8\h5py\_hl
copying h5py\_hl\filters.py -> build\lib.win32-3.8\h5py\_hl
copying h5py\_hl\group.py -> build\lib.win32-3.8\h5py\_hl
copying h5py\_hl\selections.py -> build\lib.win32-3.8\h5py\_hl
copying h5py\_hl\selections2.py -> build\lib.win32-3.8\h5py\_hl
copying h5py\_hl\vds.py -> build\lib.win32-3.8\h5py\_hl
copying h5py\_hl\__init__.py -> build\lib.win32-3.8\h5py\_hl
creating build\lib.win32-3.8\h5py\tests
copying h5py\tests\common.py -> build\lib.win32-3.8\h5py\tests
copying h5py\tests\conftest.py -> build\lib.win32-3.8\h5py\tests
copying h5py\tests\test_attribute_create.py -> build\lib.win32-3.8\h5py\tests
copying h5py\tests\test_attrs.py -> build\lib.win32-3.8\h5py\tests
copying h5py\tests\test_attrs_data.py -> build\lib.win32-3.8\h5py\tests
copying h5py\tests\test_base.py -> build\lib.win32-3.8\h5py\tests
copying h5py\tests\test_big_endian_file.py -> build\lib.win32-3.8\h5py\tests
copying h5py\tests\test_completions.py -> build\lib.win32-3.8\h5py\tests
copying h5py\tests\test_dataset.py -> build\lib.win32-3.8\h5py\tests
copying h5py\tests\test_dataset_getitem.py -> build\lib.win32-3.8\h5py\tests
copying h5py\tests\test_dataset_swmr.py -> build\lib.win32-3.8\h5py\tests
copying h5py\tests\test_datatype.py -> build\lib.win32-3.8\h5py\tests
copying h5py\tests\test_dimension_scales.py -> build\lib.win32-3.8\h5py\tests
copying h5py\tests\test_dims_dimensionproxy.py -> build\lib.win32-3.8\h5py\tests
copying h5py\tests\test_dtype.py -> build\lib.win32-3.8\h5py\tests
copying h5py\tests\test_errors.py -> build\lib.win32-3.8\h5py\tests
copying h5py\tests\test_file.py -> build\lib.win32-3.8\h5py\tests
copying h5py\tests\test_file2.py -> build\lib.win32-3.8\h5py\tests
copying h5py\tests\test_file_image.py -> build\lib.win32-3.8\h5py\tests
copying h5py\tests\test_filters.py -> build\lib.win32-3.8\h5py\tests
copying h5py\tests\test_group.py -> build\lib.win32-3.8\h5py\tests
copying h5py\tests\test_h5.py -> build\lib.win32-3.8\h5py\tests
copying h5py\tests\test_h5d_direct_chunk.py -> build\lib.win32-3.8\h5py\tests
copying h5py\tests\test_h5f.py -> build\lib.win32-3.8\h5py\tests
copying h5py\tests\test_h5o.py -> build\lib.win32-3.8\h5py\tests
copying h5py\tests\test_h5p.py -> build\lib.win32-3.8\h5py\tests
copying h5py\tests\test_h5pl.py -> build\lib.win32-3.8\h5py\tests
copying h5py\tests\test_h5t.py -> build\lib.win32-3.8\h5py\tests
copying h5py\tests\test_objects.py -> build\lib.win32-3.8\h5py\tests
copying h5py\tests\test_selections.py -> build\lib.win32-3.8\h5py\tests
copying h5py\tests\test_slicing.py -> build\lib.win32-3.8\h5py\tests
copying h5py\tests\__init__.py -> build\lib.win32-3.8\h5py\tests
creating build\lib.win32-3.8\h5py\tests\data_files
copying h5py\tests\data_files\__init__.py -> build\lib.win32-3.8\h5py\tests\data_files
creating build\lib.win32-3.8\h5py\tests\test_vds
copying h5py\tests\test_vds\test_highlevel_vds.py -> build\lib.win32-3.8\h5py\tests\test_vds
copying h5py\tests\test_vds\test_lowlevel_vds.py -> build\lib.win32-3.8\h5py\tests\test_vds
copying h5py\tests\test_vds\test_virtual_source.py -> build\lib.win32-3.8\h5py\tests\test_vds
copying h5py\tests\test_vds\__init__.py -> build\lib.win32-3.8\h5py\tests\test_vds
copying h5py\tests\data_files\vlen_string_dset.h5 -> build\lib.win32-3.8\h5py\tests\data_files
copying h5py\tests\data_files\vlen_string_dset_utc.h5 -> build\lib.win32-3.8\h5py\tests\data_files
copying h5py\tests\data_files\vlen_string_s390x.h5 -> build\lib.win32-3.8\h5py\tests\data_files
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
Loading library to get build settings and version: hdf5.dll
error: Unable to load dependency HDF5, make sure HDF5 is installed properly
error: Could not find module 'hdf5.dll' (or one of its dependencies). Try using the full path with constructor syntax.
----------------------------------------
ERROR: Failed building wheel for h5py
ERROR: Could not build wheels for h5py which use PEP 517 and cannot be installed directly
I already tried different solutions like downgrading my Python interpreter from 3.9 to 3.7, updating pip to a newer version, but nothing worked so far. Now I'm totally stucked.
Make sure you have 64bit python install.
This error can be because of old pip version. Upgrade pip:
pip3 install --upgrade pip
then try to install h5py directly:
pip install h5py
And reinstall Keras:
pip install keras

Install kivy Python 3.8.3 [duplicate]

This question already has answers here:
How to deal with Kivy installing error in Python 3.8?
(5 answers)
Closed 2 years ago.
I am trying to install Kivy in python 3.8.3 following all instrucions of kivy page instalation, so when i put this command:
python -m pip install kivy==1.11.1
The terminal shows me this error:
C:\Users\SAGASTUME>python -m pip install kivy==1.11.1
Collecting kivy==1.11.1
Using cached Kivy-1.11.1.tar.gz (23.6 MB)
Requirement already satisfied: Kivy-Garden>=0.1.4 in c:\users\sagastume\appdata\local\programs\python\python38-32\lib\site-packages (from kivy==1.11.1) (0.1.4)
Requirement already satisfied: docutils in c:\users\sagastume\appdata\local\programs\python\python38-32\lib\site-packages (from kivy==1.11.1) (0.16)
Requirement already satisfied: pygments in c:\users\sagastume\appdata\local\programs\python\python38-32\lib\site-packages (from kivy==1.11.1) (2.7.2)
Requirement already satisfied: requests in c:\users\sagastume\appdata\local\programs\python\python38-32\lib\site-packages (from Kivy-Garden>=0.1.4->kivy==1.11.1) (2.24.0)
Requirement already satisfied: idna<3,>=2.5 in c:\users\sagastume\appdata\local\programs\python\python38-32\lib\site-packages (from requests->Kivy-Garden>=0.1.4->kivy==1.11.1) (2.10)
Requirement already satisfied: chardet<4,>=3.0.2 in c:\users\sagastume\appdata\local\programs\python\python38-32\lib\site-packages (from requests->Kivy-Garden>=0.1.4->kivy==1.11.1) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\sagastume\appdata\local\programs\python\python38-32\lib\site-packages (from requests->Kivy-Garden>=0.1.4->kivy==1.11.1) (2020.6.20)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in c:\users\sagastume\appdata\local\programs\python\python38-32\lib\site-packages (from requests->Kivy-Garden>=0.1.4->kivy==1.11.1) (1.25.9)
Building wheels for collected packages: kivy
Building wheel for kivy (setup.py) ... error
ERROR: Command errored out with exit status 3221225477:
command: 'C:\Users\SAGASTUME\AppData\Local\Programs\Python\Python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\SAGASTUME\\AppData\\Local\\Temp\\pip-install-8mqblxk_\\kivy\\setup.py'"'"'; __file__='"'"'C:\\Users\\SAGASTUME\\AppData\\Local\\Temp\\pip-install-8mqblxk_\\kivy\\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\SAGASTUME\AppData\Local\Temp\pip-wheel-eb9bfmtx'
cwd: C:\Users\SAGASTUME\AppData\Local\Temp\pip-install-8mqblxk_\kivy\
Complete output (531 lines):
Using setuptools
User distribution detected, avoid portable command.
Using this graphics system: OpenGL
WARNING: A problem occurred while running pkg-config --libs --cflags gstreamer-1.0 (code 1)
b'"pkg-config" no se reconoce como un comando interno o externo,\r\nprograma o archivo por lotes ejecutable.\r\n'
WARNING: A problem occurred while running pkg-config --libs --cflags gstreamer-1.0 (code 1)
b'"pkg-config" no se reconoce como un comando interno o externo,\r\nprograma o archivo por lotes ejecutable.\r\n'
WARNING: A problem occurred while running pkg-config --libs --cflags sdl2 SDL2_ttf SDL2_image SDL2_mixer (code 1)
b'"pkg-config" no se reconoce como un comando interno o externo,\r\nprograma o archivo por lotes ejecutable.\r\n'
ERROR: Dependency for context.pyx not resolved: config.pxi
ERROR: Dependency for compiler.pyx not resolved: config.pxi
ERROR: Dependency for context_instructions.pyx not resolved: config.pxi
ERROR: Dependency for fbo.pyx not resolved: config.pxi
ERROR: Dependency for gl_instructions.pyx not resolved: config.pxi
ERROR: Dependency for instructions.pyx not resolved: config.pxi
ERROR: Dependency for opengl.pyx not resolved: config.pxi
ERROR: Dependency for opengl_utils.pyx not resolved: config.pxi
ERROR: Dependency for shader.pyx not resolved: config.pxi
ERROR: Dependency for stencil_instructions.pyx not resolved: config.pxi
ERROR: Dependency for scissor_instructions.pyx not resolved: config.pxi
ERROR: Dependency for texture.pyx not resolved: config.pxi
ERROR: Dependency for vbo.pyx not resolved: config.pxi
ERROR: Dependency for vertex.pyx not resolved: config.pxi
ERROR: Dependency for vertex_instructions.pyx not resolved: config.pxi
ERROR: Dependency for cgl.pyx not resolved: config.pxi
ERROR: Dependency for cgl_mock.pyx not resolved: config.pxi
ERROR: Dependency for cgl_gl.pyx not resolved: config.pxi
ERROR: Dependency for cgl_glew.pyx not resolved: config.pxi
ERROR: Dependency for cgl_sdl2.pyx not resolved: config.pxi
ERROR: Dependency for svg.pyx not resolved: config.pxi
fatal: not a git repository (or any of the parent directories): .git
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win32-3.8
creating build\lib.win32-3.8\kivy
copying kivy\animation.py -> build\lib.win32-3.8\kivy
copying kivy\app.py -> build\lib.win32-3.8\kivy
copying kivy\atlas.py -> build\lib.win32-3.8\kivy
copying kivy\base.py -> build\lib.win32-3.8\kivy
copying kivy\cache.py -> build\lib.win32-3.8\kivy
copying kivy\clock.py -> build\lib.win32-3.8\kivy
copying kivy\compat.py -> build\lib.win32-3.8\kivy
copying kivy\config.py -> build\lib.win32-3.8\kivy
copying kivy\context.py -> build\lib.win32-3.8\kivy
copying kivy\event.py -> build\lib.win32-3.8\kivy
copying kivy\factory.py -> build\lib.win32-3.8\kivy
copying kivy\factory_registers.py -> build\lib.win32-3.8\kivy
copying kivy\geometry.py -> build\lib.win32-3.8\kivy
copying kivy\gesture.py -> build\lib.win32-3.8\kivy
copying kivy\interactive.py -> build\lib.win32-3.8\kivy
copying kivy\loader.py -> build\lib.win32-3.8\kivy
copying kivy\logger.py -> build\lib.win32-3.8\kivy
copying kivy\metrics.py -> build\lib.win32-3.8\kivy
copying kivy\multistroke.py -> build\lib.win32-3.8\kivy
copying kivy\parser.py -> build\lib.win32-3.8\kivy
copying kivy\resources.py -> build\lib.win32-3.8\kivy
copying kivy\support.py -> build\lib.win32-3.8\kivy
copying kivy\utils.py -> build\lib.win32-3.8\kivy
copying kivy\vector.py -> build\lib.win32-3.8\kivy
copying kivy\version.py -> build\lib.win32-3.8\kivy
copying kivy\weakmethod.py -> build\lib.win32-3.8\kivy
copying kivy\__init__.py -> build\lib.win32-3.8\kivy
creating build\lib.win32-3.8\kivy\core
copying kivy\core\__init__.py -> build\lib.win32-3.8\kivy\core
creating build\lib.win32-3.8\kivy\core\audio
copying kivy\core\audio\audio_avplayer.py -> build\lib.win32-3.8\kivy\core\audio
copying kivy\core\audio\audio_ffpyplayer.py -> build\lib.win32-3.8\kivy\core\audio
copying kivy\core\audio\audio_gstplayer.py -> build\lib.win32-3.8\kivy\core\audio
copying kivy\core\audio\audio_pygame.py -> build\lib.win32-3.8\kivy\core\audio
copying kivy\core\audio\__init__.py -> build\lib.win32-3.8\kivy\core\audio
creating build\lib.win32-3.8\kivy\core\camera
copying kivy\core\camera\camera_android.py -> build\lib.win32-3.8\kivy\core\camera
copying kivy\core\camera\camera_gi.py -> build\lib.win32-3.8\kivy\core\camera
copying kivy\core\camera\camera_opencv.py -> build\lib.win32-3.8\kivy\core\camera
copying kivy\core\camera\camera_picamera.py -> build\lib.win32-3.8\kivy\core\camera
copying kivy\core\camera\__init__.py -> build\lib.win32-3.8\kivy\core\camera
creating build\lib.win32-3.8\kivy\core\clipboard
copying kivy\core\clipboard\clipboard_android.py -> build\lib.win32-3.8\kivy\core\clipboard
copying kivy\core\clipboard\clipboard_dbusklipper.py -> build\lib.win32-3.8\kivy\core\clipboard
copying kivy\core\clipboard\clipboard_dummy.py -> build\lib.win32-3.8\kivy\core\clipboard
copying kivy\core\clipboard\clipboard_gtk3.py -> build\lib.win32-3.8\kivy\core\clipboard
copying kivy\core\clipboard\clipboard_nspaste.py -> build\lib.win32-3.8\kivy\core\clipboard
copying kivy\core\clipboard\clipboard_pygame.py -> build\lib.win32-3.8\kivy\core\clipboard
copying kivy\core\clipboard\clipboard_sdl2.py -> build\lib.win32-3.8\kivy\core\clipboard
copying kivy\core\clipboard\clipboard_winctypes.py -> build\lib.win32-3.8\kivy\core\clipboard
copying kivy\graphics\tesselator.pxd -> build\lib.win32-3.8\kivy\graphics
copying kivy\graphics\texture.pxd -> build\lib.win32-3.8\kivy\graphics
copying kivy\graphics\transformation.pxd -> build\lib.win32-3.8\kivy\graphics
copying kivy\graphics\vbo.pxd -> build\lib.win32-3.8\kivy\graphics
copying kivy\graphics\vertex.pxd -> build\lib.win32-3.8\kivy\graphics
copying kivy\graphics\vertex_instructions.pxd -> build\lib.win32-3.8\kivy\graphics
copying kivy\graphics\common.pxi -> build\lib.win32-3.8\kivy\graphics
copying kivy\graphics\gl_debug_logger.pxi -> build\lib.win32-3.8\kivy\graphics
copying kivy\graphics\img_tools.pxi -> build\lib.win32-3.8\kivy\graphics
copying kivy\graphics\memory.pxi -> build\lib.win32-3.8\kivy\graphics
copying kivy\graphics\opcodes.pxi -> build\lib.win32-3.8\kivy\graphics
copying kivy\graphics\opengl_utils_def.pxi -> build\lib.win32-3.8\kivy\graphics
copying kivy\graphics\vertex_instructions_line.pxi -> build\lib.win32-3.8\kivy\graphics
creating build\lib.win32-3.8\kivy\include
copying kivy\include\common_subset.h -> build\lib.win32-3.8\kivy\include
copying kivy\include\gl2platform.h -> build\lib.win32-3.8\kivy\include
copying kivy\include\gl_redirect.h -> build\lib.win32-3.8\kivy\include
copying kivy\include\khrplatform.h -> build\lib.win32-3.8\kivy\include
copying kivy\lib\vidcore_lite\bcm.pxd -> build\lib.win32-3.8\kivy\lib\vidcore_lite
creating build\lib.win32-3.8\kivy\data
copying kivy\data\style.kv -> build\lib.win32-3.8\kivy\data
copying kivy\data\settings_kivy.json -> build\lib.win32-3.8\kivy\data
creating build\lib.win32-3.8\kivy\data\fonts
copying kivy\data\fonts\DejaVuSans.ttf -> build\lib.win32-3.8\kivy\data\fonts
copying kivy\data\fonts\Roboto-Bold.ttf -> build\lib.win32-3.8\kivy\data\fonts
copying kivy\data\fonts\Roboto-BoldItalic.ttf -> build\lib.win32-3.8\kivy\data\fonts
copying kivy\data\fonts\Roboto-Italic.ttf -> build\lib.win32-3.8\kivy\data\fonts
copying kivy\data\fonts\Roboto-Regular.ttf -> build\lib.win32-3.8\kivy\data\fonts
copying kivy\data\fonts\RobotoMono-Regular.ttf -> build\lib.win32-3.8\kivy\data\fonts
creating build\lib.win32-3.8\kivy\data\images
copying kivy\data\images\cursor.png -> build\lib.win32-3.8\kivy\data\images
copying kivy\data\images\defaultshape.png -> build\lib.win32-3.8\kivy\data\images
copying kivy\data\images\defaulttheme-0.png -> build\lib.win32-3.8\kivy\data\images
copying kivy\data\images\testpattern.png -> build\lib.win32-3.8\kivy\data\images
copying kivy\data\images\background.jpg -> build\lib.win32-3.8\kivy\data\images
copying kivy\data\images\image-loading.gif -> build\lib.win32-3.8\kivy\data\images
copying kivy\data\images\defaulttheme.atlas -> build\lib.win32-3.8\kivy\data\images
creating build\lib.win32-3.8\kivy\data\keyboards
copying kivy\data\keyboards\azerty.json -> build\lib.win32-3.8\kivy\data\keyboards
copying kivy\data\keyboards\de.json -> build\lib.win32-3.8\kivy\data\keyboards
copying kivy\data\keyboards\de_CH.json -> build\lib.win32-3.8\kivy\data\keyboards
copying kivy\data\keyboards\en_US.json -> build\lib.win32-3.8\kivy\data\keyboards
copying kivy\data\keyboards\fr_CH.json -> build\lib.win32-3.8\kivy\data\keyboards
copying kivy\data\keyboards\qwerty.json -> build\lib.win32-3.8\kivy\data\keyboards
copying kivy\data\keyboards\qwertz.json -> build\lib.win32-3.8\kivy\data\keyboards
creating build\lib.win32-3.8\kivy\data\glsl
copying kivy\data\glsl\default.png -> build\lib.win32-3.8\kivy\data\glsl
copying kivy\data\glsl\default.vs -> build\lib.win32-3.8\kivy\data\glsl
copying kivy\data\glsl\header.vs -> build\lib.win32-3.8\kivy\data\glsl
copying kivy\data\glsl\default.fs -> build\lib.win32-3.8\kivy\data\glsl
copying kivy\data\glsl\header.fs -> build\lib.win32-3.8\kivy\data\glsl
copying kivy\tests\unicode_files.zip -> build\lib.win32-3.8\kivy\tests
copying kivy\tests\unicode_font.zip -> build\lib.win32-3.8\kivy\tests
copying kivy\tests\testkv.kv -> build\lib.win32-3.8\kivy\tests
copying kivy\tests\test_button.png -> build\lib.win32-3.8\kivy\tests
copying kivy\tests\sample1.ogg -> build\lib.win32-3.8\kivy\tests
creating build\lib.win32-3.8\kivy\tools\gles_compat
copying kivy\tools\gles_compat\gl2.h -> build\lib.win32-3.8\kivy\tools\gles_compat
creating build\lib.win32-3.8\kivy\tools\pep8checker
copying kivy\tools\pep8checker\pep8.py -> build\lib.win32-3.8\kivy\tools\pep8checker
copying kivy\tools\pep8checker\pep8kivy.py -> build\lib.win32-3.8\kivy\tools\pep8checker
copying kivy\tools\pep8checker\pre-commit.githook -> build\lib.win32-3.8\kivy\tools\pep8checker
creating build\lib.win32-3.8\kivy\tools\theming
creating build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\action_bar.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\action_group.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\action_group_disabled.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\action_group_down.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\action_item.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\action_item_down.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\action_view.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\audio-volume-high.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\audio-volume-low.png -> build\lib.win32
copying kivy\tools\theming\defaulttheme\sliderv_background_disabled.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\slider_cursor.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\slider_cursor_disabled.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\spinner.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\spinner_disabled.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\spinner_pressed.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\splitter.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\splitter_disabled.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\splitter_disabled_down.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\splitter_disabled_down_h.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\splitter_disabled_h.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\splitter_down.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\splitter_down_h.png -> build\lib.win32-
copying kivy\tools\theming\defaulttheme\textinput_disabled_active.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\tree_closed.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\tree_opened.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\vkeyboard_background.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\vkeyboard_disabled_background.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\vkeyboard_disabled_key_down.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\vkeyboard_disabled_key_normal.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\vkeyboard_key_down.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\vkeyboard_key_normal.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
running build_ext
----------------------------------------
ERROR: Failed building wheel for kivy
Running setup.py clean for kivy
Failed to build kivy
Installing collected packages: kivy
Running setup.py install for kivy ... error
ERROR: Command errored out with exit status 3221225477:
command: 'C:\Users\SAGASTUME\AppData\Local\Programs\Python\Python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\SAGASTUME\\AppData\\Local\\Temp\\pip-install-8mqblxk_\\kivy\\setup.py'"'"'; __file__='"'"'C:\\Users\\SAGASTUME\\AppData\\Local\\Temp\\pip-install-8mqblxk_\\kivy\\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\SAGASTUME\AppData\Local\Temp\pip-record-pvid_1bu\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\SAGASTUME\AppData\Local\Programs\Python\Python38-32\Include\kivy'
cwd: C:\Users\SAGASTUME\AppData\Local\Temp\pip-install-8mqblxk_\kivy\
Complete output (513 lines):
Using setuptools
User distribution detected, avoid portable command.
Using this graphics system: OpenGL
WARNING: A problem occurred while running pkg-config --libs --cflags gstreamer-1.0 (code 1)
b'"pkg-config" no se reconoce como un comando interno o externo,\r\nprograma o archivo por lotes ejecutable.\r\n'
WARNING: A problem occurred while running pkg-config --libs --cflags gstreamer-1.0 (code 1)
b'"pkg-config" no se reconoce como un comando interno o externo,\r\nprograma o archivo por lotes ejecutable.\r\n'
WARNING: A problem occurred while running pkg-config --libs --cflags sdl2 SDL2_ttf SDL2_image SDL2_mixer (code 1)
b'"pkg-config" no se reconoce como un comando interno o externo,\r\nprograma o archivo por lotes ejecutable.\r\n'
fatal: not a git repository (or any of the parent directories): .git
running install
running build
running build_py
creating build
creating build\lib.win32-3.8
creating build\lib.win32-3.8\kivy
copying kivy\animation.py -> build\lib.win32-3.8\kivy
copying kivy\context.py -> build\lib.win32-3.8\kivy
copying kivy\event.py -> build\lib.win32-3.8\kivy
copying kivy\factory.py -> build\lib.win32-3.8\kivy
copying kivy\factory_registers.py -> build\lib.win32-3.8\kivy
copying kivy\geometry.py -> build\lib.win32-3.8\kivy
copying kivy\gesture.py -> build\lib.win32-3.8\kivy
copying kivy\core\window\window_egl_rpi.py -> build\lib.win32-3.8\kivy\core\window
copying kivy\core\window\window_pygame.py -> build\lib.win32-3.8\kivy\core\window
copying kivy\core\window\window_sdl2.py -> build\lib.win32-3.8\kivy\core\window
copying kivy\core\window\__init__.py -> build\lib.win32-3.8\kivy\core\window
creating build\lib.win32-3.8\kivy\deps
copying kivy\deps\__init__.py -> build\lib.win32-3.8\kivy\deps
creating build\lib.win32-3.8\kivy\effects
copying kivy\effects\dampedscroll.py -> build\lib.win32-3.8\kivy\effects
copying kivy\effects\kinetic.py -> build\lib.win32-3.8\kivy\effects
copying kivy\effects\opacityscroll.py -> build\lib.win32-3.8\kivy\effects
copying kivy\effects\scroll.py -> build\lib.win32-3.8\kivy\effects
copying kivy\effects\__init__.py -> build\lib.win32-3.8\kivy\effects
creating build\lib.win32-3.8\kivy\graphics
copying kivy\graphics\__init__.py -> build\lib.win32-3.8\kivy\graphics
creating build\lib.win32-3.8\kivy\graphics\cgl_backend
copying kivy\graphics\cgl_backend\__init__.py -> build\lib.win32-3.8\kivy\graphics\cgl_backend
creating build\lib.win32-3.8\kivy\garden
copying kivy\garden\__init__.py -> build\lib.win32-3.8\kivy\garden
creating build\lib.win32-3.8\kivy\input
copying kivy\input\factory.py -> build\lib.win32-3.8\kivy\input
copying kivy\tests\test_utils.py -> build\lib.win32-3.8\kivy\tests
copying kivy\tests\test_vector.py -> build\lib.win32-3.8\kivy\tests
copying kivy\tests\test_video.py -> build\lib.win32-3.8\kivy\tests
copying kivy\tests\test_widget.py -> build\lib.win32-3.8\kivy\tests
copying kivy\tests\test_widget_walk.py -> build\lib.win32-3.8\kivy\tests
copying kivy\tests\test_window_info.py -> build\lib.win32-3.8\kivy\tests
copying kivy\tests\visual_test_label.py -> build\lib.win32-3.8\kivy\tests
copying kivy\tests\__init__.py -> build\lib.win32-3.8\kivy\tests
creating build\lib.win32-3.8\kivy\tools
copying kivy\tools\benchmark.py -> build\lib.win32-3.8\kivy\tools
copying kivy\tools\changelog_parser.py -> build\lib.win32-3.8\kivy\tools
copying kivy\tools\generate-icons.py -> build\lib.win32-3.8\kivy\tools
copying kivy\tools\kviewer.py -> build\lib.win32-3.8\kivy\tools
copying kivy\tools\report.py -> build\lib.win32-3.8\kivy\tools
copying kivy\tools\stub-gl-debug.py -> build\lib.win32-3.8\kivy\tools
copying kivy\tools\texturecompress.py -> build\lib.win32-3.8\kivy\tools
copying kivy\tools\__init__.py -> build\lib.win32-3.8\kivy\tools
creating build\lib.win32-3.8\kivy\tools\packaging
copying kivy\tools\packaging\factory.py -> build\lib.win32-3.8\kivy\tools\packaging
copying kivy\tools\packaging\__init__.py -> build\lib.win32-3.8\kivy\tools\packaging
creating build\lib.win32-3.8\kivy\tools\packaging\pyinstaller_hooks
copying kivy\tools\packaging\pyinstaller_hooks\hook-kivy.py -> build\lib.win32-3.8\kivy\tools\packaging\pyinstaller_hooks
copying kivy\tools\packaging\pyinstaller_hooks\pyi_rth_kivy.py -> build\lib.win32-3.8\kivy\tools\packaging\pyinstaller_hooks
copying kivy\tools\packaging\pyinstaller_hooks\__init__.py -> build\lib.win32-3.8\kivy\tools\packaging\pyinstaller_hooks
copying kivy\tools\packaging\pyinstaller_hooks\__main__.py -> build\lib.win32-3.8\kivy\tools\packaging\pyinstaller_hooks
creating build\lib.win32-3.8\kivy\tools\highlight
copying kivy\tools\highlight\__init__.py -> build\lib.win32-3.8\kivy\tools\highlight
creating build\lib.win32-3.8\kivy\extras
copying kivy\extras\highlight.py -> build\lib.win32-3.8\kivy\extras
copying kivy\extras\__init__.py -> build\lib.win32-3.8\kivy\extras
creating build\lib.win32-3.8\kivy\uix
copying kivy\uix\accordion.py -> build\lib.win32-3.8\kivy\uix
copying kivy\uix\actionbar.py -> build\lib.win32-3.8\kivy\uix
copying kivy\uix\anchorlayout.py -> build\lib.win32-3.8\kivy\uix
copying kivy\tools\highlight\kivy-mode.el -> build\lib.win32-3.8\kivy\tools\highlight
copying kivy\tools\highlight\kivy.json-tmlanguage -> build\lib.win32-3.8\kivy\tools\highlight
copying kivy\tools\highlight\kivy.tmLanguage -> build\lib.win32-3.8\kivy\tools\highlight
copying kivy\tools\highlight\kivy.vim -> build\lib.win32-3.8\kivy\tools\highlight
creating build\lib.win32-3.8\kivy\tools\pep8checker
copying kivy\tools\pep8checker\pep8.py -> build\lib.win32-3.8\kivy\tools\pep8checker
copying kivy\tools\pep8checker\pep8kivy.py -> build\lib.win32-3.8\kivy\tools\pep8checker
copying kivy\tools\pep8checker\pre-commit.githook -> build\lib.win32-3.8\kivy\tools\pep8checker
creating build\lib.win32-3.8\kivy\tools\theming
creating build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\action_bar.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\action_group.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\action_group_disabled.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\action_group_down.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\action_item.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\action_item_down.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\action_view.png -> build\lib.win32-
copying kivy\tools\theming\defaulttheme\vkeyboard_key_normal.png -> build\lib.win32-3.8\kivy\tools\theming\defaulttheme
running build_ext
----------------------------------------
ERROR: Command errored out with exit status 3221225477: 'C:\Users\SAGASTUME\AppData\Local\Programs\Python\Python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\SAGASTUME\\AppData\\Local\\Temp\\pip-install-8mqblxk_\\kivy\\setup.py'"'"'; __file__='"'"'C:\\Users\\SAGASTUME\\AppData\\Local\\Temp\\pip-install-8mqblxk_\\kivy\\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\SAGASTUME\AppData\Local\Temp\pip-record-pvid_1bu\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\SAGASTUME\AppData\Local\Programs\Python\Python38-32\Include\kivy' Check the logs for full command output.
This is part of the error code, because Stack won't let me put all the code because of the character limits, but I think this part shows the most important.
Kivy is not supported still on python 3.8, I use python 3.7, and it's the best version, because PyInstaller works on it, and you can compile for windows, mac, android and ios
So I recommend using it, delete the current version in control panel (if you're on windows) and install python 3.7.6. Remember to add to path when installing of you're on Windows!
C S, I think Kivy is not supported in Python 3.8.x.
But you can try all of these commands(If you are in windows):
pip install --upgrade pip wheel setuptools virtualenv
virtualenv kivy_venv
kivy_venv\Scripts\activate
pip install docutils pygments pypiwin32 kivy_deps.sdl2==0.1.*
kivy_deps.glew==0.1.*
pip install kivy_deps.gstreamer==0.1.*
pip install kivy_deps.angle==0.1.*
pip install kivy==1.11.1
If it still does not work downgrade to Python 3.7.x, and try all of the commands again. Even I had the same problem when I had Python 3.8, even I am a kivy programmer, So I downgraded to 3.7 and it worked for me. Try it and hope it works
Happy Python Programming!

Installing Django-Fabric-AWS with pip, invalid syntax?

In process of deploying Django on EC2, I'm following a step in this guide that requires me to install Fabric.
In the terminal of Pycharm, I first confirm pip is working by running pip and in the project directory. It is, so then I type in the command that I've been instructed, pip install -r fabfile/requirements.txt which produces the following:
Collecting Fabric==1.4.3 (from -r fabfile/requirements.txt (line 1))
Using cached Fabric-1.4.3.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "C:\Users\david\AppData\Local\Temp\1\pip-build-icytzvd1\Fabric\setup.py", line 7, in <module>
from fabric.version import get_version
File "C:\Users\david\AppData\Local\Temp\1\pip-build-icytzvd1\Fabric\fabric\version.py", line 104
print get_version('all')
^
SyntaxError: invalid syntax
----------------------------------------
←[31mCommand "python setup.py egg_info" failed with error code 1 in C:\Users\david\AppData\Local\Temp\1\pip-build-icytzvd1\Fabric←[0m
My untrained eyes do not see a syntax error that I can recognize. I looked in C:\Users\david\AppData\Local\Temp\1 with hidden files shown, and there is no pip-build-icytzvd1 folder.
I'm completely inexperienced with AWS. If a solution to this problem is worth finding, where could I find the solution? If it isn't worth finding a solution to this, is there an up-to-date guide to manually deploy Django on EC2 using Nginx, Gunicorn, PostreSQL, and Amazon AMI?
edit:
Collecting Fabric
Downloading Fabric-1.10.2.tar.gz (212kB)
Collecting paramiko>=1.10 (from Fabric)
Downloading paramiko-1.16.0-py2.py3-none-any.whl (169kB)
Collecting pycrypto!=2.4,>=2.1 (from paramiko>=1.10->Fabric)
Downloading pycrypto-2.6.1.tar.gz (446kB)
Collecting ecdsa>=0.11 (from paramiko>=1.10->Fabric)
Downloading ecdsa-0.13-py2.py3-none-any.whl (86kB)
Installing collected packages: pycrypto, ecdsa, paramiko, Fabric
Running setup.py install for pycrypto
Complete output from command D:\env\Django\Scripts\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\David\\AppData\\Local\\Temp\\pycharm-packaging0.tmp\\pycrypto\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\David\AppData\Local\Temp\pip-nggph54n-record\install-record.txt --single-version-externally-managed --compile --install-headers D:\env\Django\include\site\python3.5\pycrypto:
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.5
creating build\lib.win-amd64-3.5\Crypto
copying lib\Crypto\pct_warnings.py -> build\lib.win-amd64-3.5\Crypto
copying lib\Crypto\__init__.py -> build\lib.win-amd64-3.5\Crypto
creating build\lib.win-amd64-3.5\Crypto\Hash
copying lib\Crypto\Hash\hashalgo.py -> build\lib.win-amd64-3.5\Crypto\Hash
copying lib\Crypto\Hash\HMAC.py -> build\lib.win-amd64-3.5\Crypto\Hash
copying lib\Crypto\Hash\MD2.py -> build\lib.win-amd64-3.5\Crypto\Hash
copying lib\Crypto\Hash\MD4.py -> build\lib.win-amd64-3.5\Crypto\Hash
copying lib\Crypto\Hash\MD5.py -> build\lib.win-amd64-3.5\Crypto\Hash
copying lib\Crypto\Hash\RIPEMD.py -> build\lib.win-amd64-3.5\Crypto\Hash
copying lib\Crypto\Hash\SHA.py -> build\lib.win-amd64-3.5\Crypto\Hash
copying lib\Crypto\Hash\SHA224.py -> build\lib.win-amd64-3.5\Crypto\Hash
copying lib\Crypto\Hash\SHA256.py -> build\lib.win-amd64-3.5\Crypto\Hash
copying lib\Crypto\Hash\SHA384.py -> build\lib.win-amd64-3.5\Crypto\Hash
copying lib\Crypto\Hash\SHA512.py -> build\lib.win-amd64-3.5\Crypto\Hash
copying lib\Crypto\Hash\__init__.py -> build\lib.win-amd64-3.5\Crypto\Hash
creating build\lib.win-amd64-3.5\Crypto\Cipher
copying lib\Crypto\Cipher\AES.py -> build\lib.win-amd64-3.5\Crypto\Cipher
copying lib\Crypto\Cipher\ARC2.py -> build\lib.win-amd64-3.5\Crypto\Cipher
copying lib\Crypto\Cipher\ARC4.py -> build\lib.win-amd64-3.5\Crypto\Cipher
copying lib\Crypto\Cipher\blockalgo.py -> build\lib.win-amd64-3.5\Crypto\Cipher
copying lib\Crypto\Cipher\Blowfish.py -> build\lib.win-amd64-3.5\Crypto\Cipher
copying lib\Crypto\Cipher\CAST.py -> build\lib.win-amd64-3.5\Crypto\Cipher
copying lib\Crypto\Cipher\DES.py -> build\lib.win-amd64-3.5\Crypto\Cipher
copying lib\Crypto\Cipher\DES3.py -> build\lib.win-amd64-3.5\Crypto\Cipher
copying lib\Crypto\Cipher\PKCS1_OAEP.py -> build\lib.win-amd64-3.5\Crypto\Cipher
copying lib\Crypto\Cipher\PKCS1_v1_5.py -> build\lib.win-amd64-3.5\Crypto\Cipher
copying lib\Crypto\Cipher\XOR.py -> build\lib.win-amd64-3.5\Crypto\Cipher
copying lib\Crypto\Cipher\__init__.py -> build\lib.win-amd64-3.5\Crypto\Cipher
creating build\lib.win-amd64-3.5\Crypto\Util
copying lib\Crypto\Util\asn1.py -> build\lib.win-amd64-3.5\Crypto\Util
copying lib\Crypto\Util\Counter.py -> build\lib.win-amd64-3.5\Crypto\Util
copying lib\Crypto\Util\number.py -> build\lib.win-amd64-3.5\Crypto\Util
copying lib\Crypto\Util\py3compat.py -> build\lib.win-amd64-3.5\Crypto\Util
copying lib\Crypto\Util\randpool.py -> build\lib.win-amd64-3.5\Crypto\Util
copying lib\Crypto\Util\RFC1751.py -> build\lib.win-amd64-3.5\Crypto\Util
copying lib\Crypto\Util\winrandom.py -> build\lib.win-amd64-3.5\Crypto\Util
copying lib\Crypto\Util\_number_new.py -> build\lib.win-amd64-3.5\Crypto\Util
copying lib\Crypto\Util\__init__.py -> build\lib.win-amd64-3.5\Crypto\Util
creating build\lib.win-amd64-3.5\Crypto\Random
copying lib\Crypto\Random\random.py -> build\lib.win-amd64-3.5\Crypto\Random
copying lib\Crypto\Random\_UserFriendlyRNG.py -> build\lib.win-amd64-3.5\Crypto\Random
copying lib\Crypto\Random\__init__.py -> build\lib.win-amd64-3.5\Crypto\Random
creating build\lib.win-amd64-3.5\Crypto\Random\Fortuna
copying lib\Crypto\Random\Fortuna\FortunaAccumulator.py -> build\lib.win-amd64-3.5\Crypto\Random\Fortuna
copying lib\Crypto\Random\Fortuna\FortunaGenerator.py -> build\lib.win-amd64-3.5\Crypto\Random\Fortuna
copying lib\Crypto\Random\Fortuna\SHAd256.py -> build\lib.win-amd64-3.5\Crypto\Random\Fortuna
copying lib\Crypto\Random\Fortuna\__init__.py -> build\lib.win-amd64-3.5\Crypto\Random\Fortuna
creating build\lib.win-amd64-3.5\Crypto\Random\OSRNG
copying lib\Crypto\Random\OSRNG\fallback.py -> build\lib.win-amd64-3.5\Crypto\Random\OSRNG
copying lib\Crypto\Random\OSRNG\nt.py -> build\lib.win-amd64-3.5\Crypto\Random\OSRNG
copying lib\Crypto\Random\OSRNG\posix.py -> build\lib.win-amd64-3.5\Crypto\Random\OSRNG
copying lib\Crypto\Random\OSRNG\rng_base.py -> build\lib.win-amd64-3.5\Crypto\Random\OSRNG
copying lib\Crypto\Random\OSRNG\__init__.py -> build\lib.win-amd64-3.5\Crypto\Random\OSRNG
creating build\lib.win-amd64-3.5\Crypto\SelfTest
copying lib\Crypto\SelfTest\st_common.py -> build\lib.win-amd64-3.5\Crypto\SelfTest
copying lib\Crypto\SelfTest\__init__.py -> build\lib.win-amd64-3.5\Crypto\SelfTest
creating build\lib.win-amd64-3.5\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\common.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_AES.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_ARC2.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_ARC4.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_Blowfish.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_CAST.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_DES.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_DES3.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_pkcs1_15.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_pkcs1_oaep.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_XOR.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\__init__.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Cipher
creating build\lib.win-amd64-3.5\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\common.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_HMAC.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_MD2.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_MD4.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_MD5.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_RIPEMD.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_SHA.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_SHA224.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_SHA256.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_SHA384.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_SHA512.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\__init__.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Hash
creating build\lib.win-amd64-3.5\Crypto\SelfTest\Protocol
copying lib\Crypto\SelfTest\Protocol\test_AllOrNothing.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Protocol
copying lib\Crypto\SelfTest\Protocol\test_chaffing.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Protocol
copying lib\Crypto\SelfTest\Protocol\test_KDF.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Protocol
copying lib\Crypto\SelfTest\Protocol\test_rfc1751.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Protocol
copying lib\Crypto\SelfTest\Protocol\__init__.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Protocol
creating build\lib.win-amd64-3.5\Crypto\SelfTest\PublicKey
copying lib\Crypto\SelfTest\PublicKey\test_DSA.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\PublicKey
copying lib\Crypto\SelfTest\PublicKey\test_ElGamal.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\PublicKey
copying lib\Crypto\SelfTest\PublicKey\test_importKey.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\PublicKey
copying lib\Crypto\SelfTest\PublicKey\test_RSA.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\PublicKey
copying lib\Crypto\SelfTest\PublicKey\__init__.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\PublicKey
creating build\lib.win-amd64-3.5\Crypto\SelfTest\Random
copying lib\Crypto\SelfTest\Random\test_random.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Random
copying lib\Crypto\SelfTest\Random\test_rpoolcompat.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Random
copying lib\Crypto\SelfTest\Random\test__UserFriendlyRNG.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Random
copying lib\Crypto\SelfTest\Random\__init__.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Random
creating build\lib.win-amd64-3.5\Crypto\SelfTest\Random\Fortuna
copying lib\Crypto\SelfTest\Random\Fortuna\test_FortunaAccumulator.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Random\Fortuna
copying lib\Crypto\SelfTest\Random\Fortuna\test_FortunaGenerator.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Random\Fortuna
copying lib\Crypto\SelfTest\Random\Fortuna\test_SHAd256.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Random\Fortuna
copying lib\Crypto\SelfTest\Random\Fortuna\__init__.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Random\Fortuna
creating build\lib.win-amd64-3.5\Crypto\SelfTest\Random\OSRNG
copying lib\Crypto\SelfTest\Random\OSRNG\test_fallback.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Random\OSRNG
copying lib\Crypto\SelfTest\Random\OSRNG\test_generic.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Random\OSRNG
copying lib\Crypto\SelfTest\Random\OSRNG\test_nt.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Random\OSRNG
copying lib\Crypto\SelfTest\Random\OSRNG\test_posix.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Random\OSRNG
copying lib\Crypto\SelfTest\Random\OSRNG\test_winrandom.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Random\OSRNG
copying lib\Crypto\SelfTest\Random\OSRNG\__init__.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Random\OSRNG
creating build\lib.win-amd64-3.5\Crypto\SelfTest\Util
copying lib\Crypto\SelfTest\Util\test_asn1.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Util
copying lib\Crypto\SelfTest\Util\test_Counter.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Util
copying lib\Crypto\SelfTest\Util\test_number.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Util
copying lib\Crypto\SelfTest\Util\test_winrandom.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Util
copying lib\Crypto\SelfTest\Util\__init__.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Util
creating build\lib.win-amd64-3.5\Crypto\SelfTest\Signature
copying lib\Crypto\SelfTest\Signature\test_pkcs1_15.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Signature
copying lib\Crypto\SelfTest\Signature\test_pkcs1_pss.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Signature
copying lib\Crypto\SelfTest\Signature\__init__.py -> build\lib.win-amd64-3.5\Crypto\SelfTest\Signature
creating build\lib.win-amd64-3.5\Crypto\Protocol
copying lib\Crypto\Protocol\AllOrNothing.py -> build\lib.win-amd64-3.5\Crypto\Protocol
copying lib\Crypto\Protocol\Chaffing.py -> build\lib.win-amd64-3.5\Crypto\Protocol
copying lib\Crypto\Protocol\KDF.py -> build\lib.win-amd64-3.5\Crypto\Protocol
copying lib\Crypto\Protocol\__init__.py -> build\lib.win-amd64-3.5\Crypto\Protocol
creating build\lib.win-amd64-3.5\Crypto\PublicKey
copying lib\Crypto\PublicKey\DSA.py -> build\lib.win-amd64-3.5\Crypto\PublicKey
copying lib\Crypto\PublicKey\ElGamal.py -> build\lib.win-amd64-3.5\Crypto\PublicKey
copying lib\Crypto\PublicKey\pubkey.py -> build\lib.win-amd64-3.5\Crypto\PublicKey
copying lib\Crypto\PublicKey\RSA.py -> build\lib.win-amd64-3.5\Crypto\PublicKey
copying lib\Crypto\PublicKey\_DSA.py -> build\lib.win-amd64-3.5\Crypto\PublicKey
copying lib\Crypto\PublicKey\_RSA.py -> build\lib.win-amd64-3.5\Crypto\PublicKey
copying lib\Crypto\PublicKey\_slowmath.py -> build\lib.win-amd64-3.5\Crypto\PublicKey
copying lib\Crypto\PublicKey\__init__.py -> build\lib.win-amd64-3.5\Crypto\PublicKey
creating build\lib.win-amd64-3.5\Crypto\Signature
copying lib\Crypto\Signature\PKCS1_PSS.py -> build\lib.win-amd64-3.5\Crypto\Signature
copying lib\Crypto\Signature\PKCS1_v1_5.py -> build\lib.win-amd64-3.5\Crypto\Signature
copying lib\Crypto\Signature\__init__.py -> build\lib.win-amd64-3.5\Crypto\Signature
Skipping optional fixer: buffer
Skipping optional fixer: idioms
Skipping optional fixer: set_literal
Skipping optional fixer: ws_comma
warning: PCTBuildPy: byte-compiling is disabled, skipping.
running build_ext
warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
building 'Crypto.Random.OSRNG.winrandom' extension
error: [WinError 2] The system cannot find the file specified
Fabric 1.4.3 that old. Really old the current version is 1.10.2. The reason that you can't find that temporary folder is because it's created by pip when you try to install fabric and cleared out afterwards. You can however see the current version.py or if you check out the project you will be able to see it for the version you are trying to install. The current version code looks a bit different from what you posted:
print(get_version('all'))
However I can't figure out why the following should produce an error either.
print get_version('all')
Why don't you just install the latest version of Frabric by using this requirements file: https://github.com/fabric/fabric/blob/master/dev-requirements.txt ? chances are you probably have the requirements installed already. In that case just do
pip install Fabric
I have been having the same issue. e5c5 is correct. It is a pycrypto installation issue. Try installing pycrypto as a standalone pip installation. It will probably throw an error message and ask you to install Visual Studio c++.
warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
building 'Crypto.Random.OSRNG.winrandom' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

Categories

Resources