Can't import magenta.music
See original GitHub issueEnvironment data
- VS Code version: 1.45.1
- Extension version (available under the Extensions sidebar): 2020.5.80290
- OS and version: XXX
- Python version (& distribution if applicable, e.g. Anaconda): 3.8.3
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): N/A
- Relevant/affected Python packages and their versions: XXX
- Relevant/affected Python-related VS Code extensions and their versions: XXX
- Jedi or Language Server? (i.e. what is
"python.jediEnabled"
set to; more info #3977): XXX - Value of the
python.languageServer
setting: XXX
Expected behaviour
When you run following script it should display Before&After print(‘Before’) import magenta.music as mm print(‘After’)
Actual behaviour
It prints Before and than hangs
XXX
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
- Enter: print(‘Before’) import magenta.music as mm print(‘After’)
Run / Start Debug.
Logs
Output for Python
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Python
)
XXX
Output from Console
under the Developer Tools
panel (toggle Developer Tools on under Help
; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging
)
XXXX
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
Music Generation with Magenta 2.0.1: A migration guide from ...
Choosing an import style. When importing Tensorflow, we can import it using import tensorflow as tf and then write tf.compat.v1 everywhere we ...
Read more >Getting Started - Magenta - TensorFlow
This page will help you get started making music and art with machine learning, and give you some resources if you want to...
Read more >Highest scored 'magenta' questions
I'm trying to import magenta to use wavenet, however it always fails and I cannot find any useful information online. It keeps give...
Read more >How To Make Music With A.I.!! FREE & FAST Tensorflow ...
Use Tensorflow Magenta, Anaconda Python, LMMS, and some browser based tools to make your own cool royalty free music.
Read more >Colab Notebook ImportError: cannot import name bijectors
ImportErrorTraceback (most recent call last) <ipython-input-4-2924a5c1911e> in <module>() 29 import magenta.music as mm 30 from magenta.music.sequences_lib ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
De-installed plugin, then re-installed and it is working!
Does it mean that if you open a terminal inside VS Code without having the extension activated, and you run
python test.py
it doesn’t work?Does your command window use Powershell as well?
What is the path to the python executable you use in your command window (python -c
import sys; print(sys.executable)
) and in the VS Code terminal for your workspace?Thanks!