Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conda not installing nbdev properly on WSL2 #430

Closed
hamelsmu opened this issue Feb 20, 2021 · 1 comment
Closed

conda not installing nbdev properly on WSL2 #430

hamelsmu opened this issue Feb 20, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@hamelsmu
Copy link
Contributor

@yunlongYoung reported the following problem in #428:

Looking in indexes: http://mirrors.aliyun.com/pypi/simple/
Collecting nbdev

...

Installing collected packages: nbconvert, nbdev
  Attempting uninstall: nbconvert
    Found existing installation: nbconvert 6.0.7
    Uninstalling nbconvert-6.0.7:
      Successfully uninstalled nbconvert-6.0.7
  Attempting uninstall: nbdev
    Found existing installation: nbdev 0.2.40
    Uninstalling nbdev-0.2.40:
      Successfully uninstalled nbdev-0.2.40
ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.

We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.

spyder 4.1.5 requires pyqt5<5.13; python_version >= "3", which is not installed.
spyder 4.1.5 requires pyqtwebengine<5.13; python_version >= "3", which is not installed.
spyder 4.1.5 requires jedi==0.17.1, but you'll have jedi 0.18.0 which is incompatible.
spyder 4.1.5 requires parso==0.7.0, but you'll have parso 0.8.1 which is incompatible.
Successfully installed nbconvert-6.0.7 nbdev-1.1.12
(base) ➜  young git:(master) ✗ nbdev_build_lib
Converted 00_core.ipynb.
Converted index.ipynb.
(base) ➜  young git:(master) ✗ nbdev_build_docs
converting: /mnt/c/Users/drago/Documents/jupyter/young/00_core.ipynb
converting: /mnt/c/Users/drago/Documents/jupyter/young/index.ipynb
converting /mnt/c/Users/drago/Documents/jupyter/young/index.ipynb to README.md
(base) ➜  young git:(master) ✗

Addtional mention, when I run 'pip3 install nbdev', it not worked on ubuntu20.04 under wsl2. So I install nbdev by install anaconda first, then use 'conda install -c fastai nbdev', it succeed. and then because of default nbdev version is 0.2.40 in conda, an error "'HTMLExporter' object has no attribute 'template_path'" occured. But 'pip3 install -U nbdev' fixed that. All this makes me a little dizzy.

Strongly suggest everyone should run 'pip install -U nbdev' or 'pip3 install -U nbdev' after install nbdev by anaconda, can you kindly metion this in the tutorial or install instruction?

@hamelsmu hamelsmu added the bug Something isn't working label Feb 20, 2021
@hamelsmu hamelsmu changed the title conda not installing the latest version of nbdev conda not installing nbdev properly on WSL2 Feb 20, 2021
@hamelsmu
Copy link
Contributor Author

I'll close this in favor of #431

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant