I created a Vm using marketplace with experimental PyTorch installed that gives me access to fastai library
How can I activate the environment so that I can run jupyter notebooks like it worked on AWS.
It gives me an error no module named ‘bcolz’
This is the same error I got when I had run the notebooks with ‘conda activate fastai’
thanks for answering. I have gone through this article. I am using GCP and it is not importing ‘bcolz’ module.
Can you walk me through the steps?
I have my VM setup with Fastai VM image and I have pulled the fastai repo from github
What should I do now to be able to run the course notebooks with all dependencies working?
Hi, I found that the best way is using AWS FasiAi image, for GCP, there are much issues, you can refer this thread. So basically, you have to use virtual env and install the libraries one by one. I don’t know whether there is a better solution.
Hi, prabhatkrai. I don’t know whether you solved this problem.
After many trials, I found that one way worked for me.
So, you should create a pure GCP VM instance without Fastai image. (Ubuntu 16.04)
And follow this article
Some errors may occur, ignore them!
To run the course’s Notebook, you still need install some libraries manually as suggested in this post using conda or Pip!
It may take some time, by it worked very well for me.
I got it to work.
remote access wasn’t allowed.
Thank you! It is working now.
I hope someone works out a way to run the Fastai image VM in GCP marketplace as that will be considerably hasslefree as all libraries are there installed from the start.
@prabhatkrai Please do keep in mind that there is no need to start Jupyter Notebook or Jupyter Lab, it is already running on the GCP VM. The only thing that is need to be done after the creation is to SSH to the instance with port mapping like this:
I tried this and it worked.
Thanks for this and I think it’ll be great to pre-install them as I couldn’t understand how to install these packages in fastai’s environment.
Now I understand how it is working after reading your replies.
I started my VM with Pytorch v1[experimental] and logged in via SSH into it.
After that, I used git pull to get fastai from GitHub for the courses as I am under the impression that other modules and dependencies are already installed on this.
What did I miss?