PermissionError: [Errno 13] Permission denied:/home/vagrant/?

Я пытался запустить сервер Django в python env на Vagrant ubuntu 18.04, но он выдает эту ошибку? файлы синхронизированы с windows 11, если это поможет. и я использовал Virtualenv --always-copy для создания env

(env1) vagrant@vagrant:~/desktop/python_files/djangoFirstApp$ python manage.py runserver 10.0.2.15:8000
Traceback (most recent call last):
  File "manage.py", line 22, in <module>
    main()
  File "manage.py", line 18, in main
    execute_from_command_line(sys.argv)
  File "/home/vagrant/desktop/python_files/env1/lib/python3.8/site-packages/django/core/management/__init__.py", line 425, in execute_from_command_line
    utility.execute()
  File "/home/vagrant/desktop/python_files/env1/lib/python3.8/site-packages/django/core/management/__init__.py", line 419, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/vagrant/desktop/python_files/env1/lib/python3.8/site-packages/django/core/management/base.py", line 373, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/home/vagrant/desktop/python_files/env1/lib/python3.8/site-packages/django/core/management/commands/runserver.py", line 66, in execute
    super().execute(*args, **options)
  File "/home/vagrant/desktop/python_files/env1/lib/python3.8/site-packages/django/core/management/base.py", line 417, in execute
    output = self.handle(*args, **options)
  File "/home/vagrant/desktop/python_files/env1/lib/python3.8/site-packages/django/core/management/commands/runserver.py", line 101, in handle
    self.run(**options)
  File "/home/vagrant/desktop/python_files/env1/lib/python3.8/site-packages/django/core/management/commands/runserver.py", line 108, in run
    autoreload.run_with_reloader(self.inner_run, **options)
  File "/home/vagrant/desktop/python_files/env1/lib/python3.8/site-packages/django/utils/autoreload.py", line 646, in run_with_reloader
    exit_code = restart_with_reloader()
  File "/home/vagrant/desktop/python_files/env1/lib/python3.8/site-packages/django/utils/autoreload.py", line 265, in restart_with_reloader
    p = subprocess.run(args, env=new_environ, close_fds=False)
  File "/usr/lib/python3.8/subprocess.py", line 489, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/usr/lib/python3.8/subprocess.py", line 854, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.8/subprocess.py", line 1592, in _execute_child
    self._posix_spawn(args, executable, env, restore_signals,
  File "/usr/lib/python3.8/subprocess.py", line 1543, in _posix_spawn
    self.pid = os.posix_spawn(executable, args, env, **kwargs)
PermissionError: [Errno 13] Permission denied: '/home/vagrant/desktop/python_files/env1/bin/python'
(env1) vagrant@vagrant:~/desktop/python_files/djangoFirstApp$
Вернуться на верх