Giter Club home page Giter Club logo

Comments (5)

malmaud avatar malmaud commented on June 5, 2024 1

Weird, seems more like a bug with Conda and/or the official tensorflow conda recipe than anything on the Julia side. I'll take a look later though.

from tensorflow.jl.

nassarhuda avatar nassarhuda commented on June 5, 2024 1

Hi, I'm not sure if this will be helpful but I ran into a similar issue and this is what worked for me:

I got an error that had the following text:

│ UnsatisfiableError: The following specifications were found
│ to be incompatible with the existing python installation in your environment:

│ Specifications:

│ - tensorflow=1.12.0 -> python[version='2.7.|3.6.']

│ Your python: python=3.7

And then I found this: tensorflow/tensorflow#17022 -- it recommended staying with Python 3.6, so I reverted my Python installation to 3.6.5

This might be helpful to revert back to Python 3.6.5 (https://stackoverflow.com/questions/52584907/how-to-downgrade-python-from-3-7-to-3-6)

Note that I am not using the Conda python from Julia -- I'm using own python installed on my mac.

This might be helpful to @stalinkay since you said you were on a mac and your python3 version was 3.7.3 and I had the same situation...

from tensorflow.jl.

nassarhuda avatar nassarhuda commented on June 5, 2024 1

Update... Looks like TensorFlow should work on Python 3.7.x -- someone suggested a solution here: tensorflow/tensorflow#17022 (comment)

Suffice it to say, this is not an issue with TensorFlow.jl

from tensorflow.jl.

stalinkay avatar stalinkay commented on June 5, 2024

@malmaud Hi. I'm also running into this issue on mac.

 Error: Error building `TensorFlow`:
│ Warning: 'conda-forge' already in 'channels' list, moving to the top
│ Collecting package metadata (current_repodata.json): ...working... done
│ Solving environment: ...working... failed
│ Collecting package metadata (repodata.json): ...working... done
│ Solving environment: ...working... failed
│
│ UnsatisfiableError: The following specifications were found to be incompatible with each other:
│
│   - pip -> python[version='>=3.6,<3.7.0a0']
│
│
│
│ [ Info: Building TensorFlow.jl for CPU use only. To enable the GPU, set the TF_USE_GPU environment variable to 1 and rebuild TensorFlow.jl
│ [ Info: Running `conda config --add channels conda-forge --file /Users/mos/.julia/conda/3/condarc-julia.yml --force` in root environment
│ [ Info: Running `conda install -y tensorflow=1.12.0` in root environment
│ ERROR: LoadError: failed process: Process(setenv(`/Users/mos/.julia/conda/3/bin/conda install -y tensorflow=1.12.0`,["LSCOLORS=Gxfxcxdxbxegedabagacad", "PATH=/Users/mos/.fastlane/bin:/Users/mos/.rbenv/shims:/Users/mos/.pyenv/shims:/Users/mos/bin:/usr/local/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public/:/Library/TeX/texbin:/usr/local/MacGPG2/bin:/opt/puppetlabs/bin:/opt/X11/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Wireshark.app/Contents/MacOS:/usr/local/share/android-sdk/build-tools/Desktop:/usr/local/share/android-sdk/platform-tools:/usr/local/share/android-sdk/tools:/usr/local/opt/gradle/bin:/usr/local/opt/maven/bin:/usr/local/opt/ant/bin:/usr/local/opt/go/libexec/bin:", "EDITOR=nano", "ZSH_TMUX_TERM=screen-256color", "SPACESHIP_ROOT=/Users/mos/.oh-my-zsh/custom/themes/spaceship-prompt", "HOMEBREW_GITHUB_API_TOKEN=44396503e62180103e3c6fc4b86b7510905dcca9", "GITLAB_API_ENDPOINT=https://gitlab.com/api/v3", "ANT_HOME=/usr/local/opt/ant", "ITERM_PROFILE=Default", "NVM_CD_FLAGS=-q", "SSH_AGENT_PID=1789", "VISUAL=nano", "RPROMPT=\$(spaceship_rprompt)\$(fossil_prompt_info)", "Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.olO8PMEyBf/Render", "USER=mos", "VIRTUALENVWRAPPER_HOOK_DIR=/Users/mos/.virtualenvs", "LESS=-F -g -i -M -R -S -w -X -z-4", "MAVEN_HOME=/usr/local/opt/maven", "VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python2", "ANDROID_SDK_ROOT=/usr/local/share/android-sdk", "VIRTUAL_ENV_DISABLE_PROMPT=true", "SHELL=/bin/zsh", "COLORFGBG=7;0", "EMACS_PLUGIN_LAUNCHER=/Users/mos/.oh-my-zsh/plugins/emacs/emacsclient.sh", "TMPDIR=/var/folders/k7/0l6sgwvd3qjdz8zndd3bft300000gn/T/", "CONDARC=/Users/mos/.julia/conda/3/condarc-julia.yml", "NVM_DIR=/Users/mos/.nvm", "REACT_EDITOR=code", "GPG_TTY=/dev/ttys005", "ITERM_SESSION_ID=w0t2p0:A8AE296D-7AC2-4147-9EE3-5E5EE2D03CAB", "SPACESHIP_VERSION=3.11.0", "TERM=xterm-256color", "HOME=/Users/mos", "WORKON_HOME=/Users/mos/.virtualenvs", "SPACESHIP_EXIT_CODE_SHOW=true", "COLORTERM=truecolor", "SPACESHIP_TIME_SHOW=true", "PYTHONIOENCODING=UTF-8", "XPC_FLAGS=0x0", "XPC_SERVICE_NAME=0", "PIP_REQUIRE_VIRTUALENV=false", "__CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0", "_ZSH_TMUX_FIXED_CONFIG=/Users/mos/.oh-my-zsh/plugins/tmux/tmux.only.conf", "LC_ALL=en_US.UTF-8", "LC_CTYPE=en_US.UTF-8", "DIRHISTORY_SIZE=30", "BROWSER=open", "_VIRTUALENVWRAPPER_API= mkvirtualenv rmvirtualenv lsvirtualenv showvirtualenv workon add2virtualenv cdsitepackages cdvirtualenv lssitepackages toggleglobalsitepackages cpvirtualenv setvirtualenvproject mkproject cdproject mktmpenv wipeenv allvirtualenv", "LANG=en_US.UTF-8", "PYENV_SHELL=zsh", "LOGNAME=mos", "SHLVL=1", "SSH_AUTH_SOCK=/var/folders/k7/0l6sgwvd3qjdz8zndd3bft300000gn/T//ssh-GHQmbMYSaCVr/agent.1787", "OLDPWD=/Volumes/Reanimation/Work/Stalin Kay/Academia/research/masters/personalised-learning", "RBENV_SHELL=zsh", "ZNT_REPO_DIR=/usr/local/share/zsh-navigation-tools", "AUTOJUMP_SOURCED=1", "_=/usr/local/bin/julia", "PAGER=less", "GRADLE_HOME=/usr/local/opt/gradle", "TERM_PROGRAM_VERSION=3.2.2", "ZSH=/Users/mos/.oh-my-zsh", "PWD=/Volumes/Reanimation/Work/Stalin Kay/Academia/research/masters/personalised-learning/experiment", "DISPLAY=/private/tmp/com.apple.launchd.og2DKnzDyL/org.macosforge.xquartz:0", "VIRTUALENVWRAPPER_PROJECT_FILENAME=.project", "TERM_PROGRAM=iTerm.app", "VIRTUALENVWRAPPER_SCRIPT=/usr/local/bin/virtualenvwrapper.sh", "AUTOJUMP_ERROR_PATH=/Users/mos/Library/autojump/errors.log", "NVM_RC_VERSION=", "INTEL_HAXM_HOME=/usr/local/Caskroom/intel-haxm", "ANDROID_HOME=/usr/local/share/android-sdk", "ZNT_CONFIG_DIR=/Users/mos/.config/znt", "CONDA_PREFIX=/Users/mos/.julia/conda/3", "TERM_SESSION_ID=w0t2p0:A8AE296D-7AC2-4147-9EE3-5E5EE2D03CAB", "VIRTUALENVWRAPPER_WORKON_CD=1", "MARKPATH=/Users/mos/.marks", "JULIA_LOAD_PATH=@:/var/folders/k7/0l6sgwvd3qjdz8zndd3bft300000gn/T/tmpMh0ZXn", "SPACESHIP_VI_MODE_SHOW=false", "ANDROID_NDK_HOME=/usr/local/share/android-ndk", "OPENBLAS_MAIN_FREE=1"]), ProcessExited(1)) [1]
│ Stacktrace:
│  [1] error(::String, ::Base.Process, ::String, ::Int64, ::String) at ./error.jl:42
│  [2] pipeline_error at ./process.jl:785 [inlined]
│  [3] #run#515(::Bool, ::Function, ::Cmd) at ./process.jl:726
│  [4] run at ./process.jl:724 [inlined]
│  [5] runconda(::Cmd, ::String) at /Users/mos/.julia/packages/Conda/kLXeC/src/Conda.jl:113
│  [6] #add#1(::String, ::Function, ::String, ::String) at /Users/mos/.julia/packages/Conda/kLXeC/src/Conda.jl:184
│  [7] add at /Users/mos/.julia/packages/Conda/kLXeC/src/Conda.jl:183 [inlined] (repeats 2 times)
│  [8] top-level scope at /Users/mos/.julia/packages/TensorFlow/q9pY2/deps/build.jl:41
│  [9] include at ./boot.jl:326 [inlined]
│  [10] include_relative(::Module, ::String) at ./loading.jl:1038
│  [11] include(::Module, ::String) at ./sysimg.jl:29
│  [12] include(::String) at ./client.jl:403
│  [13] top-level scope at none:0
│ in expression starting at /Users/mos/.julia/packages/TensorFlow/q9pY2/deps/build.jl:39
└ @ Pkg.Operations /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:1075

from tensorflow.jl.

stalinkay avatar stalinkay commented on June 5, 2024

@malmaud I'm on running on python3 = Python 3.7.3 and python = Python 2.7.16 on macOS

from tensorflow.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.