Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install on aws ami linux 2 #164

Open
CharlesLuttos opened this issue Mar 21, 2019 · 0 comments
Open

Can't install on aws ami linux 2 #164

CharlesLuttos opened this issue Mar 21, 2019 · 0 comments

Comments

@CharlesLuttos
Copy link

I'm getting the following error on trying to install through python setup.py install

running install
running bdist_egg
running egg_info
writing python_memcached.egg-info/PKG-INFO
writing dependency_links to python_memcached.egg-info/dependency_links.txt
writing requirements to python_memcached.egg-info/requires.txt
writing top-level names to python_memcached.egg-info/top_level.txt
reading manifest file 'python_memcached.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '.rst'
warning: no files found matching 'MakeFile'
warning: no previously-included files matching '
.pyc' found anywhere in distribution
warning: no previously-included files matching '.gitignore' found anywhere in distribution
warning: no previously-included files matching '.DS_Store' found anywhere in distribution
writing manifest file 'python_memcached.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
copying python_memcached.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying python_memcached.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying python_memcached.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying python_memcached.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying python_memcached.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
Traceback (most recent call last):
File "setup.py", line 35, in
"Programming Language :: Python :: 3.6",
File "/usr/local/lib/python3.7/site-packages/setuptools/init.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/lib64/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib64/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib64/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.7/site-packages/setuptools/command/install.py", line 67, in run
self.do_egg_install()
File "/usr/local/lib/python3.7/site-packages/setuptools/command/install.py", line 109, in do_egg_install
self.run_command('bdist_egg')
File "/usr/lib64/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 220, in run
os.path.join(archive_root, 'EGG-INFO'), self.zip_safe()
File "/usr/local/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 273, in zip_safe
return analyze_egg(self.bdist_dir, self.stubs)
File "/usr/local/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 383, in analyze_egg
safe = scan_module(egg_dir, base, name, stubs) and safe
File "/usr/local/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 422, in scan_module
code = marshal.load(f)
ValueError: bad marshal data (unknown type code)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant