Python 3.x 在生产服务器中找不到taggit模块错误(python anywhere)

Python 3.x 在生产服务器中找不到taggit模块错误(python anywhere),python-3.x,django-models,deployment,web-deployment,Python 3.x,Django Models,Deployment,Web Deployment,我已经创建了博客应用程序,现在我正在pythonanywhere.com上部署它 我使用GIT for VCS和GITHUB作为远程托管服务器 () 我得到ModuleNotFoundError:没有名为“taggit”的模块,尽管在Pycharm上的本地计算机中,我没有得到任何关于此第三方taggit模块的错误 请从服务器控制台查找以下代码 |████████████████████████████████| 7.5 MB 13.4 MB/s Collecting pytz

我已经创建了博客应用程序,现在我正在pythonanywhere.com上部署它 我使用GIT for VCS和GITHUB作为远程托管服务器 ()

我得到ModuleNotFoundError:没有名为“taggit”的模块,尽管在Pycharm上的本地计算机中,我没有得到任何关于此第三方taggit模块的错误

请从服务器控制台查找以下代码

       |████████████████████████████████| 7.5 MB 13.4 MB/s 
Collecting pytz
  Downloading pytz-2020.1-py2.py3-none-any.whl (510 kB)
     |████████████████████████████████| 510 kB 12.7 MB/s 
Collecting asgiref~=3.2
  Downloading asgiref-3.2.10-py3-none-any.whl (19 kB)
Collecting sqlparse>=0.2.2
  Downloading sqlparse-0.3.1-py2.py3-none-any.whl (40 kB)
     |████████████████████████████████| 40 kB 804 kB/s 
Installing collected packages: pytz, asgiref, sqlparse, django
Successfully installed asgiref-3.2.10 django-3.0.4 pytz-2020.1 sqlparse-0.3.1
(myproj) 12:07 ~ $ pip list
Package    Version
---------- -------
asgiref    3.2.10
Django     3.0.4
pip        20.2.1
pytz       2020.1
setuptools 49.2.1
sqlparse   0.3.1
wheel      0.34.2
(myproj) 12:07 ~ $ git clone https://github.com/shaileshyadav7771/shaileshproject.git
Cloning into 'shaileshproject'...
Username for 'https://github.com': shaileshyadav7958@gmail.com
Password for 'https://shaileshyadav7958@gmail.com@github.com': 
remote: Enumerating objects: 71, done.
remote: Counting objects: 100% (71/71), done.
remote: Compressing objects: 100% (54/54), done.
remote: Total 71 (delta 17), reused 64 (delta 14), pack-reused 0
     |████████████████████████████████| 7.5 MB 13.4 MB/s 
Collecting pytz
  Downloading pytz-2020.1-py2.py3-none-any.whl (510 kB)
     |████████████████████████████████| 510 kB 12.7 MB/s 
Collecting asgiref~=3.2
  Downloading asgiref-3.2.10-py3-none-any.whl (19 kB)
Collecting sqlparse>=0.2.2
  Downloading sqlparse-0.3.1-py2.py3-none-any.whl (40 kB)
     |████████████████████████████████| 40 kB 804 kB/s 
Installing collected packages: pytz, asgiref, sqlparse, django
Successfully installed asgiref-3.2.10 django-3.0.4 pytz-2020.1 sqlparse-0.3.1
(myproj) 12:07 ~ $ pip list
Package    Version
---------- -------
asgiref    3.2.10
Django     3.0.4
pip        20.2.1
pytz       2020.1
setuptools 49.2.1
sqlparse   0.3.1
wheel      0.34.2
(myproj) 12:07 ~ $ git clone https://github.com/shaileshyadav7771/shaileshproject.git
Cloning into 'shaileshproject'...
Username for 'https://github.com': shaileshyadav7958@gmail.com
Password for 'https://shaileshyadav7958@gmail.com@github.com': 
remote: Enumerating objects: 71, done.
     |████████████████████████████████| 7.5 MB 13.4 MB/s 
Collecting pytz
  Downloading pytz-2020.1-py2.py3-none-any.whl (510 kB)
     |████████████████████████████████| 510 kB 12.7 MB/s 
Collecting asgiref~=3.2
  Downloading asgiref-3.2.10-py3-none-any.whl (19 kB)
Collecting sqlparse>=0.2.2
  Downloading sqlparse-0.3.1-py2.py3-none-any.whl (40 kB)
     |████████████████████████████████| 40 kB 804 kB/s 
