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.
Related
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.
I'm running the command python3.9 -m pip install pyxb in a virtual environment and receiving these errors. I cannot figure out a meaningful message inside the logs. Am I missing something?
(saleor-venv) ec2-user#ip-12-3-3-2:~/repo/fork/saleor> python3.9 -m pip install pyxb
Collecting pyxb
Downloading PyXB-1.2.6.tar.gz (7.0 MB)
|████████████████████████████████| 7.0 MB 4.5 MB/s
Using legacy 'setup.py install' for pyxb, since package 'wheel' is not installed.
Installing collected packages: pyxb
Running setup.py install for pyxb ... error
ERROR: Command errored out with exit status -9:
command: /home/ec2-user/repo/fork/saleor/saleor-venv/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ofpqfy5f/pyxb_5f99ab2ae6bd48aeb20205fc5a95659a/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ofpqfy5f/pyxb_5f99ab2ae6bd48aeb20205fc5a95659a/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 /tmp/pip-record-vkevgofl/install-record.txt --single-version-externally-managed --compile --install-headers /home/ec2-user/repo/fork/saleor/saleor-venv/include/site/python3.9/pyxb
cwd: /tmp/pip-install-ofpqfy5f/pyxb_5f99ab2ae6bd48aeb20205fc5a95659a/
Complete output (357 lines):
Found bundle in /tmp/pip-install-ofpqfy5f/pyxb_5f99ab2ae6bd48aeb20205fc5a95659a/pyxb/bundles/dc
Found bundle in /tmp/pip-install-ofpqfy5f/pyxb_5f99ab2ae6bd48aeb20205fc5a95659a/pyxb/bundles/common
Found bundle in /tmp/pip-install-ofpqfy5f/pyxb_5f99ab2ae6bd48aeb20205fc5a95659a/pyxb/bundles/wssplat
Found bundle in /tmp/pip-install-ofpqfy5f/pyxb_5f99ab2ae6bd48aeb20205fc5a95659a/pyxb/bundles/saml20
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/pyxb
copying pyxb/exceptions_.py -> build/lib/pyxb
copying pyxb/__init__.py -> build/lib/pyxb
creating build/lib/pyxb/namespace
copying pyxb/namespace/utility.py -> build/lib/pyxb/namespace
copying pyxb/namespace/archive.py -> build/lib/pyxb/namespace
copying pyxb/namespace/__init__.py -> build/lib/pyxb/namespace
copying pyxb/namespace/resolution.py -> build/lib/pyxb/namespace
copying pyxb/namespace/builtin.py -> build/lib/pyxb/namespace
creating build/lib/pyxb/binding
copying pyxb/binding/xml_.py -> build/lib/pyxb/binding
copying pyxb/binding/basis.py -> build/lib/pyxb/binding
copying pyxb/binding/saxer.py -> build/lib/pyxb/binding
copying pyxb/binding/content.py -> build/lib/pyxb/binding
copying pyxb/binding/facets.py -> build/lib/pyxb/binding
copying pyxb/binding/datatypes.py -> build/lib/pyxb/binding
copying pyxb/binding/generate.py -> build/lib/pyxb/binding
copying pyxb/binding/__init__.py -> build/lib/pyxb/binding
creating build/lib/pyxb/utils
copying pyxb/utils/saxutils.py -> build/lib/pyxb/utils
copying pyxb/utils/unicode.py -> build/lib/pyxb/utils
copying pyxb/utils/domutils.py -> build/lib/pyxb/utils
copying pyxb/utils/unicode_data.py -> build/lib/pyxb/utils
copying pyxb/utils/utility.py -> build/lib/pyxb/utils
copying pyxb/utils/activestate.py -> build/lib/pyxb/utils
copying pyxb/utils/six.py -> build/lib/pyxb/utils
copying pyxb/utils/templates.py -> build/lib/pyxb/utils
copying pyxb/utils/xmlre.py -> build/lib/pyxb/utils
copying pyxb/utils/__init__.py -> build/lib/pyxb/utils
copying pyxb/utils/fac.py -> build/lib/pyxb/utils
copying pyxb/utils/saxdom.py -> build/lib/pyxb/utils
creating build/lib/pyxb/xmlschema
copying pyxb/xmlschema/structures.py -> build/lib/pyxb/xmlschema
copying pyxb/xmlschema/__init__.py -> build/lib/pyxb/xmlschema
creating build/lib/pyxb/bundles
copying pyxb/bundles/__init__.py -> build/lib/pyxb/bundles
creating build/lib/pyxb/bundles/dc
copying pyxb/bundles/dc/dcterms.py -> build/lib/pyxb/bundles/dc
copying pyxb/bundles/dc/dcmitype.py -> build/lib/pyxb/bundles/dc
copying pyxb/bundles/dc/dc.py -> build/lib/pyxb/bundles/dc
copying pyxb/bundles/dc/__init__.py -> build/lib/pyxb/bundles/dc
creating build/lib/pyxb/bundles/dc/raw
copying pyxb/bundles/dc/raw/dcterms.py -> build/lib/pyxb/bundles/dc/raw
copying pyxb/bundles/dc/raw/dcmitype.py -> build/lib/pyxb/bundles/dc/raw
copying pyxb/bundles/dc/raw/dc.py -> build/lib/pyxb/bundles/dc/raw
copying pyxb/bundles/dc/raw/__init__.py -> build/lib/pyxb/bundles/dc/raw
creating build/lib/pyxb/bundles/common
copying pyxb/bundles/common/xsd_hfp.py -> build/lib/pyxb/bundles/common
copying pyxb/bundles/common/xhtml1.py -> build/lib/pyxb/bundles/common
copying pyxb/bundles/common/xlink.py -> build/lib/pyxb/bundles/common
copying pyxb/bundles/common/__init__.py -> build/lib/pyxb/bundles/common
creating build/lib/pyxb/bundles/common/raw
copying pyxb/bundles/common/raw/xsd_hfp.py -> build/lib/pyxb/bundles/common/raw
copying pyxb/bundles/common/raw/xhtml1.py -> build/lib/pyxb/bundles/common/raw
copying pyxb/bundles/common/raw/xlink.py -> build/lib/pyxb/bundles/common/raw
copying pyxb/bundles/common/raw/__init__.py -> build/lib/pyxb/bundles/common/raw
creating build/lib/pyxb/bundles/wssplat
copying pyxb/bundles/wssplat/httpbind.py -> build/lib/pyxb/bundles/wssplat
copying pyxb/bundles/wssplat/wsp.py -> build/lib/pyxb/bundles/wssplat
copying pyxb/bundles/wssplat/wsdlx.py -> build/lib/pyxb/bundles/wssplat
copying pyxb/bundles/wssplat/ds.py -> build/lib/pyxb/bundles/wssplat
copying pyxb/bundles/wssplat/xenc.py -> build/lib/pyxb/bundles/wssplat
copying pyxb/bundles/wssplat/whttp.py -> build/lib/pyxb/bundles/wssplat
copying pyxb/bundles/wssplat/wsrf_bf.py -> build/lib/pyxb/bundles/wssplat
copying pyxb/bundles/wssplat/mimebind.py -> build/lib/pyxb/bundles/wssplat
copying pyxb/bundles/wssplat/wsdli.py -> build/lib/pyxb/bundles/wssplat
copying pyxb/bundles/wssplat/wsp200607.py -> build/lib/pyxb/bundles/wssplat
copying pyxb/bundles/wssplat/soapbind12.py -> build/lib/pyxb/bundles/wssplat
copying pyxb/bundles/wssplat/wsa.py -> build/lib/pyxb/bundles/wssplat
copying pyxb/bundles/wssplat/wsse.py -> build/lib/pyxb/bundles/wssplat
copying pyxb/bundles/wssplat/wsrf_br.py -> build/lib/pyxb/bundles/wssplat
copying pyxb/bundles/wssplat/soap11.py -> build/lib/pyxb/bundles/wssplat
copying pyxb/bundles/wssplat/soapenc.py -> build/lib/pyxb/bundles/wssplat
copying pyxb/bundles/wssplat/wscoor.py -> build/lib/pyxb/bundles/wssplat
copying pyxb/bundles/wssplat/wsrm.py -> build/lib/pyxb/bundles/wssplat
copying pyxb/bundles/wssplat/__init__.py -> build/lib/pyxb/bundles/wssplat
copying pyxb/bundles/wssplat/bpws.py -> build/lib/pyxb/bundles/wssplat
copying pyxb/bundles/wssplat/wsdl20.py -> build/lib/pyxb/bundles/wssplat
copying pyxb/bundles/wssplat/sawsdl.py -> build/lib/pyxb/bundles/wssplat
copying pyxb/bundles/wssplat/wsoap.py -> build/lib/pyxb/bundles/wssplat
copying pyxb/bundles/wssplat/wstop.py -> build/lib/pyxb/bundles/wssplat
copying pyxb/bundles/wssplat/wsu.py -> build/lib/pyxb/bundles/wssplat
copying pyxb/bundles/wssplat/wsam.py -> build/lib/pyxb/bundles/wssplat
copying pyxb/bundles/wssplat/wsdl11.py -> build/lib/pyxb/bundles/wssplat
copying pyxb/bundles/wssplat/soapbind11.py -> build/lib/pyxb/bundles/wssplat
copying pyxb/bundles/wssplat/soap12.py -> build/lib/pyxb/bundles/wssplat
copying pyxb/bundles/wssplat/wsnt.py -> build/lib/pyxb/bundles/wssplat
creating build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/httpbind.py -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wsp.py -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wsdlx.py -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/ds.py -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/xenc.py -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/whttp.py -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wsrf_bf.py -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/mimebind.py -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wsdli.py -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wsp200607.py -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/soapbind12.py -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wsa.py -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wsse.py -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wsrf_br.py -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/soap11.py -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/soapenc.py -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wscoor.py -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wsrm.py -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/__init__.py -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/bpws.py -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wsdl20.py -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/sawsdl.py -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wsoap.py -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wstop.py -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wsu.py -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wsam.py -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wsdl11.py -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/soapbind11.py -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/soap12.py -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wsnt.py -> build/lib/pyxb/bundles/wssplat/raw
creating build/lib/pyxb/bundles/saml20
copying pyxb/bundles/saml20/xacml.py -> build/lib/pyxb/bundles/saml20
copying pyxb/bundles/saml20/assertion.py -> build/lib/pyxb/bundles/saml20
copying pyxb/bundles/saml20/x500.py -> build/lib/pyxb/bundles/saml20
copying pyxb/bundles/saml20/protocol.py -> build/lib/pyxb/bundles/saml20
copying pyxb/bundles/saml20/ecp.py -> build/lib/pyxb/bundles/saml20
copying pyxb/bundles/saml20/__init__.py -> build/lib/pyxb/bundles/saml20
copying pyxb/bundles/saml20/metadata.py -> build/lib/pyxb/bundles/saml20
copying pyxb/bundles/saml20/dce.py -> build/lib/pyxb/bundles/saml20
creating build/lib/pyxb/bundles/saml20/raw
copying pyxb/bundles/saml20/raw/xacml.py -> build/lib/pyxb/bundles/saml20/raw
copying pyxb/bundles/saml20/raw/assertion.py -> build/lib/pyxb/bundles/saml20/raw
copying pyxb/bundles/saml20/raw/x500.py -> build/lib/pyxb/bundles/saml20/raw
copying pyxb/bundles/saml20/raw/protocol.py -> build/lib/pyxb/bundles/saml20/raw
copying pyxb/bundles/saml20/raw/ecp.py -> build/lib/pyxb/bundles/saml20/raw
copying pyxb/bundles/saml20/raw/__init__.py -> build/lib/pyxb/bundles/saml20/raw
copying pyxb/bundles/saml20/raw/metadata.py -> build/lib/pyxb/bundles/saml20/raw
copying pyxb/bundles/saml20/raw/dce.py -> build/lib/pyxb/bundles/saml20/raw
copying pyxb/bundles/dc/raw/dc.wxs -> build/lib/pyxb/bundles/dc/raw
copying pyxb/bundles/common/raw/xhtml1.wxs -> build/lib/pyxb/bundles/common/raw
copying pyxb/bundles/common/raw/xsd_hfp.wxs -> build/lib/pyxb/bundles/common/raw
copying pyxb/bundles/common/raw/xlink.wxs -> build/lib/pyxb/bundles/common/raw
copying pyxb/bundles/wssplat/raw/httpbind.wxs -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/ds.wxs -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wsdli.wxs -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/soap12.wxs -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wsoap.wxs -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wsrf_bf.wxs -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/soapbind12.wxs -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wsnt.wxs -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wscoor.wxs -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wsrm.wxs -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wsse.wxs -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/soapenc.wxs -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wsdl11.wxs -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wsu.wxs -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/whttp.wxs -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wsp.wxs -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wsa.wxs -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wsdl20.wxs -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/xenc.wxs -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wsdlx.wxs -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/sawsdl.wxs -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/soapbind11.wxs -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/soap11.wxs -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/bpws.wxs -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/mimebind.wxs -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wstop.wxs -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wsrf_br.wxs -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wsp200607.wxs -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/wssplat/raw/wsam.wxs -> build/lib/pyxb/bundles/wssplat/raw
copying pyxb/bundles/saml20/raw/xacml.wxs -> build/lib/pyxb/bundles/saml20/raw
copying pyxb/bundles/saml20/raw/protocol.wxs -> build/lib/pyxb/bundles/saml20/raw
copying pyxb/bundles/saml20/raw/x500.wxs -> build/lib/pyxb/bundles/saml20/raw
copying pyxb/bundles/saml20/raw/metadata.wxs -> build/lib/pyxb/bundles/saml20/raw
copying pyxb/bundles/saml20/raw/dce.wxs -> build/lib/pyxb/bundles/saml20/raw
copying pyxb/bundles/saml20/raw/ecp.wxs -> build/lib/pyxb/bundles/saml20/raw
copying pyxb/bundles/saml20/raw/assertion.wxs -> build/lib/pyxb/bundles/saml20/raw
running build_scripts
creating build/scripts-3.9
copying and adjusting scripts/pyxbgen -> build/scripts-3.9
copying and adjusting scripts/pyxbwsdl -> build/scripts-3.9
copying and adjusting scripts/pyxbdump -> build/scripts-3.9
changing mode of build/scripts-3.9/pyxbgen from 644 to 755
changing mode of build/scripts-3.9/pyxbwsdl from 644 to 755
changing mode of build/scripts-3.9/pyxbdump from 644 to 755
running install_lib
copying build/lib/pyxb/exceptions_.py -> /home/ec2-user/repo/fork/saleor/saleor-venv/lib/python3.9/site-packages/pyxb
copying build/lib/pyxb/__init__.py -> /home/ec2-user/repo/fork/saleor/saleor-venv/lib/python3.9/site-packages/pyxb
copying build/lib/pyxb/namespace/utility.py -> /home/ec2-user/repo/fork/saleor/saleor-venv/lib/python3.9/site-packages/pyxb/namespace
copying build/lib/pyxb/namespace/archive.py -> /home/ec2-user/repo/fork/saleor/saleor-venv/lib/python3.9/site-packages/pyxb/namespace
copying build/lib/pyxb/namespace/__init__.py -> /home/ec2-user/repo/fork/saleor/saleor-venv/lib/python3.9/site-packages/pyxb/namespace
copying build/lib/pyxb/namespace/resolution.py -> /home/ec2-user/repo/fork/saleor/saleor-venv/lib/python3.9/site-packages/pyxb/namespace
copying build/lib/pyxb/namespace/builtin.py -> /home/ec2-user/repo/fork/saleor/saleor-venv/lib/python3.9/site-packages/pyxb/namespace
copying build/lib/pyxb/binding/xml_.py -> /home/ec2-user/repo/fork/saleor/saleor-venv/lib/python3.9/site-packages/pyxb/binding
copying build/lib/pyxb/binding/basis.py -> /home/ec2-user/repo/fork/saleor/saleor-venv/lib/python3.9/site-packages/pyxb/binding
...
copying build/lib/pyxb/bundles/saml20/dce.py -> /home/ec2-user/repo/fork/saleor/saleor-venv/lib/python3.9/site-packages/pyxb/bundles/saml20
copying build/lib/pyxb/bundles/saml20/raw/xacml.py -> /home/ec2-user/repo/fork/saleor/saleor-venv/lib/python3.9/site-packages/pyxb/bundles/saml20/raw
copying build/lib/pyxb/bundles/saml20/raw/assertion.py -> /home/ec2-user/repo/fork/saleor/saleor-venv/lib/python3.9/site-packages/pyxb/bundles/saml20/raw
copying build/lib/pyxb/bundles/saml20/raw/x500.py -> /home/ec2-user/repo/fork/saleor/saleor-venv/lib/python3.9/site-packages/pyxb/bundles/saml20/raw
copying build/lib/pyxb/bundles/saml20/raw/protocol.py -> /home/ec2-user/repo/fork/saleor/saleor-venv/lib/python3.9/site-packages/pyxb/bundles/saml20/raw
copying build/lib/pyxb/bundles/saml20/raw/ecp.py -> /home/ec2-user/repo/fork/saleor/saleor-venv/lib/python3.9/site-packages/pyxb/bundles/saml20/raw
copying build/lib/pyxb/bundles/saml20/raw/__init__.py -> /home/ec2-user/repo/fork/saleor/saleor-venv/lib/python3.9/site-packages/pyxb/bundles/saml20/raw
copying build/lib/pyxb/bundles/saml20/raw/metadata.py -> /home/ec2-user/repo/fork/saleor/saleor-venv/lib/python3.9/site-packages/pyxb/bundles/saml20/raw
copying build/lib/pyxb/bundles/saml20/raw/dce.py -> /home/ec2-user/repo/fork/saleor/saleor-venv/lib/python3.9/site-packages/pyxb/bundles/saml20/raw
copying build/lib/pyxb/bundles/saml20/raw/xacml.wxs -> /home/ec2-user/repo/fork/saleor/saleor-venv/lib/python3.9/site-packages/pyxb/bundles/saml20/raw
copying build/lib/pyxb/bundles/saml20/raw/protocol.wxs -> /home/ec2-user/repo/fork/saleor/saleor-venv/lib/python3.9/site-packages/pyxb/bundles/saml20/raw
copying build/lib/pyxb/bundles/saml20/raw/x500.wxs -> /home/ec2-user/repo/fork/saleor/saleor-venv/lib/python3.9/site-packages/pyxb/bundles/saml20/raw
copying build/lib/pyxb/bundles/saml20/raw/metadata.wxs -> /home/ec2-user/repo/fork/saleor/saleor-venv/lib/python3.9/site-packages/pyxb/bundles/saml20/raw
copying build/lib/pyxb/bundles/saml20/raw/dce.wxs -> /home/ec2-user/repo/fork/saleor/saleor-venv/lib/python3.9/site-packages/pyxb/bundles/saml20/raw
copying build/lib/pyxb/bundles/saml20/raw/ecp.wxs -> /home/ec2-user/repo/fork/saleor/saleor-venv/lib/python3.9/site-packages/pyxb/bundles/saml20/raw
copying build/lib/pyxb/bundles/saml20/raw/assertion.wxs -> /home/ec2-user/repo/fork/saleor/saleor-venv/lib/python3.9/site-packages/pyxb/bundles/saml20/raw
byte-compiling /home/ec2-user/repo/fork/saleor/saleor-venv/lib/python3.9/site-packages/pyxb/bundles/common/raw/xhtml1.py to xhtml1.cpython-39.pyc
----------------------------------------
ERROR: Command errored out with exit status -9: /home/ec2-user/repo/fork/saleor/saleor-venv/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ofpqfy5f/pyxb_5f99ab2ae6bd48aeb20205fc5a95659a/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ofpqfy5f/pyxb_5f99ab2ae6bd48aeb20205fc5a95659a/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 /tmp/pip-record-vkevgofl/install-record.txt --single-version-externally-managed --compile --install-headers /home/ec2-user/repo/fork/saleor/saleor-venv/include/site/python3.9/pyxb Check the logs for full command output.
The error got resolved by running:
(saleor-venv) ec2-user#ip-12-3-3-2:~/repo/fork/saleor> python3.9 -m pip install wheel
I'm installing some packages from an inherited requirements.txt file and it errors out. I've drilled down to the specific package and it's pycryptodome. I can run this without issue:
pip install pycryptodome
But I need a non-current version for dependency issues, 3.4.0 > versions >= 3.3.1 specifically, and now I'm having trouble running this command:
pip install pycryptodome==3.3.1
Error:
Collecting pycryptodome==3.3.1
Using cached pycryptodome-3.3.1.tar.gz (3.1 MB)
Building wheels for collected packages: pycryptodome
Building wheel for pycryptodome (setup.py) ... error
ERROR: Command errored out with exit status 1:
Full Error (redacted a couple things):
command: 'c:\...\venv\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\...\\AppData\\Local\\Temp\\pip-install-vg9qpnv9\\pycryptodome_9e8bb9b16aac4d9980f22a903b99a966\\setup.py'"'"'; __file__='"'"'C:\\...\\AppData\\Local\\Temp\\pip-install-vg9qpnv9\\pycryptodome_9e8bb9b16aac4d9980f22a903b99a966\\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:\...\AppData\Local\Temp\pip-record-_aaaf9u0\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\...\venv\include\site\python3.7\pycryptodome'
cwd: C:\...\AppData\Local\Temp\pip-install-vg9qpnv9\pycryptodome_9e8bb9b16aac4d9980f22a903b99a966\
Complete output (220 lines):
running install
running build
running build_py
creating build\lib.win-amd64-3.7
creating build\lib.win-amd64-3.7\Crypto
copying lib\Crypto\pct_warnings.py -> build\lib.win-amd64-3.7\Crypto
copying lib\Crypto\__init__.py -> build\lib.win-amd64-3.7\Crypto
creating build\lib.win-amd64-3.7\Crypto\Cipher
copying lib\Crypto\Cipher\AES.py -> build\lib.win-amd64-3.7\Crypto\Cipher
copying lib\Crypto\Cipher\ARC2.py -> build\lib.win-amd64-3.7\Crypto\Cipher
copying lib\Crypto\Cipher\ARC4.py -> build\lib.win-amd64-3.7\Crypto\Cipher
copying lib\Crypto\Cipher\Blowfish.py -> build\lib.win-amd64-3.7\Crypto\Cipher
copying lib\Crypto\Cipher\CAST.py -> build\lib.win-amd64-3.7\Crypto\Cipher
copying lib\Crypto\Cipher\ChaCha20.py -> build\lib.win-amd64-3.7\Crypto\Cipher
copying lib\Crypto\Cipher\DES.py -> build\lib.win-amd64-3.7\Crypto\Cipher
copying lib\Crypto\Cipher\DES3.py -> build\lib.win-amd64-3.7\Crypto\Cipher
copying lib\Crypto\Cipher\PKCS1_OAEP.py -> build\lib.win-amd64-3.7\Crypto\Cipher
copying lib\Crypto\Cipher\PKCS1_v1_5.py -> build\lib.win-amd64-3.7\Crypto\Cipher
copying lib\Crypto\Cipher\Salsa20.py -> build\lib.win-amd64-3.7\Crypto\Cipher
copying lib\Crypto\Cipher\_mode_cbc.py -> build\lib.win-amd64-3.7\Crypto\Cipher
copying lib\Crypto\Cipher\_mode_ccm.py -> build\lib.win-amd64-3.7\Crypto\Cipher
copying lib\Crypto\Cipher\_mode_cfb.py -> build\lib.win-amd64-3.7\Crypto\Cipher
copying lib\Crypto\Cipher\_mode_ctr.py -> build\lib.win-amd64-3.7\Crypto\Cipher
copying lib\Crypto\Cipher\_mode_eax.py -> build\lib.win-amd64-3.7\Crypto\Cipher
copying lib\Crypto\Cipher\_mode_ecb.py -> build\lib.win-amd64-3.7\Crypto\Cipher
copying lib\Crypto\Cipher\_mode_gcm.py -> build\lib.win-amd64-3.7\Crypto\Cipher
copying lib\Crypto\Cipher\_mode_ocb.py -> build\lib.win-amd64-3.7\Crypto\Cipher
copying lib\Crypto\Cipher\_mode_ofb.py -> build\lib.win-amd64-3.7\Crypto\Cipher
copying lib\Crypto\Cipher\_mode_openpgp.py -> build\lib.win-amd64-3.7\Crypto\Cipher
copying lib\Crypto\Cipher\_mode_siv.py -> build\lib.win-amd64-3.7\Crypto\Cipher
copying lib\Crypto\Cipher\__init__.py -> build\lib.win-amd64-3.7\Crypto\Cipher
creating build\lib.win-amd64-3.7\Crypto\Hash
copying lib\Crypto\Hash\BLAKE2b.py -> build\lib.win-amd64-3.7\Crypto\Hash
copying lib\Crypto\Hash\BLAKE2s.py -> build\lib.win-amd64-3.7\Crypto\Hash
copying lib\Crypto\Hash\CMAC.py -> build\lib.win-amd64-3.7\Crypto\Hash
copying lib\Crypto\Hash\HMAC.py -> build\lib.win-amd64-3.7\Crypto\Hash
copying lib\Crypto\Hash\keccak.py -> build\lib.win-amd64-3.7\Crypto\Hash
copying lib\Crypto\Hash\MD2.py -> build\lib.win-amd64-3.7\Crypto\Hash
copying lib\Crypto\Hash\MD4.py -> build\lib.win-amd64-3.7\Crypto\Hash
copying lib\Crypto\Hash\MD5.py -> build\lib.win-amd64-3.7\Crypto\Hash
copying lib\Crypto\Hash\RIPEMD.py -> build\lib.win-amd64-3.7\Crypto\Hash
copying lib\Crypto\Hash\RIPEMD160.py -> build\lib.win-amd64-3.7\Crypto\Hash
copying lib\Crypto\Hash\SHA.py -> build\lib.win-amd64-3.7\Crypto\Hash
copying lib\Crypto\Hash\SHA1.py -> build\lib.win-amd64-3.7\Crypto\Hash
copying lib\Crypto\Hash\SHA224.py -> build\lib.win-amd64-3.7\Crypto\Hash
copying lib\Crypto\Hash\SHA256.py -> build\lib.win-amd64-3.7\Crypto\Hash
copying lib\Crypto\Hash\SHA384.py -> build\lib.win-amd64-3.7\Crypto\Hash
copying lib\Crypto\Hash\SHA3_224.py -> build\lib.win-amd64-3.7\Crypto\Hash
copying lib\Crypto\Hash\SHA3_256.py -> build\lib.win-amd64-3.7\Crypto\Hash
copying lib\Crypto\Hash\SHA3_384.py -> build\lib.win-amd64-3.7\Crypto\Hash
copying lib\Crypto\Hash\SHA3_512.py -> build\lib.win-amd64-3.7\Crypto\Hash
copying lib\Crypto\Hash\SHA512.py -> build\lib.win-amd64-3.7\Crypto\Hash
copying lib\Crypto\Hash\SHAKE128.py -> build\lib.win-amd64-3.7\Crypto\Hash
copying lib\Crypto\Hash\SHAKE256.py -> build\lib.win-amd64-3.7\Crypto\Hash
copying lib\Crypto\Hash\__init__.py -> build\lib.win-amd64-3.7\Crypto\Hash
creating build\lib.win-amd64-3.7\Crypto\IO
copying lib\Crypto\IO\PEM.py -> build\lib.win-amd64-3.7\Crypto\IO
copying lib\Crypto\IO\PKCS8.py -> build\lib.win-amd64-3.7\Crypto\IO
copying lib\Crypto\IO\_PBES.py -> build\lib.win-amd64-3.7\Crypto\IO
copying lib\Crypto\IO\__init__.py -> build\lib.win-amd64-3.7\Crypto\IO
creating build\lib.win-amd64-3.7\Crypto\PublicKey
copying lib\Crypto\PublicKey\DSA.py -> build\lib.win-amd64-3.7\Crypto\PublicKey
copying lib\Crypto\PublicKey\ElGamal.py -> build\lib.win-amd64-3.7\Crypto\PublicKey
copying lib\Crypto\PublicKey\RSA.py -> build\lib.win-amd64-3.7\Crypto\PublicKey
copying lib\Crypto\PublicKey\__init__.py -> build\lib.win-amd64-3.7\Crypto\PublicKey
creating build\lib.win-amd64-3.7\Crypto\Protocol
copying lib\Crypto\Protocol\KDF.py -> build\lib.win-amd64-3.7\Crypto\Protocol
copying lib\Crypto\Protocol\SecretSharing.py -> build\lib.win-amd64-3.7\Crypto\Protocol
copying lib\Crypto\Protocol\__init__.py -> build\lib.win-amd64-3.7\Crypto\Protocol
creating build\lib.win-amd64-3.7\Crypto\Random
copying lib\Crypto\Random\random.py -> build\lib.win-amd64-3.7\Crypto\Random
copying lib\Crypto\Random\__init__.py -> build\lib.win-amd64-3.7\Crypto\Random
creating build\lib.win-amd64-3.7\Crypto\Signature
copying lib\Crypto\Signature\DSS.py -> build\lib.win-amd64-3.7\Crypto\Signature
copying lib\Crypto\Signature\pkcs1_15.py -> build\lib.win-amd64-3.7\Crypto\Signature
copying lib\Crypto\Signature\PKCS1_PSS.py -> build\lib.win-amd64-3.7\Crypto\Signature
copying lib\Crypto\Signature\PKCS1_v1_5.py -> build\lib.win-amd64-3.7\Crypto\Signature
copying lib\Crypto\Signature\pss.py -> build\lib.win-amd64-3.7\Crypto\Signature
copying lib\Crypto\Signature\__init__.py -> build\lib.win-amd64-3.7\Crypto\Signature
creating build\lib.win-amd64-3.7\Crypto\Util
copying lib\Crypto\Util\asn1.py -> build\lib.win-amd64-3.7\Crypto\Util
copying lib\Crypto\Util\Counter.py -> build\lib.win-amd64-3.7\Crypto\Util
copying lib\Crypto\Util\number.py -> build\lib.win-amd64-3.7\Crypto\Util
copying lib\Crypto\Util\Padding.py -> build\lib.win-amd64-3.7\Crypto\Util
copying lib\Crypto\Util\py3compat.py -> build\lib.win-amd64-3.7\Crypto\Util
copying lib\Crypto\Util\RFC1751.py -> build\lib.win-amd64-3.7\Crypto\Util
copying lib\Crypto\Util\strxor.py -> build\lib.win-amd64-3.7\Crypto\Util
copying lib\Crypto\Util\_number_new.py -> build\lib.win-amd64-3.7\Crypto\Util
copying lib\Crypto\Util\_raw_api.py -> build\lib.win-amd64-3.7\Crypto\Util
copying lib\Crypto\Util\__init__.py -> build\lib.win-amd64-3.7\Crypto\Util
creating build\lib.win-amd64-3.7\Crypto\Math
copying lib\Crypto\Math\Numbers.py -> build\lib.win-amd64-3.7\Crypto\Math
copying lib\Crypto\Math\Primality.py -> build\lib.win-amd64-3.7\Crypto\Math
copying lib\Crypto\Math\_Numbers_gmp.py -> build\lib.win-amd64-3.7\Crypto\Math
copying lib\Crypto\Math\_Numbers_int.py -> build\lib.win-amd64-3.7\Crypto\Math
copying lib\Crypto\Math\__init__.py -> build\lib.win-amd64-3.7\Crypto\Math
creating build\lib.win-amd64-3.7\Crypto\SelfTest
copying lib\Crypto\SelfTest\st_common.py -> build\lib.win-amd64-3.7\Crypto\SelfTest
copying lib\Crypto\SelfTest\__init__.py -> build\lib.win-amd64-3.7\Crypto\SelfTest
copying lib\Crypto\SelfTest\__main__.py -> build\lib.win-amd64-3.7\Crypto\SelfTest
creating build\lib.win-amd64-3.7\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\common.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_AES.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_ARC2.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_ARC4.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_Blowfish.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_CAST.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_ChaCha20.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_DES.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_DES3.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_OCB.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_pkcs1_15.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_pkcs1_oaep.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_Salsa20.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\__init__.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Cipher
creating build\lib.win-amd64-3.7\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\common.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\loader.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_BLAKE2.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_CMAC.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_HMAC.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_keccak.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_MD2.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_MD4.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_MD5.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_RIPEMD160.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_SHA1.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_SHA224.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_SHA256.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_SHA384.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_SHA3_224.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_SHA3_256.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_SHA3_384.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_SHA3_512.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_SHA512.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_SHAKE.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\__init__.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash
creating build\lib.win-amd64-3.7\Crypto\SelfTest\IO
copying lib\Crypto\SelfTest\IO\test_PBES.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\IO
copying lib\Crypto\SelfTest\IO\test_PKCS8.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\IO
copying lib\Crypto\SelfTest\IO\__init__.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\IO
creating build\lib.win-amd64-3.7\Crypto\SelfTest\Protocol
copying lib\Crypto\SelfTest\Protocol\test_KDF.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Protocol
copying lib\Crypto\SelfTest\Protocol\test_rfc1751.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Protocol
copying lib\Crypto\SelfTest\Protocol\test_SecretSharing.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Protocol
copying lib\Crypto\SelfTest\Protocol\__init__.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Protocol
creating build\lib.win-amd64-3.7\Crypto\SelfTest\PublicKey
copying lib\Crypto\SelfTest\PublicKey\test_DSA.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\PublicKey
copying lib\Crypto\SelfTest\PublicKey\test_ElGamal.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\PublicKey
copying lib\Crypto\SelfTest\PublicKey\test_import_DSA.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\PublicKey
copying lib\Crypto\SelfTest\PublicKey\test_import_RSA.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\PublicKey
copying lib\Crypto\SelfTest\PublicKey\test_RSA.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\PublicKey
copying lib\Crypto\SelfTest\PublicKey\__init__.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\PublicKey
creating build\lib.win-amd64-3.7\Crypto\SelfTest\Random
copying lib\Crypto\SelfTest\Random\test_random.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Random
copying lib\Crypto\SelfTest\Random\__init__.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Random
creating build\lib.win-amd64-3.7\Crypto\SelfTest\Signature
copying lib\Crypto\SelfTest\Signature\nist.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Signature
copying lib\Crypto\SelfTest\Signature\test_dss.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Signature
copying lib\Crypto\SelfTest\Signature\test_pkcs1_15.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Signature
copying lib\Crypto\SelfTest\Signature\test_pss.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Signature
copying lib\Crypto\SelfTest\Signature\__init__.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Signature
creating build\lib.win-amd64-3.7\Crypto\SelfTest\Util
copying lib\Crypto\SelfTest\Util\test_asn1.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Util
copying lib\Crypto\SelfTest\Util\test_Counter.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Util
copying lib\Crypto\SelfTest\Util\test_number.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Util
copying lib\Crypto\SelfTest\Util\test_Padding.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Util
copying lib\Crypto\SelfTest\Util\test_strxor.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Util
copying lib\Crypto\SelfTest\Util\__init__.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Util
creating build\lib.win-amd64-3.7\Crypto\SelfTest\Math
copying lib\Crypto\SelfTest\Math\test_Numbers.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Math
copying lib\Crypto\SelfTest\Math\test_Primality.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Math
copying lib\Crypto\SelfTest\Math\__init__.py -> build\lib.win-amd64-3.7\Crypto\SelfTest\Math
creating build\lib.win-amd64-3.7\Crypto\SelfTest\Hash\test_vectors
creating build\lib.win-amd64-3.7\Crypto\SelfTest\Hash\test_vectors\SHA3
copying lib\Crypto\SelfTest\Hash\test_vectors\SHA3\ShortMsgKAT_SHA3-224.txt -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash\test_vectors\SHA3
copying lib\Crypto\SelfTest\Hash\test_vectors\SHA3\ShortMsgKAT_SHA3-256.txt -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash\test_vectors\SHA3
copying lib\Crypto\SelfTest\Hash\test_vectors\SHA3\ShortMsgKAT_SHA3-384.txt -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash\test_vectors\SHA3
copying lib\Crypto\SelfTest\Hash\test_vectors\SHA3\ShortMsgKAT_SHA3-512.txt -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash\test_vectors\SHA3
copying lib\Crypto\SelfTest\Hash\test_vectors\SHA3\ShortMsgKAT_SHAKE128.txt -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash\test_vectors\SHA3
copying lib\Crypto\SelfTest\Hash\test_vectors\SHA3\ShortMsgKAT_SHAKE256.txt -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash\test_vectors\SHA3
creating build\lib.win-amd64-3.7\Crypto\SelfTest\Hash\test_vectors\keccak
copying lib\Crypto\SelfTest\Hash\test_vectors\keccak\ExtremelyLongMsgKAT_224.txt -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash\test_vectors\keccak
copying lib\Crypto\SelfTest\Hash\test_vectors\keccak\ExtremelyLongMsgKAT_256.txt -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash\test_vectors\keccak
copying lib\Crypto\SelfTest\Hash\test_vectors\keccak\ExtremelyLongMsgKAT_384.txt -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash\test_vectors\keccak
copying lib\Crypto\SelfTest\Hash\test_vectors\keccak\ExtremelyLongMsgKAT_512.txt -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash\test_vectors\keccak
copying lib\Crypto\SelfTest\Hash\test_vectors\keccak\LongMsgKAT_224.txt -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash\test_vectors\keccak
copying lib\Crypto\SelfTest\Hash\test_vectors\keccak\LongMsgKAT_256.txt -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash\test_vectors\keccak
copying lib\Crypto\SelfTest\Hash\test_vectors\keccak\LongMsgKAT_384.txt -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash\test_vectors\keccak
copying lib\Crypto\SelfTest\Hash\test_vectors\keccak\LongMsgKAT_512.txt -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash\test_vectors\keccak
copying lib\Crypto\SelfTest\Hash\test_vectors\keccak\readme.txt -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash\test_vectors\keccak
copying lib\Crypto\SelfTest\Hash\test_vectors\keccak\ShortMsgKAT_224.txt -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash\test_vectors\keccak
copying lib\Crypto\SelfTest\Hash\test_vectors\keccak\ShortMsgKAT_256.txt -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash\test_vectors\keccak
copying lib\Crypto\SelfTest\Hash\test_vectors\keccak\ShortMsgKAT_384.txt -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash\test_vectors\keccak
copying lib\Crypto\SelfTest\Hash\test_vectors\keccak\ShortMsgKAT_512.txt -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash\test_vectors\keccak
creating build\lib.win-amd64-3.7\Crypto\SelfTest\Hash\test_vectors\BLAKE2s
copying lib\Crypto\SelfTest\Hash\test_vectors\BLAKE2s\blake2s-test.txt -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash\test_vectors\BLAKE2s
copying lib\Crypto\SelfTest\Hash\test_vectors\BLAKE2s\tv1.txt -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash\test_vectors\BLAKE2s
copying lib\Crypto\SelfTest\Hash\test_vectors\BLAKE2s\tv2.txt -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash\test_vectors\BLAKE2s
creating build\lib.win-amd64-3.7\Crypto\SelfTest\Hash\test_vectors\BLAKE2b
copying lib\Crypto\SelfTest\Hash\test_vectors\BLAKE2b\blake2b-test.txt -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash\test_vectors\BLAKE2b
copying lib\Crypto\SelfTest\Hash\test_vectors\BLAKE2b\tv1.txt -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash\test_vectors\BLAKE2b
copying lib\Crypto\SelfTest\Hash\test_vectors\BLAKE2b\tv2.txt -> build\lib.win-amd64-3.7\Crypto\SelfTest\Hash\test_vectors\BLAKE2b
creating build\lib.win-amd64-3.7\Crypto\SelfTest\Signature\test_vectors
creating build\lib.win-amd64-3.7\Crypto\SelfTest\Signature\test_vectors\DSA
copying lib\Crypto\SelfTest\Signature\test_vectors\DSA\FIPS_186_3_SigGen.txt -> build\lib.win-amd64-3.7\Crypto\SelfTest\Signature\test_vectors\DSA
copying lib\Crypto\SelfTest\Signature\test_vectors\DSA\FIPS_186_3_SigVer.rsp -> build\lib.win-amd64-3.7\Crypto\SelfTest\Signature\test_vectors\DSA
creating build\lib.win-amd64-3.7\Crypto\SelfTest\Signature\test_vectors\PKCS1-v1.5
copying lib\Crypto\SelfTest\Signature\test_vectors\PKCS1-v1.5\SigGen15_186-2.txt -> build\lib.win-amd64-3.7\Crypto\SelfTest\Signature\test_vectors\PKCS1-v1.5
copying lib\Crypto\SelfTest\Signature\test_vectors\PKCS1-v1.5\SigGen15_186-3.txt -> build\lib.win-amd64-3.7\Crypto\SelfTest\Signature\test_vectors\PKCS1-v1.5
copying lib\Crypto\SelfTest\Signature\test_vectors\PKCS1-v1.5\SigVer15_186-3.rsp -> build\lib.win-amd64-3.7\Crypto\SelfTest\Signature\test_vectors\PKCS1-v1.5
creating build\lib.win-amd64-3.7\Crypto\SelfTest\Signature\test_vectors\PKCS1-PSS
copying lib\Crypto\SelfTest\Signature\test_vectors\PKCS1-PSS\SigGenPSS_186-2.txt -> build\lib.win-amd64-3.7\Crypto\SelfTest\Signature\test_vectors\PKCS1-PSS
copying lib\Crypto\SelfTest\Signature\test_vectors\PKCS1-PSS\SigGenPSS_186-3.txt -> build\lib.win-amd64-3.7\Crypto\SelfTest\Signature\test_vectors\PKCS1-PSS
copying lib\Crypto\SelfTest\Signature\test_vectors\PKCS1-PSS\SigVerPSS_186-3.rsp -> build\lib.win-amd64-3.7\Crypto\SelfTest\Signature\test_vectors\PKCS1-PSS
Skipping optional fixer: buffer
Skipping optional fixer: idioms
Skipping optional fixer: set_literal
Skipping optional fixer: ws_comma
running build_ext
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\...\venv\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\...\\AppData\\Local\\Temp\\pip-install-vg9qpnv9\\pycryptodome_9e8bb9b16aac4d9980f22a903b99a966\\setup.py'"'"'; __file__='"'"'C:\...\\AppData\\Local\\Temp\\pip-install-vg9qpnv9\\pycryptodome_9e8bb9b16aac4d9980f22a903b99a966\\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:\..\AppData\Local\Temp\pip-record-_aaaf9u0\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\...\venv\include\site\python3.7\pycryptodome' Check the logs for full command output.
The binary wheel for pycryptodome 3.3.1 is only available for Python 3.5, which was the most recent at that time.
Your command is failing because pip is trying to compile it from sources, but you need to have MSVC installed for that. Instructions are here:
https://pycryptodome.readthedocs.io/en/latest/src/installation.html#windows-from-sources-python-3-5-and-newer
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.
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