Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. $. /arcgis/server/framework/etc/arcenv
  2. $wine cmd
  3. cd c:\Program Files\ArcGIS\Server\framework\runtime\ArcGIS\bin\Python\Scripts
  4. conda create --clone arcgispro-py3 --prefix "Z:\home\arcgis\bin\Python\envs\test"
  5. proswap Z:\home\arcgis\bin\Python\envs\test
  6. conda install gdalpyarrow

    1. This will install packages under Z:\home\arcgis\bin\Python\envs\test
  7. Run python and test import.

    Code Block
    cZ:\Program Files\ArcGIS\Server\framework\runtime\ArcGIShome\arcgis\bin\Python\envs\arcgispro-py3>pythontest>python
    python
    Python 3.6.8 |Anaconda, Inc.| (default, Feb 21 2019, 18:30:04) [MSC v.1916 64 bit (\
    AMD64)] on win32
    
    Warning:
    This Python interpreter is in a conda environment, but the environment has
    not been activated. Libraries may fail to load.  To activate this environment
    please see https://conda.io/activation
    
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import gdal
    import gdal
    >>> import h5py
    import h5py
    >>> import arcpy
    import arcpy
    >>>pyarrow


Python3 via wine only

  1. $wine ./server/framework/runtime/ArcGIS/bin/Python/envs/arcgispro-py3/python.exe
  2. $wine ./server/framework/runtime/ArcGIS/bin/Python/Scripts/conda.exe

...