got this issue when I run this ' conda install --yes cmake ninja numpy scipy protobuf==3.1.0 six scikit-image pyyaml pydotplus graphviz', after approximately 7 hrs i got the error below. What should i do now?

111 views
Skip to first unread message
Assigned to shibu...@gmail.com by me

Devanshu Dev

unread,
Jun 12, 2020, 10:10:07 PM6/12/20
to Caffe Users
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:

Specifications:

  - cmake -> python=2.7
  - protobuf==3.1.0 -> python[version='2.7.*|3.5.*|3.6.*']
  - protobuf==3.1.0 -> python[version='>=2.7,<2.8.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0']
  - pydotplus -> python[version='>=3.5,<3.6.0a0']
  - scipy -> python[version='3.5.*|3.6.*']

Your python: python=3.7

If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.



The following specifications were found to be incompatible with each other:

Package python_abi conflicts for:
scipy -> python[version='>=3.7,<3.8.0a0'] -> pip -> requests -> python_abi=2.7[build=*_cp27m]
ninja -> python[version='>=3.7,<3.8.0a0'] -> pip -> setuptools -> python_abi[version='2.7.*|3.6.*|3.7.*|3.8.*',build='*_cp27m|*_cp36m|*_cp37m|*_cp38']
scipy -> numpy[version='>=1.11.3,<2.0a0'] -> python_abi[version='3.6.*|3.7.*|3.8.*',build='*_cp36m|*_cp37m|*_cp38']
protobuf==3.1.0 -> setuptools -> certifi -> python_abi=2.7[build=*_cp27m]
six -> python[version='>=2.7,<2.8.0a0'] -> pip -> setuptools -> python_abi[version='2.7.*|3.6.*|3.7.*|3.8.*',build='*_cp27m|*_cp36m|*_cp37m|*_cp38']
scikit-image -> matplotlib -> kiwisolver -> python_abi=2.7[build=*_cp27m]
pyyaml -> python_abi[version='2.7.*|3.6.*|3.7.*|3.8.*',build='*_cp27m|*_cp36m|*_cp37m|*_cp38']
pydotplus -> python=3.5 -> pip -> setuptools -> python_abi[version='2.7.*|3.6.*|3.7.*|3.8.*',build='*_cp27m|*_cp36m|*_cp37m|*_cp38']
numpy -> python[version='>=3.7,<3.8.0a0'] -> pip -> requests -> python_abi=2.7[build=*_cp27m]
numpy -> python_abi[version='3.6.*|3.7.*|3.8.*',build='*_cp36m|*_cp37m|*_cp38']
cmake -> curl[version='>=7.44.0,<8'] -> krb5[version='>=1.17.1,<1.18.0a0'] -> python=2.7 -> pip -> requests -> python_abi[version='2.7.*|3.6.*|3.7.*|3.8.*',build='*_cp27m|*_cp36m|*_cp37m|*_cp38']
python=3.7 -> pip -> setuptools -> python_abi=3.7[build=*_cp37m]
scikit-image -> python_abi[version='3.6.*|3.7.*|3.8.*',build='*_cp36m|*_cp37m|*_cp38']
protobuf==3.1.0 -> setuptools -> python_abi=3.6[build=*_cp36m]
Package msgpack-python conflicts for:
protobuf==3.1.0 -> python=3.6 -> pip -> cachecontrol -> msgpack-python
numpy -> python[version='>=3.7,<3.8.0a0'] -> pip -> cachecontrol -> msgpack-python
cmake -> curl[version='>=7.44.0,<8'] -> krb5[version='>=1.17.1,<1.18.0a0'] -> python=2.7 -> pip -> setuptools -> msgpack-python
ninja -> python[version='>=3.7,<3.8.0a0'] -> pip -> setuptools -> msgpack-python
pyyaml -> python[version='>=3.5,<3.6.0a0'] -> pip -> cachecontrol -> msgpack-python
six -> python[version='>=2.7,<2.8.0a0'] -> pip -> setuptools -> msgpack-python
scikit-image -> dask[version='>=0.5'] -> bokeh -> msgpack-python[version='<1.0.0|>=0.6.0']
scipy -> python[version='>=3.7,<3.8.0a0'] -> pip -> cachecontrol -> msgpack-python
pydotplus -> python=3.5 -> pip -> setuptools -> msgpack-python
Package setuptools conflicts for:
protobuf==3.1.0 -> setuptools
pyyaml -> cython -> setuptools
ninja -> python[version='>=3.7,<3.8.0a0'] -> pip -> setuptools
cmake -> curl[version='>=7.44.0,<8'] -> krb5[version='>=1.17.1,<1.18.0a0'] -> python=2.7 -> pip -> setuptools
python=3.7 -> pip -> setuptools
six -> python[version='>=2.7,<2.8.0a0'] -> pip -> setuptools
scipy -> python[version='>=3.7,<3.8.0a0'] -> pip -> setuptools
numpy -> python[version='>=3.7,<3.8.0a0'] -> pip -> setuptools
scikit-image -> matplotlib -> setuptools
pydotplus -> python=3.5 -> pip -> setuptools
Package wincertstore conflicts for:
numpy -> python[version='>=3.7,<3.8.0a0'] -> pip -> setuptools -> wincertstore[version='>=0.2']
scikit-image -> matplotlib -> setuptools -> wincertstore[version='>=0.2']
cmake -> curl[version='>=7.44.0,<8'] -> krb5[version='>=1.17.1,<1.18.0a0'] -> python=2.7 -> pip -> setuptools -> wincertstore[version='>=0.2']
pydotplus -> python=3.5 -> pip -> setuptools -> wincertstore[version='>=0.2']
six -> python[version='>=2.7,<2.8.0a0'] -> pip -> setuptools -> wincertstore[version='>=0.2']
ninja -> python[version='>=3.7,<3.8.0a0'] -> pip -> setuptools -> wincertstore[version='>=0.2']
scipy -> python[version='>=3.7,<3.8.0a0'] -> pip -> setuptools -> wincertstore[version='>=0.2']
python=3.7 -> pip -> setuptools -> wincertstore[version='>=0.2']
protobuf==3.1.0 -> setuptools -> wincertstore[version='>=0.2']
pyyaml -> cython -> setuptools -> wincertstore[version='>=0.2']
Package ca-certificates conflicts for:
pydotplus -> python=3.5 -> ca-certificates
python=3.7 -> openssl[version='>=1.1.1a,<1.1.2a'] -> ca-certificates
ninja -> python[version='>=3.7,<3.8.0a0'] -> ca-certificates
scikit-image -> python=3.5 -> ca-certificates
cmake -> curl[version='>=7.44.0,<8'] -> krb5[version='>=1.17.1,<1.18.0a0'] -> openssl=1.0 -> ca-certificates
numpy -> python[version='>=3.7,<3.8.0a0'] -> ca-certificates
scipy -> python[version='>=3.7,<3.8.0a0'] -> ca-certificates
six -> python[version='>=2.7,<2.8.0a0'] -> ca-certificates
protobuf==3.1.0 -> setuptools -> ca-certificates
pyyaml -> python[version='>=3.5,<3.6.0a0'] -> ca-certificates
Package certifi conflicts for:
pydotplus -> python=3.5 -> pip -> setuptools -> certifi[version='>=2016.09|>=2016.9.26|>=2017.4.17']
six -> python[version='>=2.7,<2.8.0a0'] -> pip -> setuptools -> certifi[version='>=2016.09|>=2016.9.26|>=2017.4.17']
protobuf==3.1.0 -> python=3.6 -> pip -> requests -> certifi[version='>=2017.4.17']
numpy -> python[version='>=3.7,<3.8.0a0'] -> pip -> setuptools -> certifi[version='>=2016.09|>=2016.9.26|>=2017.4.17']
python=3.7 -> pip -> setuptools -> certifi[version='>=2016.09|>=2016.9.26']
ninja -> python[version='>=3.7,<3.8.0a0'] -> pip -> setuptools -> certifi[version='>=2016.09|>=2016.9.26|>=2017.4.17']
pyyaml -> cython -> setuptools -> certifi[version='>=2016.09|>=2016.9.26']
scikit-image -> matplotlib -> setuptools -> certifi[version='>=2016.09|>=2016.9.26|>=2017.4.17']
cmake -> curl[version='>=7.44.0,<8'] -> krb5[version='>=1.17.1,<1.18.0a0'] -> python=2.7 -> pip -> setuptools -> certifi[version='>=2016.09|>=2016.9.26|>=2017.4.17']
pyyaml -> python[version='>=3.5,<3.6.0a0'] -> pip -> requests -> certifi[version='>=2017.4.17']
scipy -> python[version='>=3.7,<3.8.0a0'] -> pip -> setuptools -> certifi[version='>=2016.09|>=2016.9.26|>=2017.4.17']
Package python-dateutil conflicts for:
scikit-image -> pooch[version='>=0.5.2'] -> requests -> urllib3[version='>=1.21.1,<1.24'] -> ipaddress -> python-dateutil[version='>=2.1,<2.7.0|>=2.1,<2.8.1|>=2.1,<3.0.0']

