-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Replies: 1 comment · 2 replies
-
|
Which version are you using? |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
Thanks for the reply. I was using the version 1.2.3. I uninstalled it and installed instead the version 1.2.4 which is done successfully as shown in the following screenshot. However, when I launch doccano, I get several errors stating that module is not found (ModuleNotFoundError : No module named 'ruamel') Here is what I get : (base) C:\Users\bsuser>doccano Exception in thread django-main-thread: (base) C:\Users\bsuser>doccano Exception in thread django-main-thread: |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
Hi @Bilel-tn what commands did you use to get doccano db setup in condas? was it "doccano init"? I used pip install doccano in my base first and it worked fine but "doccano init" spits out: (base) C:\Users\srivera>doccano init |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I installed Doccano using pip command.
When I try to run it using the doccano command, several exceptions and errors are raised such as :
Here is what I get in Anaconda Prompt:
Setup Database. Traceback (most recent call last): File "c:\users\bs\anaconda3\lib\site-packages\app\manage.py", line 15, in <module> execute_from_command_line(sys.argv) File "c:\users\bs\anaconda3\lib\site-packages\django\core\management\__init__.py", line 401, in execute_from_command_line utility.execute() File "c:\users\bs\anaconda3\lib\site-packages\django\core\management\__init__.py", line 377, in execute django.setup() File "c:\users\bs\anaconda3\lib\site-packages\django\__init__.py", line 24, in setup apps.populate(settings.INSTALLED_APPS) File "c:\users\bs\anaconda3\lib\site-packages\django\apps\registry.py", line 91, in populate app_config = AppConfig.create(entry) File "c:\users\bs\anaconda3\lib\site-packages\django\apps\config.py", line 90, in create module = import_module(entry) File "c:\users\bs\anaconda3\lib\importlib\__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked ModuleNotFoundError: No module named 'dj_rest_auth' Traceback (most recent call last): File "c:\users\bs\anaconda3\lib\site-packages\app\manage.py", line 15, in <module> execute_from_command_line(sys.argv) File "c:\users\bs\anaconda3\lib\site-packages\django\core\management\__init__.py", line 401, in execute_from_command_line utility.execute() File "c:\users\bs\anaconda3\lib\site-packages\django\core\management\__init__.py", line 377, in execute django.setup() File "c:\users\bs\anaconda3\lib\site-packages\django\__init__.py", line 24, in setup apps.populate(settings.INSTALLED_APPS) File "c:\users\bs\anaconda3\lib\site-packages\django\apps\registry.py", line 91, in populate app_config = AppConfig.create(entry) File "c:\users\bs\anaconda3\lib\site-packages\django\apps\config.py", line 90, in create module = import_module(entry) File "c:\users\bs\anaconda3\lib\importlib\__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked ModuleNotFoundError: No module named 'dj_rest_auth' Traceback (most recent call last): File "c:\users\bs\anaconda3\lib\site-packages\app\manage.py", line 15, in <module> execute_from_command_line(sys.argv) File "c:\users\bs\anaconda3\lib\site-packages\django\core\management\__init__.py", line 401, in execute_from_command_line utility.execute() File "c:\users\bs\anaconda3\lib\site-packages\django\core\management\__init__.py", line 377, in execute django.setup() File "c:\users\bs\anaconda3\lib\site-packages\django\__init__.py", line 24, in setup apps.populate(settings.INSTALLED_APPS) File "c:\users\bs\anaconda3\lib\site-packages\django\apps\registry.py", line 91, in populate app_config = AppConfig.create(entry) File "c:\users\bs\anaconda3\lib\site-packages\django\apps\config.py", line 90, in create module = import_module(entry) File "c:\users\bs\anaconda3\lib\importlib\__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked ModuleNotFoundError: No module named 'dj_rest_auth' Create admin user. Traceback (most recent call last): File "c:\users\bs\anaconda3\lib\site-packages\app\manage.py", line 15, in <module> execute_from_command_line(sys.argv) File "c:\users\bs\anaconda3\lib\site-packages\django\core\management\__init__.py", line 401, in execute_from_command_line utility.execute() File "c:\users\bs\anaconda3\lib\site-packages\django\core\management\__init__.py", line 377, in execute django.setup() File "c:\users\bs\anaconda3\lib\site-packages\django\__init__.py", line 24, in setup apps.populate(settings.INSTALLED_APPS) File "c:\users\bs\anaconda3\lib\site-packages\django\apps\registry.py", line 91, in populate app_config = AppConfig.create(entry) File "c:\users\bs\anaconda3\lib\site-packages\django\apps\config.py", line 90, in create module = import_module(entry) File "c:\users\bs\anaconda3\lib\importlib\__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked ModuleNotFoundError: No module named 'dj_rest_auth' Starting server with port 8000. Exception in thread django-main-thread: Traceback (most recent call last): File "c:\users\bs\anaconda3\lib\threading.py", line 932, in _bootstrap_inner self.run() File "c:\users\bs\anaconda3\lib\threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "c:\users\bs\anaconda3\lib\site-packages\django\utils\autoreload.py", line 53, in wrapper fn(*args, **kwargs) File "c:\users\bs\anaconda3\lib\site-packages\django\core\management\commands\runserver.py", line 110, in inner_run autoreload.raise_last_exception() File "c:\users\bs\anaconda3\lib\site-packages\django\utils\autoreload.py", line 76, in raise_last_exception raise _exception[1] File "c:\users\bs\anaconda3\lib\site-packages\django\core\management\__init__.py", line 357, in execute autoreload.check_errors(django.setup)() File "c:\users\bs\anaconda3\lib\site-packages\django\utils\autoreload.py", line 53, in wrapper fn(*args, **kwargs) File "c:\users\bs\anaconda3\lib\site-packages\django\__init__.py", line 24, in setup apps.populate(settings.INSTALLED_APPS) File "c:\users\bs\anaconda3\lib\site-packages\django\apps\registry.py", line 91, in populate app_config = AppConfig.create(entry) File "c:\users\bs\anaconda3\lib\site-packages\django\apps\config.py", line 90, in create module = import_module(entry) File "c:\users\bs\anaconda3\lib\importlib\__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked ModuleNotFoundError: No module named 'dj_rest_auth' Traceback (most recent call last): File "c:\users\bs\anaconda3\lib\site-packages\app\manage.py", line 15, in <module> execute_from_command_line(sys.argv) File "c:\users\bs\anaconda3\lib\site-packages\django\core\management\__init__.py", line 401, in execute_from_command_line utility.execute() File "c:\users\bs\anaconda3\lib\site-packages\django\core\management\__init__.py", line 395, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "c:\users\bs\anaconda3\lib\site-packages\django\core\management\base.py", line 330, in run_from_argv self.execute(*args, **cmd_options) File "c:\users\bs\anaconda3\lib\site-packages\django\core\management\commands\runserver.py", line 61, in execute super().execute(*args, **options) File "c:\users\bs\anaconda3\lib\site-packages\django\core\management\base.py", line 371, in execute output = self.handle(*args, **options) File "c:\users\bs\anaconda3\lib\site-packages\django\core\management\commands\runserver.py", line 96, in handle self.run(**options) File "c:\users\bs\anaconda3\lib\site-packages\django\core\management\commands\runserver.py", line 103, in run autoreload.run_with_reloader(self.inner_run, **options) File "c:\users\bs\anaconda3\lib\site-packages\django\utils\autoreload.py", line 618, in run_with_reloader start_django(reloader, main_func, *args, **kwargs) File "c:\users\bs\anaconda3\lib\site-packages\django\utils\autoreload.py", line 603, in start_django reloader.run(django_main_thread) File "c:\users\bs\anaconda3\lib\site-packages\django\utils\autoreload.py", line 318, in run self.run_loop() File "c:\users\bs\anaconda3\lib\site-packages\django\utils\autoreload.py", line 324, in run_loop next(ticker) File "c:\users\bs\anaconda3\lib\site-packages\django\utils\autoreload.py", line 364, in tick for filepath, mtime in self.snapshot_files(): File "c:\users\bs\anaconda3\lib\site-packages\django\utils\autoreload.py", line 380, in snapshot_files for file in self.watched_files(): File "c:\users\bs\anaconda3\lib\site-packages\django\utils\autoreload.py", line 278, in watched_files yield from iter_all_python_module_files() File "c:\users\bs\anaconda3\lib\site-packages\django\utils\autoreload.py", line 105, in iter_all_python_module_files return iter_modules_and_files(modules, frozenset(_error_files)) File "c:\users\bs\anaconda3\lib\site-packages\django\utils\autoreload.py", line 141, in iter_modules_and_files resolved_path = path.resolve(strict=True).absolute() File "c:\users\bs\anaconda3\lib\pathlib.py", line 1177, in resolve s = self._flavour.resolve(self, strict=strict) File "c:\users\bs\anaconda3\lib\pathlib.py", line 200, in resolve return self._ext_to_normal(_getfinalpathname(s)) OSError: [WinError 123] La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte: '<frozen importlib._bootstrap>'Can you help me with these errors ?
Beta Was this translation helpful? Give feedback.
All reactions