Closed SenileFelineS closed 5 years ago
You have a very old version of conda and a very old version of Navigator. The latest version of Navigator is 1.9.7 - the version you have is v1.6.4. I'd recommend you update conda and then update Navigator.
In a terminal:
conda update conda conda update anaconda-navigator conda update navigator-updater
I believe that I already tried that, but I was having issues with Anaconda-Navigator and Spyder even functioning then. I'll give it a second try and report back. (my system is Mac OS X 10.7 Lion).
I ran the follow with the resulting output. Spyder works, but Anaconda-Navigator doesn't, as before.
$ conda update conda && conda update anaconda-navigator && conda update navigatory-updater
Running it a second time directly after the first time I have the following:
$ conda update conda && conda update anaconda-navigator && conda update navigatory-updater
The errors you are getting is that your environment is inconsistent - in other words, the constraints of all the packages in the environment are not being met. You may want to remove the anaconda metapackage and see if that improves your ability to update. You did not provide the latest output of conda info and conda list - but based on the error you have Anaconda pinned to v4.2.0 which is an old version that definitely does not have the latest version of Navigator in it. Also, you have a typo - it is navigator-updater not navigatory-updater.
I've attempted it again this time with the typo fixed.
$ conda update conda && conda update anaconda-navigator && conda update navigator-updater
Running:
$ conda info
Running:
$ conda list
I only really use Anaconda for Spyder. I also have Macports installed on my computer. Could that be contributing to the issue?
Your operating system is too old. You need MACOS 10.9 or above. Sorry.
On Sat, Apr 27, 2019, 12:20 AM SenileFelineS notifications@github.com wrote:
I've attempted it again this time with the typo fixed. $ conda update conda && conda update anaconda-navigator && conda update navigator-updater Terminal Output
/Users/User1/anaconda2/lib/python2.7/site-packages/cryptography/hazmat/primitives/constant_time.py:26: CryptographyDeprecationWarning: Support for your Python version is deprecated. The next version of cryptography will remove support. Please upgrade to a 2.7.x release that supports hmac.compare_digest as soon as possible. utils.PersistentlyDeprecated2018, Collecting package metadata: done Solving environment: | The environment is inconsistent, please check the package plan carefully The following packages are causing the inconsistency:
- defaults/osx-64::scikit-learn==0.17.1=np111py27_2
- defaults/osx-64::h5py==2.6.0=np111py27_2
- defaults/osx-64::patsy==0.4.1=py27_0
- defaults/osx-64::bokeh==0.12.2=py27_0
- defaults/osx-64::astropy==1.2.1=np111py27_0
- defaults/osx-64::conda-build==2.0.2=py27_0
- defaults/osx-64::cytoolz==0.8.0=py27_0
- defaults/osx-64::datashape==0.5.2=py27_0
- defaults/osx-64::numpy==1.11.1=py27_0
- defaults/osx-64::numexpr==2.6.1=np111py27_0
- defaults/osx-64::scipy==0.18.1=np111py27_0
- defaults/osx-64::dynd-python==0.7.2=py27_0
- defaults/osx-64::pytables==3.2.3.1=np111py27_0
- defaults/osx-64::blaze==0.10.1=py27_0
- defaults/osx-64::anaconda==4.2.0=np111py27_0
- defaults/osx-64::odo==0.5.0=py27_1
- defaults/osx-64::dask==0.11.0=py27_0
- defaults/osx-64::statsmodels==0.6.1=np111py27_1
- defaults/osx-64::matplotlib==1.5.3=np111py27_0
- defaults/osx-64::numba==0.28.1=np111py27_0
- defaults/osx-64::scikit-image==0.12.3=np111py27_1
- defaults/osx-64::pandas==0.18.1=np111py27_0
- defaults/osx-64::bottleneck==1.1.0=np111py27_0 done
All requested packages already installed.
/Users/User1/anaconda2/lib/python2.7/site-packages/cryptography/hazmat/primitives/constant_time.py:26: CryptographyDeprecationWarning: Support for your Python version is deprecated. The next version of cryptography will remove support. Please upgrade to a 2.7.x release that supports hmac.compare_digest as soon as possible. utils.PersistentlyDeprecated2018, Collecting package metadata: done Solving environment: / The environment is inconsistent, please check the package plan carefully The following packages are causing the inconsistency:
- defaults/osx-64::scikit-learn==0.17.1=np111py27_2
- defaults/osx-64::h5py==2.6.0=np111py27_2
- defaults/osx-64::patsy==0.4.1=py27_0
- defaults/osx-64::bokeh==0.12.2=py27_0
- defaults/osx-64::astropy==1.2.1=np111py27_0
- defaults/osx-64::conda-build==2.0.2=py27_0
- defaults/osx-64::cytoolz==0.8.0=py27_0
- defaults/osx-64::datashape==0.5.2=py27_0
- defaults/osx-64::numpy==1.11.1=py27_0
- defaults/osx-64::numexpr==2.6.1=np111py27_0
- defaults/osx-64::scipy==0.18.1=np111py27_0
- defaults/osx-64::dynd-python==0.7.2=py27_0
- defaults/osx-64::pytables==3.2.3.1=np111py27_0
- defaults/osx-64::blaze==0.10.1=py27_0
- defaults/osx-64::anaconda==4.2.0=np111py27_0
- defaults/osx-64::odo==0.5.0=py27_1
- defaults/osx-64::dask==0.11.0=py27_0
- defaults/osx-64::statsmodels==0.6.1=np111py27_1
- defaults/osx-64::matplotlib==1.5.3=np111py27_0
- defaults/osx-64::numba==0.28.1=np111py27_0
- defaults/osx-64::scikit-image==0.12.3=np111py27_1
- defaults/osx-64::pandas==0.18.1=np111py27_0
- defaults/osx-64::bottleneck==1.1.0=np111py27_0 done
All requested packages already installed.
/Users/User1/anaconda2/lib/python2.7/site-packages/cryptography/hazmat/primitives/constant_time.py:26: CryptographyDeprecationWarning: Support for your Python version is deprecated. The next version of cryptography will remove support. Please upgrade to a 2.7.x release that supports hmac.compare_digest as soon as possible. utils.PersistentlyDeprecated2018,
PackageNotInstalledError: Package is not installed in prefix. prefix: /Users/User1/anaconda2 package name: navigator-updater
Running: $ conda info Terminal Output
/Users/User1/anaconda2/lib/python2.7/site-packages/cryptography/hazmat/primitives/constant_time.py:26: CryptographyDeprecationWarning: Support for your Python version is deprecated. The next version of cryptography will remove support. Please upgrade to a 2.7.x release that supports hmac.compare_digest as soon as possible. utils.PersistentlyDeprecated2018,
active environment : None user config file : /Users/User1/.condarc
populated config files : /Users/User1/.condarc conda version : 4.6.14 conda-build version : 2.0.2 python version : 2.7.6.final.0 base environment : /Users/User1/anaconda2 (writable) channel URLs : https://repo.anaconda.com/pkgs/main/osx-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/free/osx-64 https://repo.anaconda.com/pkgs/free/noarch https://repo.anaconda.com/pkgs/r/osx-64 https://repo.anaconda.com/pkgs/r/noarch package cache : /Users/User1/anaconda2/pkgs /Users/User1/.conda/pkgs envs directories : /Users/User1/anaconda2/envs /Users/User1/.conda/envs platform : osx-64 user-agent : conda/4.6.14 requests/2.21.0 CPython/2.7.6 Darwin/11.4.2 OSX/10.7.5 UID:GID : 501:20 netrc file : None offline mode : False
Running:
$ conda list
***Terminal Output***
packages in environment at /Users/User1/anaconda2: Name Version Build Channel _license 1.1 py27_1 _nb_ext_conf 0.3.0 py27_0 alabaster 0.7.9 py27_0 anaconda 4.2.0 np111py27_0 anaconda-clean 1.0.0 py27_0 anaconda-client 1.7.2 py27_0 anaconda-navigator 1.9.7 py27_0 appnope 0.1.0 py27_0 appscript 1.0.1 py27_0 argcomplete 1.0.0 py27_1 asn1crypto 0.24.0 py27_0 astroid 1.4.7 py27_0 astropy 1.2.1 np111py27_0 babel 2.3.4 py27_0 backports 1.0 py27_0 backports_abc 0.4 py27_0 beautifulsoup4 4.5.1 py27_0 bitarray 0.8.1 pypi_0 pypi blaze 0.10.1 py27_0 bokeh 0.12.2 py27_0 boto 2.42.0 py27_0 bottleneck 1.1.0 np111py27_0 ca-certificates 2019.1.23 0 cdecimal 2.3 py27_2 certifi 2019.3.9 py27_0 cffi 1.7.0 py27_0 chardet 3.0.4 py27_0 chest 0.2.3 py27_0 click 6.6 py27_0 cloudpickle 0.2.1 py27_0 clyent 1.2.2 py27_0 colorama 0.3.7 py27_0 conda 4.6.14 py27_0 conda-build 2.0.2 py27_0 conda-env 2.6.0 1 configobj 5.0.6 py27_0 configparser 3.5.0 py27_0 contextlib2 0.5.3 py27_0 cryptography 2.6.1 py27ha12b0ac_0 curl 7.30.0 2 cycler 0.10.0 py27_0 cython 0.24.1 py27_0 cytoolz 0.8.0 py27_0 dask 0.11.0 py27_0 datashape 0.5.2 py27_0 decorator 4.0.10 py27_0 dill 0.2.5 py27_0 docutils 0.12 py27_2 dynd-python 0.7.2 py27_0 entrypoints 0.2.2 py27_0 enum34 1.1.6 py27_0 et_xmlfile 1.0.1 py27_0 fastcache 1.0.2 py27_1 filelock 2.0.6 py27_0 flask 0.11.1 py27_0 flask-cors 2.1.2 py27_0 freetype 2.5.5 1 funcsigs 1.0.2 py27_0 functools32 3.2.3.2 py27_0 futures 3.0.5 py27_0 get_terminal_size 1.0.0 py27_0 gevent 1.1.2 py27_0 greenlet 0.4.10 py27_0 grin 1.2.1 py27_3 h5py 2.6.0 np111py27_2 hdf5 1.8.17 1 heapdict 1.0.0 py27_1 icu 54.1 0 idna 2.8 py27_0 imagesize 0.7.1 py27_0 ipaddress 1.0.16 py27_0 ipykernel 4.10.0 py27_0 ipython 5.1.0 py27_0 ipython_genutils 0.1.0 py27_0 ipywidgets 5.2.2 py27_0 itsdangerous 0.24 py27_0 jbig 2.1 0 jdcal 1.2 py27_1 jedi 0.9.0 py27_1 jinja2 2.8 py27_1 jpeg 8d 2 jsonschema 2.5.1 py27_0 jupyter 1.0.0 py27_3 jupyter_client 5.2.4 py27_0 jupyter_console 5.0.0 py27_0 jupyter_core 4.2.0 py27_0 keyring 18.0.0 py27_0 lazy-object-proxy 1.2.1 py27_0 libcxx 4.0.1 hcfea43d_1 libcxxabi 4.0.1 hcfea43d_1 libdynd 0.7.2 0 libpng 1.6.22 0 libsodium 1.0.16 h3efe00b_0 libtiff 4.0.6 2 libxml2 2.9.2 0 libxslt 1.1.28 2 llvmlite 0.13.0 py27_0 locket 0.2.0 py27_1 lxml 3.6.4 py27_0 markupsafe 0.23 py27_2 matplotlib 1.5.3 np111py27_0 mistune 0.7.3 py27_1 mkl 11.3.3 0 mkl-service 1.1.2 py27_2 mpmath 0.19 py27_1 multipledispatch 0.4.8 py27_0 nb_anacondacloud 1.2.0 py27_0 nb_conda 2.0.0 py27_0 nb_conda_kernels 2.0.0 py27_0 nbconvert 4.2.0 py27_0 nbformat 4.1.0 py27_0 nbpresent 3.0.2 py27_0 networkx 1.11 py27_0 nltk 3.2.1 py27_0 nose 1.3.7 py27_1 notebook 5.0.0 py27h5f5981d_2 numba 0.28.1 np111py27_0 numexpr 2.6.1 np111py27_0 numpy 1.11.1 py27_0 numpydoc 0.7.0 py27_0 odo 0.5.0 py27_1 openpyxl 2.3.2 py27_0 openssl 1.1.1b h1de35cc_1 pandas 0.18.1 np111py27_0 partd 0.3.6 py27_0 path.py 8.2.1 py27_0 pathlib2 2.1.0 py27_0 patsy 0.4.1 py27_0 pep8 1.7.0 py27_0 pexpect 4.0.1 py27_0 pickleshare 0.7.4 py27_0 pillow 3.3.1 py27_0 pip 8.1.2 py27_0 pkginfo 1.3.2 py27_0 ply 3.9 py27_0 prompt_toolkit 1.0.3 py27_0 psutil 4.3.1 py27_0 ptyprocess 0.5.1 py27_0 py 1.4.31 py27_0 pyasn1 0.1.9 py27_0 pyaudio 0.2.7 pypi_0 pypi pycodestyle 2.3.1 py27_0 pycosat 0.6.3 py27h1de35cc_0 pycparser 2.14 py27_1 pycrypto 2.6.1 py27_4 pycurl 7.19.5 py27_0 pyflakes 1.3.0 py27_0 pygments 2.1.3 py27_0 pylint 1.5.4 py27_1 pyopenssl 16.2.0 py27_0 pyparsing 2.1.4 py27_0 pyqt 5.6.0 py27_0 pysocks 1.6.8 py27_0 pytables 3.2.3.1 np111py27_0 pytest 2.9.2 py27_0 python 2.7.6 0 python-dateutil 2.5.3 py27_0 python.app 1.2 py27_4 pytz 2016.6.1 py27_0 pyyaml 3.12 py27_0 pyzmq 18.0.0 py27h0a44026_0 qt 5.6.0 0 qtawesome 0.5.7 py27_1 qtconsole 4.3.1 py27hdc90b4f_0 qtpy 1.7.0 py27_1 readline 6.2 2 redis 3.2.0 0 redis-py 2.10.5 py27_0 requests 2.21.0 py27_0 rope 0.14.0 py_0 ruamel_yaml 0.11.14 py27_0 scikit-image 0.12.3 np111py27_1 scikit-learn 0.17.1 np111py27_2 scipy 0.18.1 np111py27_0 setuptools 40.8.0 py27_0 simplegeneric 0.8.1 py27_1 singledispatch 3.4.0.3 py27_0 sip 4.18 py27_0 six 1.10.0 py27_0 snowballstemmer 1.2.1 py27_0 sockjs-tornado 1.0.3 py27_0 sphinx 1.4.6 pypi_0 pypi spyder 3.3.2 py27_0 spyder-kernels 0.4.4 py27_0 sqlalchemy 1.0.13 py27_0 sqlite 3.13.0 0 ssl_match_hostname 3.4.0.2 py27_1 statsmodels 0.6.1 np111py27_1 sympy 1.0 py27_0 terminado 0.6 py27_0 tk 8.5.18 0 toolz 0.8.0 py27_0 tornado 4.4.1 py27_0 tqdm 4.15.0 py27_0 traitlets 4.3.0 py27_0 unicodecsv 0.14.1 py27_0 urllib3 1.24.1 py27_0 wcwidth 0.1.7 py27_0 werkzeug 0.11.11 py27_0 wheel 0.29.0 py27_0 widgetsnbextension 1.2.6 py27_0 wrapt 1.10.6 py27_0 wurlitzer 1.0.2 py27_0 xlrd 1.0.0 py27_0 xlsxwriter 0.9.3 py27_0 xlwings 0.10.0 py27_0 xlwt 1.1.2 py27_0 xz 5.2.2 0 yaml 0.1.6 0 zeromq 4.3.1 h0a44026_3 zlib 1.2.8 3I only really use Anaconda for Spyder. I also have Macports installed on my computer. Could that be contributing to the issue?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ContinuumIO/anaconda-issues/issues/10815#issuecomment-487229663, or mute the thread https://github.com/notifications/unsubscribe-auth/AAH6S5BCHYCJTFXG4T3J5D3PSOE3PANCNFSM4HEXTI7Q .
@csoja Is the only possible way to remedy the inconsistencies between my packages by deleting the anaconda metapackage? How do I do that? I apologize, I'm not familiar with the workings of anaconda.
@mingwandroid Is this just a policy of the Anaconda project? Or can you infer this from the specific error that I'm getting?
Also, it's worth mentioning that after upgrading, I can run anaconda-navigator
in my terminal to bring up the navigator. However, the Anaconda-Navigator.app does not work. Yet, when I run the shell script contained within Anaconda-Navigator.app, it has the same behavior as running anaconda-navigator
.
Oh, I did not notice your OS was that old. Most of the newer packages will not work on your machine. Good catch @mingwandroid Unfortunately, the newest packages you can use are those in Anaconda 4.2. You should not update beyond that release - as those newer packages are not compatible with your OS. Please disregard my earlier advice. You'll need to downgrade anaconda-navigator (and likely conda as well) to the version included in Anaconda 4.2. Also, if you want to install additional packages - it would be best to use the versions specified in the package list for Anaconda 4.2: https://docs.anaconda.com/anaconda/packages/old-pkg-lists/4.2.0/py27/
Is this just a policy of the Anaconda project?
New versions of operating systems add news features that software takes advantage of. We cannot provide such software for old OSes because it requires us to modify the software to remove the use of the new feature. A good example of this is the touchbar on new mbps.
Once we start changing software so radically we are in dangerous territory technically (we didn't author the software so don't have as much knowledge about it as would be ideal for making such modifications), morally wet upstream developers (we've changed their software but we still call it the same thing, this will violate expectations) and morally wrt our users (it could be argued that people should not provide software that runs on unmaintained OSes because providing it removes one good reason for updating and not updating leaves systems insecure).
10.7 was released a very long time ago.
So, if I'm understanding this correctly, Anaconda doesn't dictate what version I use on my older operating system. However, it's up to the user to take the risk and responsibility of upgrading to newer versions of Anaconda products, where things may not work well. Does this also apply to justconda
?
We support macOS 10.10 and above only for all of our software. Some things will work on earlier versions but only until we get round to rebuilding them!
We do hope to record the minimum os version supported with each package in the future. This will allow conda to limit how much updating it does in old OSes. Still that's no use at present.
So I think then that it is worth mentioning what does and does not work on my Anaconda installation.
I am able to launch the Anaconda Navigator using the command line ($ anaconda navigator
). However, the pre-built "Anaconda-Navigator.app" does not work. It's worth noting that if I use the run.sh file inside the application's contents, it launches the navigator as if I had launched it from the command line (as described above).
In attempting to run Spyder or a Jupyter Notebook, even when downgraded to their lowest available versions (via the anaconda navigator), I receive the same type of error:
/Users/User1/anaconda2/lib/python2.7/site-packages/cryptography/hazmat/primitives/constant_time.py:26: CryptographyDeprecationWarning: Support for your Python version is deprecated. The next version of cryptography will remove support. Please upgrade to a 2.7.x release that supports hmac.compare_digest as soon as possible.
utils.PersistentlyDeprecated2018,
ImportError: dlopen(/Users/User1/anaconda2/lib/python2.7/site-packages/zmq/backend/cython/error.so, 2): Symbol not found: _memset_s
Referenced from: /Users/User1/anaconda2/lib/libsodium.23.dylib
Expected in: /usr/lib/libSystem.B.dylib
in /Users/User1/anaconda2/lib/libsodium.23.dylib
The issue appears to be with zmq, or libsodium, or both? And libsodium deals with encryption - could that be related to the warning for the Python version being deprecated?
Actual Behavior
I recently updated the Anaconda-Navigator after installing Anaconda2 4.2. The navigator doesn't work - it spends a long time trying to open, and then closes. When I run the actual script
source "/Users/user1/anaconda2"/bin/activate root && "/Users/user1/anaconda2"/bin/anaconda-navigator $@
I get the error:string indices must be integers, not str
Expected Behavior
Anaconda-Navigator should open without issue.
Steps to Reproduce
Install
Anaconda2-4.2.0-MacOSX-x86_64.*extension*
from https://repo.anaconda.com/archive/ on macOS 10.7 (Lion)Open Anaconda-Navigator and click the top right "i" icon to update the navigator.
After updating, try to open the application Anaconda-Navigator from the shell script located in
~/anaconda2/Anaconda-Navigator.app/Contents/MacOS/run.sh
. Manually running the following code in run.sh:source "/Users/user1/anaconda2"/bin/activate root && "/Users/user1/anaconda2"/bin/anaconda-navigator $@
as a one liner will produce the error.Anaconda or Miniconda version:
Anaconda2 - 4.2
Operating System: macOS 10.7 Lion
conda info
conda list --show-channel-urls