shibashis

unread,
Jun 13, 2020, 2:30:05 AM6/13/20
to Caffe Users
try with python3.5 by creating separate env in conda
Message has been deleted

Devanshu Dev

unread,
Jun 13, 2020, 3:57:42 AM6/13/20
to Caffe Users
after changing my env to python 2.7, I got this error after  running build_win.cmd 

CMake Error at C:/Users/deVam/Anaconda3/envs/pythonenv/Library/share/cmake-3.17/Modules/CMakeTestCCompiler.cmake:60 (message):
  The C compiler

    "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.26.28801/bin/Hostx64/x64/cl.exe"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: C:/caffe/caffe/build/CMakeFiles/CMakeTmp

    Run Build Command(s):C:/Users/deVam/Anaconda3/envs/pythonenv/Library/bin/ninja.exe cmTC_b499f && [1/2] Building C object CMakeFiles\cmTC_b499f.dir\testCCompiler.c.obj
    [2/2] Linking C executable cmTC_b499f.exe
    FAILED: cmTC_b499f.exe
    cmd.exe /C "cd . && C:\Users\deVam\Anaconda3\envs\pythonenv\Library\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\cmTC_b499f.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests  -- C:\PROGRA~2\MICROS~4\2019\COMMUN~1\VC\Tools\MSVC\1426~1.288\bin\Hostx64\x64\link.exe /nologo CMakeFiles\cmTC_b499f.dir\testCCompiler.c.obj  /out:cmTC_b499f.exe /implib:cmTC_b499f.lib /pdb:cmTC_b499f.pdb /version:0.0  /machine:x64  /debug /INCREMENTAL /subsystem:console  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
    RC Pass 1: command "rc /fo CMakeFiles\cmTC_b499f.dir/manifest.res CMakeFiles\cmTC_b499f.dir/manifest.rc" failed (exit code 0) with the following output:
    The system cannot find the file specified
    ninja: build stopped: subcommand failed.





  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:18 (project)


-- Configuring incomplete, errors occurred!
Reply all
Reply to author
Forward
Message has been deleted
0 new messages