Installing collected packages: pytz, asgiref, sqlparse, django
Successfully installed asgiref-3.2.10 django-3.0.4 pytz-2020.1 sqlparse-0.3.1
(myproj) 12:07 ~ $ pip list
Package    Version
---------- -------
asgiref    3.2.10
Django     3.0.4
pip        20.2.1
pytz       2020.1
setuptools 49.2.1
sqlparse   0.3.1
wheel      0.34.2
(myproj) 12:07 ~ $ git clone https://github.com/shaileshyadav7771/shaileshproject.git
Cloning into 'shaileshproject'...
wheel      0.34.2
Username for 'https://github.com': shaileshyadav7958@gmail.com
Password for 'https://shaileshyadav7958@gmail.com@github.com': 
remote: Enumerating objects: 71, done.
remote: Counting objects: 100% (71/71), done.
remote: Compressing objects: 100% (54/54), done.
remote: Total 71 (delta 17), reused 64 (delta 14), pack-reused 0
Unpacking objects: 100% (71/71), done.
Checking connectivity... done.
(myproj) 12:55 ~ $ ls
README.txt  shaileshproject
(myproj) 12:56 ~ $ cd shaileshproject/
(myproj) 12:57 ~/shaileshproject (master)$ ls
blog  blog_project  db.sqlite3  manage.py  static  templates
(myproj) 12:58 ~/shaileshproject (master)$ which django-admin
/home/shaileshyadav/.virtualenvs/myproj/bin/django-admin
(myproj) 13:03 ~/shaileshproject (master)$ ls
blog  blog_project  db.sqlite3  manage.py  static  templates
(myproj) 13:05 ~/shaileshproject (master)$ ls
blog  blog_project  db.sqlite3  manage.py  static  templates
(myproj) 13:07 ~/shaileshproject (master)$ python manage.py makemigrations
Traceback (most recent call last):
  File "manage.py", line 21, in <module>
    main()
  File "manage.py", line 17, in main
    execute_from_command_line(sys.argv)
  File "/home/shaileshyadav/.virtualenvs/myproj/lib/python3.7/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line
    utility.execute()
  File "/home/shaileshyadav/.virtualenvs/myproj/lib/python3.7/site-packages/django/core/management/__init__.py", line 377, in execute
    django.setup()
  File "/home/shaileshyadav/.virtualenvs/myproj/lib/python3.7/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/home/shaileshyadav/.virtualenvs/myproj/lib/python3.7/site-packages/django/apps/registry.py", line 91, in populate
    app_config = AppConfig.create(entry)
  File "/home/shaileshyadav/.virtualenvs/myproj/lib/python3.7/site-packages/django/apps/config.py", line 90, in create
    module = import_module(entry)
  File "/home/shaileshyadav/.virtualenvs/myproj/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'taggit'
