Skip to content
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

unable to create the conda environment with linux-cpu-env.yml #145

Open
Superyoutiao opened this issue Sep 14, 2021 · 2 comments
Open

unable to create the conda environment with linux-cpu-env.yml #145

Superyoutiao opened this issue Sep 14, 2021 · 2 comments

Comments

@Superyoutiao
Copy link

coconda env create -f environment/linux-cpu-env.yml
Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound:

  • python-dateutil==2.6.1=py35_0
  • joblib=0.9.4
  • numba==0.35.0=np111py35_0
  • matplotlib==2.0.2=np111py35_0
  • path.py==10.3.1=py35_0
  • python=3.5.2
  • mako==1.0.6=py35_0

It's my first time to see this problem. Is the .yml file out-of-date or should I modify it?

@Superyoutiao
Copy link
Author

it seems that some old version of packages can't be found if the free channel is not used. This can be solved by execute conda config --set restore_free_channel true before install the conda env. Then I met this problem:

Pip subprocess error:
parso requires Python '>=3.6' but the running Python is 3.5.2
You are using pip version 10.0.1, however version 20.3.4 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

failed

CondaEnvException: Pip failed

If I change python = 3.5.2 into python = 3.6, there will be conflicts, any suggestions?

@shchdhry
Copy link

Try adding - parso==0.7.1 to the pip dependencies, i.e. below -pip: in the linux-cpu-env.yml file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants