Entering edit mode
7.4 years ago
s.kyungyong64
▴
40
Hi, all.
I am trying to install Falcon assembly on Mac. But I am not so sure how to handle this error....... The installation goes fine until this point
cd /Users/Desktop/software/FALCON-integrate/FALCON; pip uninstall -v .; pip install -v --user --edit .
Obtaining file:///Users/Desktop/software/FALCON-integrate/FALCON
Running setup.py (path:/UsersDesktop/software/FALCON-integrate/FALCON/setup.py) egg_info for package from file:///Users/Desktop/software/FALCON-integrate/FALCON
Running command python setup.py egg_info
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/Desktop/software/FALCON-integrate/FALCON/setup.py", line 71, in <module>
install_requires=install_requires
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/dist.py", line 239, in __init__
self.fetch_build_eggs(attrs.pop('setup_requires'))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/dist.py", line 263, in fetch_build_eggs
parse_requirements(requires), installer=self.fetch_build_egg
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 580, in resolve
raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (networkx 1.11 (/Users/Desktop/software/FALCON-integrate/fc_env/lib/python/site-packages), Requirement.parse('networkx>=1.7,<=1.10'))
Cleaning up...
Command "python setup.py egg_info" failed with error code 1 in /Users/Desktop/software/FALCON-integrate/FALCON/
Exception information:
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/commands/install.py", line 324, in run
requirement_set.prepare_files(finder)
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_set.py", line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_set.py", line 518, in _prepare_file
abstract_dist.prep_for_dist()
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_set.py", line 129, in prep_for_dist
self.req_to_install.run_egg_info()
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_install.py", line 439, in run_egg_info
command_desc='python setup.py egg_info')
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/utils/__init__.py", line 707, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command "python setup.py egg_info" failed with error code 1 in /Users/Desktop/software/FALCON-integrate/FALCON/
make[2]: *** [install-FALCON] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2
When I was installing Falcon on Linux, I had problems with permission and ended up running the following commands .
su -l
source env.sh
make -j all
But on mac, it is not working. So I am not so sure what to try next. Has anyone installed Falcon on mac?
Ah, Thank you! It worked with easy_install!