ubuntu 创建Django工程出现:Cannot find installed version of python-django or python3-django.
2017-02-23 22:23
495 查看
我的系统:Ubuntu 16.04
Python版本:2.7.12
已经安装好Django, Django版本:1.11a1
创建Django工程的时候出现:
![](https://oscdn.geek-share.com/Uploads/Images/Content/201911/04/4435f46b8a434bcfa9709570419bca85)
按照提示执行:
再次执行创建工程的命令时出现:
![](https://oscdn.geek-share.com/Uploads/Images/Content/201911/04/7fbd52782c4c021a6263d6d22c812b8a)
解决方法:
执行命令:
![](https://oscdn.geek-share.com/Uploads/Images/Content/201911/04/7cdba80d374302239ef5c8c63b759fa3)
我参考的地址,国外网站
Python版本:2.7.12
已经安装好Django, Django版本:1.11a1
创建Django工程的时候出现:
按照提示执行:
sudo install python-django-common
再次执行创建工程的命令时出现:
Cannot find installed version of python-django or python3-django.
解决方法:
sudo apt-get install python-django
执行命令:
django-admin startproject myblog
我参考的地址,国外网站
相关文章推荐
- Cannot find installed version of python-django or python3-django
- 1.创建空白工程时候出现“activity_main cannot be resolved or is not a field”错误
- 解决创建Maven项目时出现Cannot change version of project facet Dynamic web module to 2.5的问题
- 用maven创建项目出现错误Cannot change version of project facet Dynamic Web Module to 3.0
- UBUNTU 9.10 因断电升级未成功后重启出现“one or more of the mounts listes in /etc/fstab cannot yet be mounted?”?
- Ubuntu 12.04 make menuconfig 出现 Unable to find the ncurses libraries or the required header files.
- class view中的一个方法实现时出现下面错误 cannot find the definition (implementation) of this function
- How To Find Your Ubuntu or Kernel Version -> 查看ubuntu版本
- Could not load file or assembly 'App_Web_xxxx' or one of its dependencies. The system cannot find the file specified.
- OA Framework - How to Find the Correct Version of JDeveloper to Use with E-Business Suite 11i or Release 12.x (Doc ID 416708.1)
- VS2010++ 出现 Cannot find or open the PDB file 的错误解决办法
- ubuntu无法启动,出现attempt to read or write outside of disk hd0错误
- c++执行程序出现"unable to find a version of the runtime"的错误提示
- 在Ubuntu安装完成后更改默认的语言LANG,出现Cannot set LC_CTYPE to default locale: No such file or directory错误的解决办法
- myeclipse工程有红叉,里面文件没错,提示Java compiler level does not match the version of the installed Java project
- 解决maven工程中出现The project was not built since its build path is incomplete. Cannot find the class file
- 安装 Microsoft.NET Framework 2.0 出现问题 setup cannot continue because this version of the .net framework。。。
- Eclipse工程中Java compiler level does not match the version of the installed Java project错误
- VS2010 C++ Debug 出现错误“Cannot find or open the PDB file”(续)
- Python操作Oracle数据库时出现ImportError: libclntsh.so.10.1: cannot open shared object file: No such file or