(myproj) 13:07 ~/shaileshproject (master)$ 



  
|████████████████████████████████| 7.5 MB 13.4 MB/s
收集pytz
下载pytz-2020.1-py2.py3-none-any.whl(510 kB)
|████████████████████████████████| 510 kB 12.7 MB/s
收集asgiref~=3.2
下载asgiref-3.2.10-py3-none-any.whl(19 kB)
正在收集sqlparse>=0.2.2
下载sqlparse-0.3.1-py2.py3-none-any.whl(40KB)
|████████████████████████████████| 40 kB 804 kB/s
安装收集的软件包:pytz、asgiref、sqlparse、django
已成功安装asgiref-3.2.10 django-3.0.4 pytz-2020.1 sqlparse-0.3.1
(myproj)12:07~$pip列表
软件包版本
---------- -------
asgiref 3.2.10
Django 3.0.4
pip 20.2.1
pytz 2020.1
设置工具49.2.1
sqlparse 0.3.1
车轮0.34.2
(myproj)12:07~$git克隆https://github.com/shaileshyadav7771/shaileshproject.git
克隆到“shaileshproject”。。。
'的用户名https://github.com': shaileshyadav7958@gmail.com
'的密码https://shaileshyadav7958@gmail。com@github.com': 
远程:枚举对象:71,完成。
远程:计数对象:100%(71/71),完成。
远程:压缩对象:100%(54/54),完成。
远程:共71个(增量17),重复使用64个(增量14),包重复使用0
|████████████████████████████████| 7.5 MB 13.4 MB/s
收集pytz
下载pytz-2020.1-py2.py3-none-any.whl(510 kB)
|████████████████████████████████| 510 kB 12.7 MB/s
收集asgiref~=3.2
下载asgiref-3.2.10-py3-none-any.whl(19 kB)
正在收集sqlparse>=0.2.2
下载sqlparse-0.3.1-py2.py3-none-any.whl(40KB)
|████████████████████████████████| 40 kB 804 kB/s
安装收集的软件包:pytz、asgiref、sqlparse、django
已成功安装asgiref-3.2.10 django-3.0.4 pytz-2020.1 sqlparse-0.3.1
(myproj)12:07~$pip列表
软件包版本
---------- -------
asgiref 3.2.10
Django 3.0.4
pip 20.2.1
pytz 2020.1
设置工具49.2.1
sqlparse 0.3.1
车轮0.34.2
(myproj)12:07~$git克隆https://github.com/shaileshyadav7771/shaileshproject.git
克隆到“shaileshproject”。。。
'的用户名https://github.com': shaileshyadav7958@gmail.com
'的密码https://shaileshyadav7958@gmail。com@github.com': 
远程:枚举对象:71,完成。
|████████████████████████████████| 7.5 MB 13.4 MB/s
收集pytz
下载pytz-2020.1-py2.py3-none-any.whl(510 kB)
|████████████████████████████████| 510 kB 12.7 MB/s
收集asgiref~=3.2
下载asgiref-3.2.10-py3-none-any.whl(19 kB)
正在收集sqlparse>=0.2.2
下载sqlparse-0.3.1-py2.py3-none-any.whl(40KB)
|████████████████████████████████| 40 kB 804 kB/s
安装收集的软件包:pytz、asgiref、sqlparse、django
已成功安装asgiref-3.2.10 django-3.0.4 pytz-2020.1 sqlparse-0.3.1
(myproj)12:07~$pip列表
软件包版本
---------- -------
asgiref 3.2.10
Django 3.0.4
pip 20.2.1
pytz 2020.1
设置工具49.2.1
sqlparse 0.3.1
车轮0.34.2
(myproj)12:07~$git克隆https://github.com/shaileshyadav7771/shaileshproject.git
克隆到“shaileshproject”。。。
车轮0.34.2
'的用户名https://github.com': shaileshyadav7958@gmail.com
'的密码https://shaileshyadav7958@gmail。com@github.com': 
远程:枚举对象:71,完成。
远程:计数对象:100%(71/71),完成。
远程:压缩对象:100%(54/54),完成。
远程:共71个(增量17),重复使用64个(增量14),包重复使用0
拆包对象:100%(71/71),完成。
正在检查连接。。。完成。
(myproj)12:55~$ls
README.txt shaileshproject
(myproj)12:56~$cd shaileshproject/
(myproj)12:57~/shaileshproject(主项目)$ls
blog blog_项目db.sqlite3 manage.py静态模板
(myproj)12:58~/shaileshproject(master)$哪个django管理员
/home/shaileshyadav/.virtualenvs/myproj/bin/django admin
(myproj)13:03~/shaileshproject(主项目)$ls
blog blog_项目db.sqlite3 manage.py静态模板
(myproj)13:05~/shaileshproject(主项目)$ls
blog blog_项目db.sqlite3 manage.py静态模板
(myproj)13:07~/shaileshproject(master)$python manage.py makemigrations
回溯(最近一次呼叫最后一次):
文件“manage.py”,第21行,在
main()
文件“manage.py”,第17行,主
从命令行(sys.argv)执行命令
文件“/home/shaileshyadav/.virtualenvs/myproj/lib/python3.7/site packages/django/core/management/_init__.py”,第401行,从命令行执行
utility.execute()
文件“/home/shaileshyadav/.virtualenvs/myproj/lib/python3.7/site packages/django/core/management/_init___;.py”,第377行,执行
django.setup()
文件“/home/shaileshyadav/.virtualenvs/myproj/lib/python3.7/site packages/django/\uuuu init\uuuu.py”,第24行,在安装程序中
应用程序。填充(设置。已安装的应用程序)
文件“/home/shaileshyadav/.virtualenvs/myproj/lib/python3.7/site packages/django/apps/registry.py”,第91行,填充
app_config=AppConfig.create(条目)
文件“/home/shaileshyadav/.virtualenvs/myproj/lib/python3.7/site-packages/django
pip install django-taggit