question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I get this error nonstop. After I figured a lot of things, I could use it but I keep on finding this and I’m confused. I know little to no code.

Traceback (most recent call last): File "C:\Users\kreme\Anaconda3\envs\demucs\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "C:\Users\kreme\Anaconda3\envs\demucs\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\kreme\Anaconda3\envs\demucs\separate.py", line 17, in <module> from .audio import AudioFile ImportError: attempted relative import with no known parent package

Why could this be? Any solution?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Zindokarcommented, Dec 9, 2019

(base) C:\Users\kreme>cd demucs El sistema no puede encontrar la ruta especificada.

This happens. How do I run commands from the root of the repository? It’s a dumb question.

Lo que se refiere, es que debes estar ubicado en el directorio raiz de la carpeta donde están los ficheros de demucs, para ello debes abrir la consola de anaconda, activar el entorno demucs, situarte en la carpeta (con el comando cd) y ejecutar el comando para separar las pistas.

Puedes saber la ruta si abres la carpeta con el explorador de windows, y arriba en la barrita de url tipo navegador, si haces click puedes ver la dirección, pones en la consola de anaconda, cd esa-direccion y tendría que ubicarte en la ruta.

0reactions
AkaokaPcommented, Dec 9, 2019

(base) C:\Users\kreme>cd demucs El sistema no puede encontrar la ruta especificada.

This happens. How do I run commands from the root of the repository? It’s a dumb question.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix ImportError: Cannot Import Name in Python - Rollbar
The Python ImportError: cannot import name error occurs when an imported class is not accessible or is in a circular dependency.
Read more >
Understanding the Functions of ImportError in Python - eduCBA
In Python, ImportError occurs when the Python program tries to import module which does not exist in the private table. This exception can...
Read more >
Built-in Exceptions — Python 3.11.1 documentation
A subclass of ImportError which is raised by import when a module could not be located. It is also raised when None is...
Read more >
Python Exception Handling: ImportError and ... - Airbrake Blog
The ImportError is raised when an import statement has trouble successfully importing the specified module. Typically, such a problem is due to ...
Read more >
Python error "ImportError: No module named" - Stack Overflow
Python error "ImportError: No module named" · Check that you have read permission to that file from python. · Please be sure to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found