Select to view content in your preferred language

_initagsenv.error: Xvfb: failed initializing arcpy

888
0
08-13-2019 10:18 PM
JasonLi
Emerging Contributor

Hi Team,

I've installed the following on my linux machine(offline installation):

-Anaconda3-5.1.0-Linux-x86_64.sh

-arcgis-server-py3-10.7.0-py36_10450.tar.bz2

When importing arcpy module, get following error:

File "arcpytest.py", line 1, in <module>

    import arcpy

  File "/path-to-conda/anaconda3/lib/python3.6/site-packages/arcpy/__init__.py", line 70, in <module>

    import _initagsenv

_initagsenv.error: Xvfb: failed initializing arcpy. Check if environment was activated correctly.

Can you please advise where could go wrong?

Thank you!

 

Tags (1)
0 Replies