Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu problem #15

Open
Taikakim opened this issue Oct 20, 2020 · 2 comments
Open

Ubuntu problem #15

Taikakim opened this issue Oct 20, 2020 · 2 comments

Comments

@Taikakim
Copy link

Tensorflow does not offer 1.13.2 anymore for installation, manual WHL file supports Python 3.7.x at max, and my Ubuntu Studio has 3.8.5 installed. So it seems I can't install the right version of Tensorflow. Version 2 does not work because I get:
AttributeError: module 'tensorflow' has no attribute 'placeholder_with_default

@Taikakim
Copy link
Author

Just to update, I made a separate installation for Python 3.7.9 so I could install Tensorflow 1.13.2. Now already when I try to initiate : "from tool_class import *" I get this error from several lines: "ModuleNotFoundError: No module named 'numba.decorators'" altough pip3.7 reports that numba 0.51.2 is installed.

With python 3.8.5 (which has Tensorflow 2.3.1 installed) the tool_class import command passes fine but the error that I first reported is encountered on :"tool = SoundSampleTool('model_general')"

@Taikakim
Copy link
Author

Taikakim commented Oct 21, 2020

I think this is the problem: numba/numba#5865

It's mysterious though why this command run ok if I run python 3.8.5 instead of 3.7.9

Anyway, I downgraded Numba to 0.49.1 and now I got past these two steps at least. It seems some of the import formatting should be changed for the code to work on recent versions.

(btw it's 25 years since I coded the last time, now I'm just a musician who would like to play with this cool new thing!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant