-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Failed to create virtual environment to run the code locally #201
Comments
Getting the same issue. Tried installing PyTorch in my directory but no help. Was initially using Binder but now want to run the code locally. |
Getting the same issue. |
Same issue I meet |
I followed the same instructions at: https://microsoft.github.io/AI-For-Beginners/etc/how-to-run This command took hours to execute and then failed after having successfully completed other steps: conda env create --name ai4beg --file .devcontainer/environment.yml Error is as follows: The conflict is caused by: To fix this you could try to:
Pip subprocess error: failed CondaEnvException: Pip failed |
In .devcontainer\requirements.txt change the version of tokenizers to something higher than 0.11.3 but less than 0.14 those are the released versions for reference: |
Hi @GanGral, changing the version of tokenizers to 0.13.3 did work.
For newbies and non developers as I am I would add some notes:
|
Steps: |
I followed the instruction on this page: https://microsoft.github.io/AI-For-Beginners/etc/how-to-run
And I use this command to create a virtual environment, but failed:
I've tried to move packages not found to under
pip
section of theenvironment.yml
file.And I tried to create the virtual environment again, it shows: with many conflicts:
Sorry, I'm not familiar with
conda
. How can I fix this? Or any other information I need to provide?The text was updated successfully, but these errors were encountered: