![]() ![]() Anaconda comes with a Python interpreter and a multitude of specialized libraries and tools for data science.įor Windows users who want a Linux environment to work with Python, the Windows Subsystem for Linux (WSL) is another viable option. If data science is your main reason for using Python, consider downloading Anaconda and getting Python through it. You should see the installed Python version on-screen.Type “ python –version” and press “Enter.”.Go to the Downloads page and choose your operating system version (Windows, macOS, or Linux, depending on the library) and click download. ![]() The file Output.You will have to manually set up the Python interpreter on your computer before VS Code can use it. When I run this piece of code with a different python interpreter in Visual Studio Code (e.g.: C:\Users\USER\AppData\Local\Microsoft\WindowsApps\python3.9.exe) But neither file Output.txt nor file File_B.shp cannot be found in C:\_work folderĪrcpy.FeatureClassToFeatureClass_conversion(r"C:\_work\File_A.shp", r"C:\_work", "File_B.shp") arcgisscripting.ExecuteError: ERROR 000258: Output C:\_work\File_B.shp already exists Failed to execute (FeatureClassToFeatureClass).īut there is no file File_B.shp in my folder C:\_work For example:Īrcpy.FeatureClassToFeatureClass_conversion(r"C:\_work\File_A.shp", r"C:\_work", "File_B.shp")Īfter running this realy simple code, I don’t get any errors or warnings. Or C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-p圓\python.exeįiles are not written to disk at all. ![]() I solved the touble by this link:īut now I'm solving another problem - when using conda-based python interpreters:Ĭ:\Users\USER\AppData\Local\ESRI\conda\envs\arcgispro-p圓-clone\python.exe ArcGIS Pro 3.x and Anaconda 3 are installed.įirst, I had a problem with “conda” message – “The term 'conda' is not recognized as the name of a cmdlet, function, script file, or operable program”. I want to write python scripts in Visual Studio Code and use arcpy module. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |