Tutorial files down't download when following instruction on tutorial guide
See original GitHub issueThis is probably not a bug in holoviz itself, but the instructions for installing the tutorial aren’t working.
I am trying to install the tutorial files. I normally use python 3.10 or 3.11 depending on package availability, but I wante to try the tutorial so I followed the instructions here: https://holoviz.org/tutorial/Setup.html These two commands worked fine:
conda create -n project "anaconda-project>=0.11"
conda activate project
Then I try to get the tutorial files:
anaconda-project.exe download pyviz/holoviz_tutorial
and it fails (full error message below)
Is there a direct link to download the files?
ALL software version info
Windows11. Powershell
python 3.6.15 (! - that’s what conda create - project
downloaded and setup)
Description of expected behavior and the observed behavior
Expected tutorial files to be downloaded. That didn’t happen.
Complete, minimal, self-contained example code that reproduces the issue
(In powershell, I issue this command, per tutorial
anaconda-project.exe download pyviz/holoviz_tutorial
Stack traceback and/or browser JavaScript console output
C:\Users\junea\miniconda3\envs\project\lib\site-packages\binstar_client\utils\config.py:186: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
data = yaml.load(fd)
Using Anaconda API: https://api.anaconda.org
C:\Users\junea\miniconda3\envs\project\lib\site-packages\requests\packages\urllib3\connectionpool.py:843: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
C:\Users\junea\miniconda3\envs\project\lib\site-packages\requests\packages\urllib3\connectionpool.py:843: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
C:\Users\junea\miniconda3\envs\project\lib\site-packages\requests\packages\urllib3\connectionpool.py:843: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
An unexpected error occurred, most likely a bug in anaconda-project.
(The error was: AttributeError: __enter__)
Details about the error were saved to C:\Users\junea\AppData\Local\Temp\bug_details_anaconda-project_2022-11-18_018g8gml.txt
Screenshots or screencasts of the bug in action
Issue Analytics
- State:
- Created 10 months ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Basic Computer Skills: Downloading and Uploading
You can upload and download files online. Get help uploading online and downloading online in this free lesson.
Read more >What is Upload and Download - How to on Chrome - YouTube
This tutorial shows you how to download and upload a file using Google Chrome. It also shows you where your Downloads folder is,...
Read more >The Ultimate Guide to Easily Make Instructional Videos
Make your own instructional videos today! Download Camtasia and FREE templates to quickly and easily make your own tutorial and training videos. Download....
Read more >How to use Google Drive: Everything you need to know How To
Don't know how to use Google Drive? Here's a short guide on how to upload and download files, use the offline mode, and...
Read more >Tutorial: Import Data into Excel, and Create a Data Model
In these tutorials you learn how to import and explore data in Excel, ... Click the following links to download files we use...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok thanks for that again, that confirms that you can reproduce the issue and that you indeed get Python 3.6 installed when you run the command to create the project environment.
Another thing I’d like to ask you is to run
conda config --show-sources
from your base environment. It should display your.condarc
configuration which may indeed affect what gets installed. Once you’ve reported that, I’ll take all that information with me and ask internally (I’m working at Anaconda) how to debug that.For what it’s worth, on my machine running on MacOS I cannot reproduce the issue, I get Python 3.10 installed and
anaconda-project download pyviz/holoviz_tutorial
runs without any issue.and same in the project environment (probably it is always the same? … but just in case):
FWIW - I also have a 2012 MacBookPro and I can’t get 3.10 to run at all. Oh well.
Is there any other way to download the tutorial files in the meantime?