I have found the following two sites explaining how to setup Python Virtualenv for ArcGIS:
- ArcGIS and Virtual Environments part 1: ; ArcGIS and Virtual Environments part 2:
- Calling arcpy from an external virtual Python environment:
I've successfully created a virtual environment under my external drive:
- E:\Python\Venv\ArcPy64bit
![cmd_virtualenv.png](https://community.esri.com/legacyfs/online/201723_cmd_virtualenv.png)
When I followed the second part of ArcGIS and Virtual Environments part 2: as well as Calling arcpy from an external virtual Python environment: to create the Python Path file to the ArcPy and my ArcHydroTools is where the comes apart.
As instructed I ran the following within my Python IDLE:
import sys
sys.path
![idle_sys_path.png](https://community.esri.com/legacyfs/online/201724_idle_sys_path.png)
I then created the Python Path file from the list above:
![Python_Path_File.png](https://community.esri.com/legacyfs/online/201749_Python_Path_File.png)
I copied the path file (arcpy64bit_paths.pth) under the following directory:
- E:\Python\Venv\ArcPy64bit\Lib\site-packages
![Python_Path_File_Directory.png](https://community.esri.com/legacyfs/online/201750_Python_Path_File_Directory.png)
When I setup the Python Interpreter using the virtualenv within Eclipse the following paths are recognised:
![Virtualenv_Python_Paths.png](https://community.esri.com/legacyfs/online/201751_Virtualenv_Python_Paths.png)
ArcPy and ArcHydroTools not recognised:
![Arcpy_ArcHydroTools_Not_Recognised.png](https://community.esri.com/legacyfs/online/201752_Arcpy_ArcHydroTools_Not_Recognised.png)
When I setup the Python Interpreter using the ArcGIS Python within Eclipse the following paths are recognised:
![ArcGIS_Python_Paths.png](https://community.esri.com/legacyfs/online/201753_ArcGIS_Python_Paths.png)
ArcPy and ArcHydroTools are recognised:
![ArcPy_ArcHydroTools_Recognised.png](https://community.esri.com/legacyfs/online/201755_ArcPy_ArcHydroTools_Recognised.png)
Any help to resolve the following will be appreciated, as I really need to use virtualenv to manage my Python Environment due to different versions of packages required.