Hi. I followed : B) Now, move into a directory where you are comfortable installing the Fastai repo, with its libraries and required packages.
Now you got to clone that repo as follows:
> git clone https://github.com/fastai/fastai
C) Once the cloning process finishes, be sure to be in the directory created by git for the Fastai repository, and type:
conda env create -f environment-win.yml`
followed by:
activate fastai`
This will install the required packages and their dependencies into the fastai environment by leveraging the file environment-win.yml prepared by Fast.ai .
D) Now, open jupyter:
(fastai)> jupyter notebook
but when i type ‘jupyter notebook’ I got:
“(fastai) C:\Users\User\fastai>jupyter notebook
‘jupyter’ is not recognized as an internal or external command,
operable program or batch file.”
In case you haven’t seen the other posts - there is an issue with the Jupyter packages so they were commented out in the environment file - and then these and a few others need to be added manually - see this thread which has some good steps for the missing stuff.
If the jupyter installed by pip or conda , and after you activate the environment, if it not find it to execute then its because the path where its installed wasn’t recognized.
I really don’t know what repository are you using that has a environment-win.yml on it.
So will be very difficult to understand the steps you made that lead to this situation.
Ok I get that, but this don’t tell me nothing about the steps you made that may have caused this problem. Also your information about your process to install is limited.
So I only can suggest you to remove everything and start again following the steps on the Git Repo or specify in details the steps you made so I can understand what happened to help you out.
Windows 10
C:\Users\User\fastai>
conda 4.5.11
C:\Users\User\Anaconda3\Scripts\anaconda.exe
I cloned repository 2 hours ago,so I guess it is the newest
Admin account
Hi again …sorry about the time to reply … I get late to see your message and install windows to test it, but I did and it worked. There wasn’t a reason to not to.
Sorry I couldn’t get the error you experiencing at all.
0- Installed Notepad++
1- Installed Windows 10 Pro (Express Install)
2- Installed Git 2.19-64 bits (Express Install) pointed editor to Notepad++ and to work only from GitBash
3- Installed Anaconda3 5.2.0 - 64 bit (Express Install) pointed installation to my user only(recommended) and also not put in the environment variable because wasnt recommended
4- Created a folder Projects on c:
5- Cloned the fastai repo inside of c:\Projects
6- Restarted the machine just to make sure
7- Opened Anaconda Prompt and Navigated to the Fastai folder in (base) C:\Projects\fastai
8- inside the fastai folder and with the base environment active I executed :
(base) conda env update
9- After instalation I entered environment by :
(base) conda activate fastai → (fastai) c:\Projects\fastai
10- I executed the following command to see if the packages was there:
(fastai) conda list
11- then I called jupyter by :
(fastai) jupyter notebook
2- I just tried to updated the pip package , but I got another error message:
(fastai) c:\Projects\fastai>pip install --upgrade pip
ERROR: To modify pip, please run the following command: C:\Users\Willismar\Anaconda3\envs\fastai\python.exe -m pip install --upgrade pip
You are using pip version 10.0.1, however version 18.0 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip’ command.
3-Then I followed the instruction the system gave to me and it worked, but also generated a WARNING later.
(fastai) c:\Projects\fastai>C:\Users\Willismar\Anaconda3\envs\fastai\python.exe -m pip install --upgrade pip
twisted 18.7.0 requires PyHamcrest>=1.9.0, which is not installed. pexpect 4.6.0 requires ptyprocess>=0.5, which is not installed. spacy 2.0.12 has requirement regex==2017.4.5, but you’ll have regex 2018.7.11 which is incompatible.
Installing collected packages: pip
Found existing installation: pip 10.0.1
Uninstalling pip-10.0.1:
Successfully uninstalled pip-10.0.1
Successfully installed pip-18.0
4- Next had to attack the tree remaining packages:
Hmm I need to check that again.I installed fastai on my 2nd laptop and I didnt have this problem.I will try tomorrow to follow Your steps Huge thanks for Your help