Skip to content

PyCall fails to build on Julia 1.11.3 (MinGW) #1091

Open
@divital-coder

Description

@divital-coder

Building PyCall results in an error.
A remedy or advise regarding this conflict resolution would be hugely appreciated.

        Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m`
    Building Conda ─→ `D:/mingw_installation/home/hurtbadly/.julia\scratchspaces\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\b19db3927f0db4151cb86d073689f2428e524576\build.log`
    Building PyCall → `D:/mingw_installation/home/hurtbadly/.julia\scratchspaces\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\9816a3826b0ebf49ab4926e2b18842ad8b5c8f04\build.log`
ERROR: Error building `PyCall`, showing the last 100 of log: 
│  │  │  │  └─ vs2015_runtime >=14.29.30133,<15.0a0 , which conflicts with any installable versions previously reported;
│  │  │  └─ numpy-base [1.26.0|1.26.4] would require
│  │  │     └─ python >=3.12,<3.13.0a0  with the potential options
│  │  │        ├─ python 3.12.9, which can be installed (as previously explained);
│  │  │        └─ python [3.12.0|3.12.1|...|3.12.9], which can be installed;
│  │  ├─ vc >=14.2,<15.0a0  with the potential options
│  │  │  ├─ vc 14.3, which can be installed (as previously explained);
│  │  │  ├─ vc 14.2, which cannot be installed (as previously explained);
│  │  │  ├─ vc 14.2, which cannot be installed (as previously explained);
│  │  │  ├─ vc 14.40, which cannot be installed (as previously explained);
│  │  │  ├─ vc [14.40|14.42], which cannot be installed (as previously explained);
│  │  │  └─ vc [14.2|14.3] conflicts with any installable versions previously reported;
│  │  └─ vs2015_runtime >=14.27.29016,<15.0a0 , which conflicts with any installable versions previously reported; 
│  ├─ numpy [1.11.3|1.12.1|...|1.9.3] would require
│  │  └─ python >=2.7,<2.8.0a0 , which can be installed;
│  ├─ numpy [1.11.3|1.12.1|...|1.9.3] would require
│  │  └─ python >=3.5,<3.6.0a0 , which can be installed;
│  ├─ numpy [1.11.3|1.12.1|...|1.9.3] would require
│  │  └─ python >=3.6,<3.7.0a0 , which can be installed;
│  ├─ numpy [1.11.3|1.14.5|...|1.9.3] would require
│  │  └─ python >=3.7,<3.8.0a0 , which can be installed;
│  ├─ numpy [1.11.3|1.13.3|...|1.24.3] would require
│  │  └─ python >=3.8,<3.9.0a0 , which can be installed;
│  ├─ numpy [1.16.6|1.19.2|...|2.0.2] would require
│  │  └─ python >=3.9,<3.10.0a0 , which can be installed;
│  ├─ numpy [1.21.2|1.21.5|...|2.2.4] would require
│  │  └─ python >=3.10,<3.11.0a0 , which can be installed;
│  ├─ numpy [1.22.3|1.23.5|...|2.2.4] would require
│  │  └─ python >=3.11,<3.12.0a0 , which can be installed;
│  ├─ numpy 1.23.3 would require
│  │  └─ numpy-base 1.23.3 py310h04254f7_1, which does not exist (perhaps a missing channel);
│  ├─ numpy 1.23.3 would require
│  │  └─ numpy-base 1.23.3 py38h4da318b_1, which does not exist (perhaps a missing channel);
│  ├─ numpy 1.23.3 would require
│  │  └─ numpy-base 1.23.3 py39h4da318b_1, which does not exist (perhaps a missing channel);
│  ├─ numpy [2.1.3|2.2.1|2.2.2|2.2.4] would require
│  │  └─ python >=3.13,<3.14.0a0 , which can be installed;
│  ├─ numpy 2.2.4 would require
│  │  └─ numpy-base 2.2.4 py312h557a8af_0, which requires
│  │     └─ vs2015_runtime >=14.29.30133,<15.0a0 , which conflicts with any installable versions previously reported;
│  └─ numpy [1.11.3|1.14.0|...|2.2.4] conflicts with any installable versions previously reported;
└─ pin-1 is not installable because it requires
   └─ python 3.12.* , which conflicts with any installable versions previously reported.

Pins seem to be involved in the conflict. Currently pinned specs:
 - python 3.12.* (labeled as 'pin-1')


Precompiling VersionParsing...
    690.2 ms  ✓ VersionParsing
  1 dependency successfully precompiled in 1 seconds
Precompiling Conda...
    715.9 ms  ✓ nghttp2_jll
    695.7 ms  ✓ Unicode
    689.0 ms  ✓ MozillaCACerts_jll
    697.2 ms  ✓ UUIDs
    682.1 ms  ✓ MbedTLS_jll
    723.2 ms  ✓ Zlib_jll
    737.5 ms  ✓ NetworkOptions
    497.3 ms  ✓ Mmap
    503.6 ms  ✓ LibSSH2_jll
    579.0 ms  ✓ Printf
    456.6 ms  ✓ LibCURL_jll
   1317.9 ms  ✓ ArgTools
    659.4 ms  ✓ LibCURL
   1874.9 ms  ✓ Dates
    555.6 ms  ✓ TOML
    657.1 ms  ✓ Preferences
    534.5 ms  ✓ PrecompileTools
   2853.4 ms  ✓ Downloads
   7820.7 ms  ✓ Parsers
   1293.3 ms  ✓ JSON
    887.5 ms  ✓ Conda
  21 dependencies successfully precompiled in 15 seconds. 1 already precompiled.
┌ Info: Using the Python distribution in the Conda package by default.
└ To use a different Python version, set ENV["PYTHON"]="pythoncommand" and re-run Pkg.build("PyCall").
[ Info: Downloading miniconda installer ...
[ Info: Installing miniconda ...
[ Info: Running `conda install -y --satisfied-skip-solve numpy` in root environment
ERROR: LoadError: failed process: Process(setenv(`'D:\mingw_installation\home\hurtbadly\.julia\conda\3\x86_64\Scripts\conda.exe' install -y --satisfied-skip-solve numpy`,["LSCOLORS=Gxfxcxdxbxegedabagacad", "PATH=D:\\mingw_installation\\home\\hurtbadly\\.julia\\conda\\3\\x86_64\\Library\\bin;D:\\mingw_installation\\usr\\local\\bin;D:\\mingw_installation\\usr\\bin;D:\\mingw_installation\\usr\\bin;D:\\mingw_installation\\opt\\bin;C:\\Windows\\System32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;D:\\mingw_installation\\usr\\bin\\site_perl;D:\\mingw_installation\\usr\\bin\\vendor_perl;D:\\mingw_installation\\usr\\bin\\core_perl;D:\\mingw_installation\\mingw64\\bin;D:\\mingw_installation\\home\\hurtbadly\\julia-1.11.3\\bin\\;C:\\Program Files\\Docker\\Docker\\resources\\bin;D:\\mingw_installation\\usr\\local\\bin;D:\\mingw_installation\\usr\\bin;D:\\mingw_installation\\usr\\bin;D:\\mingw_installation\\opt\\bin;C:\\Windows\\System32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;D:\\mingw_installation\\usr\\bin\\site_perl;D:\\mingw_installation\\usr\\bin\\vendor_perl;D:\\mingw_installation\\usr\\bin\\core_perl", "USERDOMAIN_ROAMINGPROFILE=DESKTOP-D7PC303", "ORIGINAL_PATH=C:\\Windows\\System32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\", "HOMEPATH=\\Users\\Pc", "PHPSTORM_VM_OPTIONS=C:\\ja-netfilter-all\\vmoptions\\phpstorm.vmoptions", "PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC", "MANPATH=D:\\mingw_installation\\usr\\local\\man;D:\\mingw_installation\\usr\\share\\man;D:\\mingw_installation\\usr\\man;D:\\mingw_installation\\share\\man", "APPDATA=C:\\Users\\Pc\\AppData\\Roaming", "CHOCOLATEYTOOLSLOCATION=C:\\tools"  …  "WEBIDE_VM_OPTIONS=C:\\ja-netfilter-all\\vmoptions\\webide.vmoptions", "SYSTEMDRIVE=C:", "PYCHARM COMMUNITY EDITION=C:\\Program Files\\JetBrains\\PyCharm Community Edition 2022.3\\bin;", "WEBSTORM=D:\\webstorm_installation\\WebStorm 2022.2\\bin;", "MSYSTEM_CARCH=x86_64", "RUBYMINE_VM_OPTIONS=C:\\ja-netfilter-all\\vmoptions\\rubymine.vmoptions", "__COMPAT_LAYER=RunAsAdmin Installer", "PROCESSOR_ARCHITECTURE=AMD64", "LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:", "OPENBLAS_MAIN_FREE=1"]), ProcessExited(1)) [1]

Stacktrace:
 [1] pipeline_error
   @ .\process.jl:598 [inlined]
 [2] run(::Cmd; wait::Bool)
   @ Base .\process.jl:513
 [3] run
   @ .\process.jl:510 [inlined]
 [4] runconda(args::Cmd, env::String)
   @ Conda D:\mingw_installation\home\hurtbadly\.julia\packages\Conda\zReqD\src\Conda.jl:182
 [5] add(pkg::String, env::String; channel::String, satisfied_skip_solve::Bool, args::Cmd)
   @ Conda D:\mingw_installation\home\hurtbadly\.julia\packages\Conda\zReqD\src\Conda.jl:343
 [6] add
   @ D:\mingw_installation\home\hurtbadly\.julia\packages\Conda\zReqD\src\Conda.jl:326 [inlined]
 [7] top-level scope
   @ D:\mingw_installation\home\hurtbadly\.julia\packages\PyCall\1gn3u\deps\build.jl:79
 [8] include(fname::String)
   @ Main .\sysimg.jl:38
 [9] top-level scope
   @ none:5
in expression starting at D:\mingw_installation\home\hurtbadly\.julia\packages\PyCall\1gn3u\deps\build.jl:43       

Full log at D:/mingw_installation/home/hurtbadly/.julia\scratchspaces\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\9816a3826b0ebf49ab4926e2b18842ad8b5c8f04\build.log

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