Closed greg-amato closed 6 years ago
Can you provide the output from conda list
in the environment which is causing issues?
One option is to install the packages which are defined by the last anaconda release using conda install anaconda=5.0.1
. This set of packages has been tested and is known to work well together.
(root) C:\Users\grega>conda list
#
_license 1.1 py35_1
_nb_ext_conf 0.4.0 py35_1
alabaster 0.7.10 py35h3a808de_0
anaconda custom py35h64770cb_0
anaconda-client 1.6.6 py35h690133a_0
anaconda-navigator 1.6.9 py35hfe15c67_0
anaconda-project 0.8.2 py35h06aeb26_0
anyqt 0.0.8 py35_0
argcomplete 1.0.0 py35_1
asn1crypto 0.23.0 py35h65de013_0
astroid 1.5.3 py35h82ecf54_0
astropy 2.0.2 py35h6e1a5eb_4
attrs 17.3.0 py35hdfbe3a1_0
babel 2.5.0 py35hcd66c26_0
backports 1.0 py35he88aa47_1
backports.shutil_get_terminal_size 1.0.0 py35h9d89c8b_2
beautifulsoup4 4.6.0 py35h61fcdcc_1
bitarray 0.8.1 py35ha601307_0
bkcharts 0.2 py35h4704c85_0
blaze 0.11.3 py35hae12140_0
bleach 2.1.1 py35h73b2768_0
bokeh 0.12.11 py35h969371a_0
boto 2.48.0 py35ha0bef00_1
bottleneck 1.2.1 py35h8a3671c_0
bzip2 1.0.6 haa5b126_2
ca-certificates 2017.08.26 h94faf87_0
cachecontrol 0.12.3 py35h3f82863_0
certifi 2017.11.5 py35h456c6ae_0
certifi 2017.11.5
More dependency errors trying in install 5.0.1
(root) C:\Users\grega>conda install anaconda=5.0.1 Fetching package metadata ............. Solving package specifications: .
UnsatisfiableError: The following specifications were found to be in conflict:
Constantly having conflicts and downgrades since 3 weeks for networkx and scikit-image. Now jedi and parso came into play as well.
My anaconda version shows as custom
and I can't force an install of 5.0.1:
Current conda install:
platform : linux-64
conda version : 4.3.30
conda is private : False
conda-env version : 4.3.30
conda-build version : 3.1.0
python version : 3.6.3.final.0
requests version : 2.18.4
root environment : /caglayan/anaconda3 (writable)
default environment : /caglayan/anaconda3
envs directories : /caglayan/anaconda3/envs
/caglayan/.conda/envs
package cache : /caglayan/anaconda3/pkgs
/caglayan/.conda/pkgs
channel URLs : https://repo.continuum.io/pkgs/main/linux-64
https://repo.continuum.io/pkgs/main/noarch
https://repo.continuum.io/pkgs/free/linux-64
https://repo.continuum.io/pkgs/free/noarch
https://repo.continuum.io/pkgs/r/linux-64
https://repo.continuum.io/pkgs/r/noarch
https://repo.continuum.io/pkgs/pro/linux-64
https://repo.continuum.io/pkgs/pro/noarch
Fetching package metadata ...........
Solving package specifications: .
UnsatisfiableError: The following specifications were found to be in conflict:
- anaconda 5.0.1*
- flake8
- python 3.6*
Use "conda info <package>" to see the dependencies for each package.
@ozancaglayan thanks for adding. scope of issues look related... those 4 modules are in disagreement for me (scikit, parso, jedi, networkx).
Interesting that i'm getting "AttributeError: module 'sphinx' has no attribute 'version'" when it's clearly defined reviewing the library.
I dont have any problem with notebooks or whatsoever but this downgrade and conflict thing is happening since some weeks for me.
The parso
and jedi
multiple resolution should be fixed now and we are working on a fix for the scikit-image
/networkx
multiple resolution issue.
Briefly, the latest release of scikit-image
requires networkx
be to strictly less than version 2.0. Previous releases of scikit-image
did not limit the networkx
requirement (but should have). Given this, the solver in conda is not sure if it should install the latest version of networkx
, which is above 2.0, and an older version of scikit-image
, or the latest version of scikit-image
and an older release of networkx
@greg-amato I believe the multiple resolution issue was not directly related to the inability to run jupyter notebook
. Are you still having issues. If so you might try reinstalling sphinx using conda install --force sphinx
. Alternatively you could create a separate conda environment using conda create -n notebook python=3.6 notebook
form which you could launch a Notebook.
Updating the root environment to anaconda 5.0.1 may be tricky as you have Python 3.5 installed and 5.0.1 requires Python 3.6. Removing Anaconda entirely and reinstalled the latest version should work if this acceptable
Thanks @jjhelmus. Pointing out not being on python 3.6 helped. Not sure why that hadn't updated since becoming the default versions. I was able to follow this article to get python 3.6 and on anaconda 5.0.1 https://support.anaconda.com/customer/en/portal/articles/2797011-updating-anaconda-to-python-3-6 This was able to resolve the issue.
Tried rolling back to previous anaconda version to no effect. Notebook will not launch on root env. At a loss where to go from here...
Traceback (most recent call last): File "C:\Users\grega\Anaconda3\Scripts\jupyter-notebook-script.py", line 10, in sys.exit(main()) File "C:\Users\grega\Anaconda3\lib\site-packages\jupyter_core\application.py", line 266, in launch_instance return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs) File "C:\Users\grega\Anaconda3\lib\site-packages\traitlets\config\application.py", line 657, in launch_instance app.initialize(argv) File "", line 2, in initialize File "C:\Users\grega\Anaconda3\lib\site-packages\traitlets\config\application.py", line 87, in catch_config_error return method(app, *args, **kwargs) File "C:\Users\grega\Anaconda3\lib\site-packages\notebook\notebookapp.py", line 1368, in initialize self.init_webapp() File "C:\Users\grega\Anaconda3\lib\site-packages\notebook\notebookapp.py", line 1161, in init_webapp self.jinja_environment_options File "C:\Users\grega\Anaconda3\lib\site-packages\notebook\notebookapp.py", line 154, in __init__ base_url, default_url, settings_overrides, jinja_env_options) File "C:\Users\grega\Anaconda3\lib\site-packages\notebook\notebookapp.py", line 263, in init_settings nbextensions_path=jupyter_app.nbextensions_path, File "C:\Users\grega\Anaconda3\lib\site-packages\notebook\notebookapp.py", line 874, in nbextensions_path from IPython.paths import get_ipython_dir File "C:\Users\grega\Anaconda3\lib\site-packages\IPython\__init__.py", line 55, in from .terminal.embed import embed File "C:\Users\grega\Anaconda3\lib\site-packages\IPython\terminal\embed.py", line 16, in from IPython.terminal.interactiveshell import TerminalInteractiveShell File "C:\Users\grega\Anaconda3\lib\site-packages\IPython\terminal\interactiveshell.py", line 32, in from .debugger import TerminalPdb, Pdb File "C:\Users\grega\Anaconda3\lib\site-packages\IPython\terminal\debugger.py", line 6, in from IPython.core.completer import IPCompleter File "C:\Users\grega\Anaconda3\lib\site-packages\IPython\core\completer.py", line 146, in import jedi File "C:\Users\grega\Anaconda3\lib\site-packages\jedi\__init__.py", line 41, in from jedi.api import Script, Interpreter, NotFoundError, set_debug_function File "C:\Users\grega\Anaconda3\lib\site-packages\jedi\api\__init__.py", line 23, in from jedi.api import classes File "C:\Users\grega\Anaconda3\lib\site-packages\jedi\api\classes.py", line 14, in from jedi.evaluate import representation as er File "C:\Users\grega\Anaconda3\lib\site-packages\jedi\evaluate\__init__.py", line 69, in from jedi.evaluate import representation as er File "C:\Users\grega\Anaconda3\lib\site-packages\jedi\evaluate\representation.py", line 52, in from jedi.evaluate import docstrings File "C:\Users\grega\Anaconda3\lib\site-packages\jedi\evaluate\docstrings.py", line 46, in from numpydoc.docscrape import NumpyDocString File "C:\Users\grega\Anaconda3\lib\site-packages\numpydoc\__init__.py", line 5, in from .numpydoc import setup File "C:\Users\grega\Anaconda3\lib\site-packages\numpydoc\numpydoc.py", line 28, in if sphinx.__version__ AttributeError: module 'sphinx' has no attribute '__version__'
Also looks like jedi and parso are show 4 resolutions.
C:\Users\grega>conda update --all Fetching package metadata ............. Solving package specifications: . Warning: 4 possible package resolutions (only showing differing packages):
Package plan for installation in environment C:\Users\grega\Anaconda3:
The following packages will be UPDATED:
The following packages will be DOWNGRADED:
Proceed ([y]/n)? n
If I run update again it gives the reverse resolution!