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

ModuleNotFoundError when executing tensorflowjs_wizard on tensorflowjs 3.11.0 #5805

Closed
Rakagami opened this issue Nov 2, 2021 · 3 comments · Fixed by #5817
Closed

ModuleNotFoundError when executing tensorflowjs_wizard on tensorflowjs 3.11.0 #5805

Rakagami opened this issue Nov 2, 2021 · 3 comments · Fixed by #5817
Assignees
Labels
stat:awaiting response type:bug Something isn't working

Comments

@Rakagami
Copy link

Rakagami commented Nov 2, 2021

System information

  • Manjaro Linux x86_64
  • TensorFlow installed from anaconda (implicitly thorugh pip install "tensorflowjs[wizard]")
  • TensorFlow version : 2.6.0
  • Python version: 3.6.13
  • CUDA/cuDNN version: cuda_11.4.r11.4
  • GPU model and memory: NVIDIA GeForce GTX 1660 Ti, 6GB memory

Current Behavior
When I execute tensorflowjs_wizard, I get the following output:

Traceback (most recent call last):
  File "/home/raka/.conda/envs/tfjs/bin/tensorflowjs_wizard", line 5, in <module>
    from tensorflowjs.converters.wizard import pip_main
ModuleNotFoundError: No module named 'tensorflowjs.converters.wizard'

Expected Behavior
The expected behavior is the output of the tensorflowjs_wizard command as documented here

How I currently solved it for me

Through downgrading tensorflowjs to 3.9.0 I was able to get the command tensorflowjs_wizard to behave as expected. I downgraded the python packages with the following command:

pip install --upgrade tensorflowjs==3.9.0

Contributing

I don't know how to fix this issue because how I solved my issue was through manual downgrading. Maybe someone who knows the code better knows what to do.

Standalone code to reproduce the issue

# Assuming you have already installed conda and are currently in no environment
conda create --name tfjs python=3.6
conda activate tfjs
pip install tensorflowjs[wizard]
# Here you have to refresh the terminal somehow
tensorflowjs_wizard
@rthadur
Copy link
Contributor

rthadur commented Nov 3, 2021

can you please check the colab https://colab.sandbox.google.com/drive/1X24pwGsbiYNRg9-m9qUkfh6KsfSMuhhF , I was not able to reproduce the same.

@pyu10055
Copy link
Collaborator

pyu10055 commented Nov 5, 2021

@Rakagami Thank you for reporting this, will be fixed in the next release.

@rthadur rthadur assigned pyu10055 and unassigned rthadur Nov 5, 2021
@google-ml-butler
Copy link

Are you satisfied with the resolution of your issue?
Yes
No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stat:awaiting response type:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants