Skip to content
This repository was archived by the owner on Sep 13, 2024. It is now read-only.
This repository was archived by the owner on Sep 13, 2024. It is now read-only.

issue: Solving environment: failed #3

Closed

Description

@momonala

I get the following error. I can install pytorch on the smaller test environment fine, but when I try to install it outside of the test env. I get the following error. I tried downgrading from Python 3.6.3 to 3.6.0 to no avail. Additionally, if I uninstall for the package that conda questions, I just get the same error with a new package (ex. I uninstalled xeus but qt now appeared. Any suggestions?

Solving environment: failed

UnsatisfiableError: The following specifications were found to be in conflict:
  - pytorch
  - qt -> icu=58 -> *[track_features=vc14]
  - qt -> icu=58 -> vc==14
Use "conda info <package>" to see the dependencies for each package.

Activity

  1. peterjc123 commented on Jan 12, 2018

    @peterjc123
    Owner

    @momonala If you want to do this, please install the offline package.

  2. peterjc123 commented on Jan 12, 2018

    @peterjc123
    Owner

    @momonala It should be listed here.

  3. momonala commented on Jan 12, 2018

    @momonala
    Author

    This worked. Thanks!

  4. aaryansingh-dev commented on May 19, 2020

    @aaryansingh-dev

    @momonala It should be listed here.

    I downloaded the required version of pytorch but have no idea where to paste the extracted files.

  5. peterjc123 commented on May 19, 2020

    @peterjc123
    Owner

    @aaryan1210 What is the error at your side?

  6. peterjc123 commented on May 19, 2020

    @peterjc123
    Owner

    @aaryan1210 Consider using the official one? The one in my repo is outdated.

  7. aaryansingh-dev commented on May 19, 2020

    @aaryansingh-dev

    `(base) C:\Users\HP>conda install -c peterjc123 pytorch-cpu

    Collecting package metadata (current_repodata.json): done

    Solving environment: failed with initial frozen solve. Retrying with flexible solve.

    Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.

    Collecting package metadata (repodata.json): done

    Solving environment: failed with initial frozen solve. Retrying with flexible solve.
    `

    This is the error shown in anaconda prompt.

  8. peterjc123 commented on May 19, 2020

    @peterjc123
    Owner

    @aaryan1210 Please try conda install -c pytorch pytorch cpuonly.

  9. aaryansingh-dev commented on May 19, 2020

    @aaryansingh-dev

    I have a Cuda 9.2 toolkit installed and I downgraded my python version to 3.5 to match the version shown in error.

  10. aaryansingh-dev commented on May 19, 2020

    @aaryansingh-dev

    @aaryan1210 Please try conda install -c pytorch pytorch cpuonly.
    Thanks a lot, this worked.

  11. aaryansingh-dev commented on May 20, 2020

    @aaryansingh-dev

    @aaryan1210 Please try conda install -c pytorch pytorch cpuonly.

    Hey, I installed PyTorch using the above-mentioned code, but today the prompt is showing that no module named torch exists.

    import torch Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'torch'

  12. peterjc123 commented on May 20, 2020

    @peterjc123
    Owner

    @aaryan1210 You have multiple python installation? What is the result of the following commands?

    where conda
    where python
    
  13. aaryansingh-dev commented on May 20, 2020

    @aaryansingh-dev

    Yes, I have 2 python installations and 3 conda installations.

    F:\ProgramFiles\Anaconda3\Library\bin\conda.bat
    F:\ProgramFiles\Anaconda3\Scripts\conda.exe
    F:\ProgramFiles\Anaconda3\condabin\conda.bat

    And python

    F:\ProgramFiles\Anaconda3\python.exe
    C:\Users\HP\AppData\Local\Microsoft\WindowsApps\python.exe

  14. peterjc123 commented on May 20, 2020

    @peterjc123
    Owner

    @aaryan1210 There is nothing wrong there. Maybe you installed it into a virtual environment?

  15. peterjc123 commented on May 20, 2020

    @peterjc123
    Owner

    Could you please show me the result of conda info -e?

  16. aaryansingh-dev commented on May 20, 2020

    @aaryansingh-dev

    I installed with (base) and I tried installing it in a virtual environment. But installed it in (base) too.

  17. aaryansingh-dev commented on May 20, 2020

    @aaryansingh-dev

    base * F:\ProgramFiles\Anaconda3
    myenv F:\ProgramFiles\Anaconda3\envs\myenv

  18. peterjc123 commented on May 20, 2020

    @peterjc123
    Owner

    What about conda list pytorch and pip show torch?

  19. aaryansingh-dev commented on May 20, 2020

    @aaryansingh-dev

    # packages in environment at F:\ProgramFiles\Anaconda3:
    #
    # Name Version Build Channel

    And pip didn't show any result.

  20. aaryansingh-dev commented on May 20, 2020

    @aaryansingh-dev

    I think think this means no pytorch is installed.

  21. peterjc123 commented on May 20, 2020

    @peterjc123
    Owner

    So it seems pytorch is not installed in this env. Just try to install it again.

  22. aaryansingh-dev commented on May 20, 2020

    @aaryansingh-dev

    Should I download it in env or base?

  23. peterjc123 commented on May 20, 2020

    @peterjc123
    Owner

    @aaryan1210 Just according to your needs. Both should work.

  24. aaryansingh-dev commented on May 20, 2020

    @aaryansingh-dev

    Ok, installation in env is working properly but the base* is showing error.

  25. peterjc123 commented on May 20, 2020

    @peterjc123
    Owner

    What error is it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions