<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic access ArcPy modules in PyScripter or other Python installation in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/access-arcpy-modules-in-pyscripter-or-other-python/m-p/319426#M24827</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ArcPy users,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just would like to ask how can I use arcpy modules in PyScripter or Python2.7.9? It seems that PyScripter or Pyhton2.7.9 IDE/commandline cannot recognize the modules of arcpy. I want to have an integrated environment where I can use both Python2.7.9 modules and arcpy modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I have done so far:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created PYTHONPATH in system variables and set the following folder path, e.g.&lt;/P&gt;&lt;P&gt;&amp;nbsp; PYTHONPATH =&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;C:\OSGeo4W\apps\Python27;C:\OSGeo4W\apps\qgis\bin;C:\OSGeo4W\apps\qgis\python;C:\Python27\ArcGISx6410.2;C:\Python27\ArcGISx6410.2\Scripts;C:\Python27\Python2.7.9;C:\Python27\Python2.7.9\Scripts;C:\Python27\ArcGISx6410.2\Lib;C:\Python27\ArcGISx6410.2\Lib\site-packages;C:\Python27\ArcGIS10.2\Lib\site-packages;C:\Python27\ArcGIS10.2\Lib&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added C:\Python27\ArcGISx6410.2\Lib;C:\Python27\ArcGISx6410.2\Lib\site-packages in PATH in system variables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I open my Python 2.7.9 (installed separately) and run import arcpy I still got the message:&lt;/P&gt;&lt;P&gt;ImportError: No module named arcpy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Feb 2015 01:49:18 GMT</pubDate>
    <dc:creator>Leo_KrisPalao</dc:creator>
    <dc:date>2015-02-10T01:49:18Z</dc:date>
    <item>
      <title>access ArcPy modules in PyScripter or other Python installation</title>
      <link>https://community.esri.com/t5/python-questions/access-arcpy-modules-in-pyscripter-or-other-python/m-p/319426#M24827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ArcPy users,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just would like to ask how can I use arcpy modules in PyScripter or Python2.7.9? It seems that PyScripter or Pyhton2.7.9 IDE/commandline cannot recognize the modules of arcpy. I want to have an integrated environment where I can use both Python2.7.9 modules and arcpy modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I have done so far:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created PYTHONPATH in system variables and set the following folder path, e.g.&lt;/P&gt;&lt;P&gt;&amp;nbsp; PYTHONPATH =&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;C:\OSGeo4W\apps\Python27;C:\OSGeo4W\apps\qgis\bin;C:\OSGeo4W\apps\qgis\python;C:\Python27\ArcGISx6410.2;C:\Python27\ArcGISx6410.2\Scripts;C:\Python27\Python2.7.9;C:\Python27\Python2.7.9\Scripts;C:\Python27\ArcGISx6410.2\Lib;C:\Python27\ArcGISx6410.2\Lib\site-packages;C:\Python27\ArcGIS10.2\Lib\site-packages;C:\Python27\ArcGIS10.2\Lib&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added C:\Python27\ArcGISx6410.2\Lib;C:\Python27\ArcGISx6410.2\Lib\site-packages in PATH in system variables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I open my Python 2.7.9 (installed separately) and run import arcpy I still got the message:&lt;/P&gt;&lt;P&gt;ImportError: No module named arcpy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 01:49:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/access-arcpy-modules-in-pyscripter-or-other-python/m-p/319426#M24827</guid>
      <dc:creator>Leo_KrisPalao</dc:creator>
      <dc:date>2015-02-10T01:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: access ArcPy modules in PyScripter or other Python installation</title>
      <link>https://community.esri.com/t5/python-questions/access-arcpy-modules-in-pyscripter-or-other-python/m-p/319427#M24828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ArcGIS is quite particular about where python is installed and how.&amp;nbsp; Normally when you install ArcMap, Python is installed appropriately, should wish to have Pyscripter, Pythonwin or other IDEs you install them after and things will be fine.&amp;nbsp; Should you wish to toy with sequence, then you will have to troll on how to correct and/or produce paths so that all the software you use can find python.&amp;nbsp; What I suggest is the simplest, there are others that have tweeked installation paths to use more recent versions of python for whatever purposes.&amp;nbsp; Good luck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 02:23:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/access-arcpy-modules-in-pyscripter-or-other-python/m-p/319427#M24828</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-02-10T02:23:49Z</dc:date>
    </item>
  </channel>
</rss>

