Code Monkey home page Code Monkey logo

Comments (5)

rensite avatar rensite commented on June 22, 2024 4

For Mac OS X Mojave 10.14.6 (18G87).
pip 19.2.3 (python 3.7)

requirements.txt:

Keras==2.1.2
tensorflow==1.14.0
nltk==3.2.5
opencv-python==4.0.0.21
numpy==1.17.1
h5py==2.9.0
matplotlib==2.0.2
Pillow==6.1.0
tqdm==4.17.1
scipy==1.3.1

And then pip install -r requirements.txt

UPD: Probably need to install brew install pkg-config before python packages.

from sketch-code.

shiyingyu avatar shiyingyu commented on June 22, 2024 1

I met another error, at line 2, OS is Mac OS X mojave. I just installed python 3.7 through homebrew.
image

from sketch-code.

renzhe00 avatar renzhe00 commented on June 22, 2024

I met another error, at line 2, OS is Mac OS X mojave. I just installed python 3.7 through homebrew.
image

tensorflow1.4.0 not support python3.7,you need install python 3.6 in virtualenv or conda

from sketch-code.

villemikkola avatar villemikkola commented on June 22, 2024

You can install tensorflow and other requirements separately with pip or just change the version requirements in the file to also match newer versions. So change tensorflow===1.4.0 to tensorflow>==1.4.0 and so on. At least the version 1.13.0 seems to work just fine.

from sketch-code.

kaunas163 avatar kaunas163 commented on June 22, 2024

I installed Python 3.6 (64 bit) and it worked fine. Any larger version (3.7, ...) fails sooner or later. Also there was need for 64 bit version, not 32 bit.

from sketch-code.

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.