We have noticed few common issues for users working on Win VM. Hopefully this list will help new users having similar problems.
Access to data from Windows machine:
The data is ahared through the Linux VM. You do not need to work on Linux, just copy the data out of it. Please see this post on how to copy data so it is available to Windows VM as well: Not able to get starter notebook
Please read the workspace homepage (README) on details where to find the shared drive
Installing packages using pip in Jupyter Notebook fails:
This may be due to proxy issue. It is sometimes caused by users interrupting VM start up scripts that make proxy settings when machine boots up. Please restart your VM, and make sure to allow start up scripts to execute. Once they do the proxy should be setup and internet access to allowed sites open.
Please do not turn off the proxy, that would result in disabling internet access entirely and cause pip install to fail.
What can help is restarting the VM and making sure not to interrupt the start up scripts - then the proxy would be set up correctly and internet access to allowed sites should work.
If that still does not help you can set up proxy manually by typing these commands on the Anaconda prompt: set HTTP_PROXY=http://10.0.0.5:3128 set HTTPS_PROXY=http://10.0.0.5:3128 set NO_PROXY=localhost,127.0.0.1 jupyter-notebook
Hello @nrad, first of all, thank you for all your efforts and hard work. I have completed the windows VM setup and got the starter notebook. However I am stuck on the %load_ext aicrowd.magic cell when tried to run, it generates error like this: Import Error: failed to initialize: Bad git executable.
To check the issue, I tried running the pip command on the Anaconda prompt and there I saw that the pip was working there too. I have checked my proxy internet which is working fine as I was able to open pypi.python.org but in jupyter-notebook or anaconda prompt, I couldn’t make the second command work. Also, I tried restarting VM and ensuring that the starter script completes execution. It would be helpful if you can guide me on the issue.
Thanks!
Thanks, @jyotish and @nrad for helping me. It worked and I was able to successfully run the magic command. I am curious that I need to set all 3 proxies every time I open a new Anaconda Prompt. Any suggestion on how I can set universal or global proxies for that?
Open any notebook and try installing something using pip (say, pip install numpy). The installation should work. Can you let us know if this doesn’t work?
Hello @jyotish, actually I tried that earlier, and it doesn’t work for me. I have to open new prompt and set up proxies. Then after I can install using pip install x . I found that it is setting temporary proxies for one session I guess.
While we figure out the proper reason behind this not working, this should do as a temporary workaround.
Open notepad (start menu -> notepad).
Add the following content in the notepad
CALL C:\ProgramData\Anaconda3\Scripts\activate.bat
set HTTP_PROXY=http://10.0.0.5:3128
set HTTPS_PROXY=http://10.0.0.5:3128
set NO_PROXY=localhost,127.0.0.1
cd C:\Users\workspace
jupyter-notebook
Save the file as jupyter.bat on your dekstop (do remember to select “All files” in the “Save as type”.
Now, you should be able to double click the jupyter icon on the desktop to launch the notebook. Please let us know if you need any further help with this.