![]() ![]() ![]() Hope that helps, and happy to keep digging if this doesn't get you where you need to be. That likely is confusing this arrangement, since the message may be perfectly valid (if there is no arcgis package in that separate "arcgispro-p圓" environment). It looks like you have two environments called "arcgispro-p圓" - the one that ships with Pro, and a second one located in F:\Anaconda\envs. So, do something like: activate "C:\Program Files\ArcGIS\bin\Python\envs\arcgispro-p圓"Ĭonda upgrade - c esri - no - pin arcgis ![]() The other option is, if you don't really care which conda executable you're using, is to specify the full path to the environment you want to modify. Conda is a platform-independent package manager application that can install, update, and remove Python packages. The sections below summarize and outline the commands you need to know to work with the ArcGIS API for Python. Importantly, I want to maintain my Anaconda and Spyder environments as it is and use Python 3.11 independently from this. Could you try removing the Anaconda environment from your path? It is known to cause problems to have multiple Python environments on the PATH, here's what the Anaconda installation says: The easiest way to understand conda is by working through the 30-minute Getting Started tutorial. I am using Anaconda and Spyder, but Anaconda does not yet support Python 3.11 and additionally I regularly have problems with updating in Anaconda. But it clearly is, since all the information you posted from `conda info` is from the Anaconda environment, nothing matches what we ship. It isn't immediately clear to me why it is picking up the conda in your external Anaconda installation, since `where conda` lists the Pro provided one as a priority. (base) PS C:\WINDOWS\system32> conda info ![]() Python: python3.7 python3.7-config python3.7m python3.7m-config python3.9 python3.9-config. Once the installation is done, a new executable will be created for python 3.9 and pip 3.9 will be created. (base) PS C:\WINDOWS\system32> conda update anaconda Instead, you can download the python 3.9 executable and install it. # All requested packages already installed. The same in Anaconda Power Shell: (base) PS C:\WINDOWS\system32> conda update -n base conda Package cache : D:\Program Files\Anaconda\pkgsĬ:\Users\G703\AppData\Local\conda\conda\pkgsĮnvs directories : D:\Program Files\Anaconda\envsĬ:\Users\G703\AppData\Local\conda\conda\envs Populated config files : C:\Users\G703\.condarcīase environment : D:\Program Files\Anaconda (writable) User config file : C:\Users\G703\.condarc Packages in environment at D:\Program Files\Anaconda:Īctive env location : D:\Program Files\Anaconda when I type in the terminal in virtual env python -V I get 3.73 but when I check it in jupyter: from platform import pythonversion print (pythonversion ()) I get 3.6.8. (base) C:\WINDOWS\system32>conda list anaconda$ How to upgrade python to version 3.7+ on jupyter notebook I tried: conda update jupyter conda upgrade notebook. I tied to check conda version again - and got the same old version I have before update The following packages will be downloaded: (base) C:\WINDOWS\system32>conda update -n base condaĬollecting package metadata (current_repodata.json): done (base) C:\WINDOWS\system32> conda -version The following packages will be DOWNGRADED:Įxecuting transaction: \ DEBUG menuinst_win32:_init_(199): Menu: name: 'Anaconda$', prefix: 'D:\Program Files\Anaconda', env_name: 'None', mode: 'system', used_mode: 'system'ĭEBUG menuinst_win32:create(323): Shortcut cmd is "D:\Program Files\Anaconda\python.exe", args are Īnd than I check version again. The following NEW packages will be INSTALLED: The following packages are causing the inconsistency:Įnvironment location: D:\Program Files\Anaconda The environment is inconsistent, please check the package plan carefully So After opening Prompt as Administrator I used commands from conda cheatlist from here: I have updated Anaconda but when I ask version number it the same before updating. The language provides constructs intended to enable clear. Its design philosophy emphasizes code readability, and its syntax allows programmers to express concepts in fewer lines of code than would be possible in languages such as C++ or Java. problem even if I open promt from navigator-Enviroments-base root - open terminal Python is a widely used high-level, general-purpose, interpreted, dynamic programming language. Just tried to update conda via Anaconda Prompt but it is not working.Īfter I managed to open Anaconda Prompt as administrator to mitigate:The current user does not have write permissions to a required path. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |