title: Problem installing Uvicorn in Termux, Android
body: <p>I am trying to install and run FastAPI in Termux. I install FastAPI successfully.
  But when I try to install uvicorn with pip install &quot;uvicorn[standard]&quot; I get this error. I can't paste the error here, because Stackoverflow identifies it as spam, <a href="https://textsaver.flap.tv/lists/4g8f" rel="nofollow noreferrer">here is a link</a></p>
  <p>However, I successfully installed it with <code>pip install uvicorn</code>.
  But when I try <code>uvicorn main:app --reload command</code>, I get this error</p>
  <pre><code>INFO:     Will watch for changes in these directories: ['/data/data/com.termux/files/home/project/fapi']
  INFO:     Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
  INFO:     Started reloader process [11709] using watchgod
  Traceback (most recent call last):
    File &quot;/data/data/com.termux/files/home/project/fapi/main.py&quot;, line 15, in &lt;module&gt;
      uvicorn.run(&quot;main:app&quot;, host=&quot;0.0.0.0&quot;, port=8000, reload=True, access_log=False)
    File &quot;/data/data/com.termux/files/home/project/fapi/env/lib/python3.10/site-packages/uvicorn/main.py&quot;, line 442, in run
      ChangeReload(config, target=server.run, sockets=[sock]).run()
    File &quot;/data/data/com.termux/files/home/project/fapi/env/lib/python3.10/site-packages/uvicorn/supervisors/basereload.py&quot;, line 43, in run
      self.startup()
    File &quot;/data/data/com.termux/files/home/project/fapi/env/lib/python3.10/site-packages/uvicorn/supervisors/basereload.py&quot;, line 64, in startup
      self.process.start()
    File &quot;/data/data/com.termux/files/usr/lib/python3.10/multiprocessing/process.py&quot;, line 121, in start
      self._popen = self._Popen(self)
    File &quot;/data/data/com.termux/files/usr/lib/python3.10/multiprocessing/context.py&quot;, line 284, in _Popen
      return Popen(process_obj)
    File &quot;/data/data/com.termux/files/usr/lib/python3.10/multiprocessing/popen_spawn_posix.py&quot;, line 32, in __init__
      super().__init__(process_obj)
    File &quot;/data/data/com.termux/files/usr/lib/python3.10/multiprocessing/popen_fork.py&quot;, line 19, in __init__
      self._launch(process_obj)
    File &quot;/data/data/com.termux/files/usr/lib/python3.10/multiprocessing/popen_spawn_posix.py&quot;, line 39, in _launch
      from . import resource_tracker
    File &quot;/data/data/com.termux/files/usr/lib/python3.10/multiprocessing/resource_tracker.py&quot;, line 38, in &lt;module&gt;
      import _posixshmem
  ModuleNotFoundError: No module named '_posixshmem'
  </code></pre>
  <p>without <code>--reload</code> the server runs, but as expected it doesn’t reload if code changes.</p>
  <p>I tried same with hypercorn, doesn’t work. Seems like uvicorn and hypercorn can't be installed properly in Termux. Can anyone find another way of running fastapi in Termux with hot reloading.</p>
  <p>Sorry for my bad English, I am not native English speaker. Also sorry if my question doesn’t follow guidelines, It’s my first question here.</p>