Giter Club home page Giter Club logo

Comments (7)

duhaime avatar duhaime commented on May 11, 2024

Huh, that's interesting! In fact there's evidently no version of tensorflow for Python 3.8 yet:

(3.8) Duhaime:~ doug$ pip install tensorflow
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow

There's an issue in the tensorflow issue tracker following 3.8 support, and it seems a release is imminent. In any event, thanks for the heads up!

from pix-plot.

duhaime avatar duhaime commented on May 11, 2024

@cengel if it'd be alright, it might make sense to close this as there's nothing this library can do about Tensorflow support for Python 3.8. I'm glad you brought this to our attention though!

from pix-plot.

cengel avatar cengel commented on May 11, 2024

hm.. this all seems to be a little in flux... and as far as I understand it, the problem is also that your setup script does not allow for TF versions higher than 2.0.

I just ran what seems to be a sucessful pixplot install with python 3.8, though I have not had a chance to test if it works as expected. I cloned your repo and installed locally, changing your setyup.py in line 38 from

'tensorflow>=1.14.0,<=2.0.0',
to
'tensorflow>=1.14.0',

(I additionally needed to install cython before installing pixplot.)

My Python version is 3.8.2
It seems to install tensorflow 2.2.0rc3, which was just pre-released a few hours ago.

So it appears that even once the new TF version is officially released, the install might still not work?

from pix-plot.

duhaime avatar duhaime commented on May 11, 2024

@cengel many thanks for your follow up. Yes, it appears that even the most recent Tensorflow release still does not support Python 3.8...

I think until Tensorflow has support for Python 3.8 or 3.9, the simplest solution is to switch to an earlier Python version when doing Tensorflow-related work. If you install Anaconda, you could create a virtual environment using e.g. Python 3.6:

conda create --name 3.6 python=3.6

Once you activate that environment, you should be able to

pip install pixplot

If you give that a shot, I'd be happy to assist if you hit any bumps!

from pix-plot.

cengel avatar cengel commented on May 11, 2024

Thanks @duhaime - this is exactly what I did as I said in my first comment.

As a workaround I switched to python 3.6 (from 3.8) and the install worked

from pix-plot.

duhaime avatar duhaime commented on May 11, 2024

Ah, you're quite right! That's likely the easiest way forward...

from pix-plot.

diegosiqueir4 avatar diegosiqueir4 commented on May 11, 2024

According to Tensorflow's Installation page with pip, Python 3.8 is now supported.

Python 3.8 support requires TensorFlow 2.2 or later.

from pix-plot.

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.