0
django CMSをインストールしようとすると、以下の例外が発生します。助けてくださいdjango-cmsインストールエラー ".pyc not found"
E:\Workspace\cms>pip install django-cms
Collecting django-cms
Using cached django_cms-3.4.1-py2.py3-none-any.whl
Requirement already satisfied: django-treebeard>=4.0.1 in c:\users\satish.sharma\appdata\local\programs\python\python35-32\lib\site-packages (from django-cms)
Requirement already satisfied: djangocms-admin-style>=1.0 in c:\users\satish.sharma\appdata\local\programs\python\python35-32\lib\site-packages (from django-cms)
Requirement already satisfied: django-sekizai>=0.7 in c:\users\satish.sharma\appdata\local\programs\python\python35-32\lib\site-packages (from django-cms)
Requirement already satisfied: Django<1.10,>=1.8 in c:\users\satish.sharma\appdata\local\programs\python\python35-32\lib\site-packages (from django-cms)
Requirement already satisfied: django-classy-tags>=0.7.2 in c:\users\satish.sharma\appdata\local\programs\python\python35-32\lib\site-packages (from django-cms)
Requirement already satisfied: django-formtools>=1.0 in c:\users\satish.sharma\appdata\local\programs\python\python35-32\lib\site-packages (from django-cms)
Installing collected packages: django-cms
Exception:
Traceback (most recent call last):
File "c:\users\satish.sharma\appdata\local\programs\python\python35-32\lib\site-packages\pip\basecommand.py", line 215, in main
status = self.run(options, args)
File "c:\users\satish.sharma\appdata\local\programs\python\python35-32\lib\site-packages\pip\commands\install.py", line 342, in run
prefix=options.prefix_path,
File "c:\users\satish.sharma\appdata\local\programs\python\python35-32\lib\site-packages\pip\req\req_set.py", line 784, in install
**kwargs
File "c:\users\satish.sharma\appdata\local\programs\python\python35-32\lib\site-packages\pip\req\req_install.py", line 851, in install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File "c:\users\satish.sharma\appdata\local\programs\python\python35-32\lib\site-packages\pip\req\req_install.py", line 1064, in move_wheel_files
isolated=self.isolated,
File "c:\users\satish.sharma\appdata\local\programs\python\python35-32\lib\site-packages\pip\wheel.py", line 345, in move_wheel_files
clobber(source, lib_dir, True)
File "c:\users\satish.sharma\appdata\local\programs\python\python35-32\lib\site-packages\pip\wheel.py", line 323, in clobber
shutil.copyfile(srcfile, destfile)
File "c:\users\satish.sharma\appdata\local\programs\python\python35-32\lib\shutil.py", line 115, in copyfile
with open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: 'c:\\users\\satish.sharma\\appdata\\local\\programs\\python\\python35-32\\Lib\\site-packages\\cms\\test_utils\\project\\extensionapp\\migrations\\__pycache__\\0003_multitablepageextension_multitablepageextensionparent_multitabletitleextension_multitabletitleextens.cpython-35.pyc'
これは機能しました。おかげで – ssharma
素晴らしい!あなたの問題を解決したら、それに応じて私の答えを記入してください – petr