dpinney / omf

The Open Modeling Framework for smart grid cost-benefit analysis.
https://omf.coop
GNU General Public License v2.0
112 stars 60 forks source link

install prob #306

Closed deepbluc closed 9 years ago

deepbluc commented 9 years ago

See below from attempted install following all instructions on Git. Appreciate your help. +++++++++++++++++++++++++++++++++++++++++++

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\omf-0.1\omf-0.1>python setup.py develop
running develop
running egg_info
writing requirements to omf.egg-info\requires.txt
writing top-level names to omf.egg-info\top_level.txt
writing omf.egg-info\PKG-INFO
writing dependency_links to omf.egg-info\dependency_links.txt
reading manifest file 'omf.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'omf\.git'
no previously-included directories found matching 'omf\data\Model\admin'
no previously-included directories found matching 'omf\scratch'
no previously-included directories found matching 'omf\build'
no previously-included directories found matching 'omf\dist'
no previously-included directories found matching 'omf\omf.egg-info'
writing manifest file 'omf.egg-info\SOURCES.txt'
running build_ext
Creating c:\python34\lib\site-packages\omf.egg-link (link to .)
Adding omf 0.1 to easy-install.pth file

Installed c:\omf-0.1\omf-0.1
Processing dependencies for omf==0.1
Searching for beautifulsoup4>=4.3.2
Reading https://pypi.python.org/simple/beautifulsoup4/
Best match: beautifulsoup4 4.3.2
Downloading https://pypi.python.org/packages/source/b/beautifulsoup4/beautifulso
up4-4.3.2.tar.gz#md5=b8d157a204d56512a4cc196e53e7d8ee
Processing beautifulsoup4-4.3.2.tar.gz
Writing C:\Users\daldrich\AppData\Local\Temp\easy_install-66_xf52e\beautifulsoup
4-4.3.2\setup.cfg
Running beautifulsoup4-4.3.2\setup.py -q bdist_egg --dist-dir C:\Users\daldrich\
AppData\Local\Temp\easy_install-66_xf52e\beautifulsoup4-4.3.2\egg-dist-tmp-n8emv
a1c
zip_safe flag not set; analyzing archive contents...
Adding beautifulsoup4 4.3.2 to easy-install.pth file

Installed c:\python34\lib\site-packages\beautifulsoup4-4.3.2-py3.4.egg
Searching for beautifulsoup>=3.2.1
Reading https://pypi.python.org/simple/beautifulsoup/
Best match: BeautifulSoup 3.2.1
Downloading https://pypi.python.org/packages/source/B/BeautifulSoup/BeautifulSou
p-3.2.1.tar.gz#md5=44656527ef3ac9874ac4d1c9f35f70ee
Processing BeautifulSoup-3.2.1.tar.gz
Writing C:\Users\daldrich\AppData\Local\Temp\easy_install-_1yevp3u\BeautifulSoup
-3.2.1\setup.cfg
Running BeautifulSoup-3.2.1\setup.py -q bdist_egg --dist-dir C:\Users\daldrich\A
ppData\Local\Temp\easy_install-_1yevp3u\BeautifulSoup-3.2.1\egg-dist-tmp-hozvqqv
0
Traceback (most recent call last):
  File "setup.py", line 59, in <module>
    install_requires = open("requirements.txt").readlines(),
  File "C:\Python34\lib\distutils\core.py", line 148, in setup
    dist.run_commands()
  File "C:\Python34\lib\distutils\dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "C:\Python34\lib\distutils\dist.py", line 974, in run_command
    cmd_obj.run()
  File "C:\Python34\lib\site-packages\setuptools\command\develop.py", line 27, i
n run
    self.install_for_development()
  File "C:\Python34\lib\site-packages\setuptools\command\develop.py", line 129,
in install_for_development
    self.process_distribution(None, self.dist, not self.no_deps)
  File "C:\Python34\lib\site-packages\setuptools\command\easy_install.py", line
671, in process_distribution
    [requirement], self.local_index, self.easy_install
  File "C:\Python34\lib\site-packages\pkg_resources.py", line 564, in resolve
    dist = best[req.key] = env.best_match(req, self, installer)
  File "C:\Python34\lib\site-packages\pkg_resources.py", line 802, in best_match

    return self.obtain(req, installer) # try and download/install
  File "C:\Python34\lib\site-packages\pkg_resources.py", line 814, in obtain
    return installer(requirement)
  File "C:\Python34\lib\site-packages\setuptools\command\easy_install.py", line
593, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "C:\Python34\lib\site-packages\setuptools\command\easy_install.py", line
623, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "C:\Python34\lib\site-packages\setuptools\command\easy_install.py", line
809, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "C:\Python34\lib\site-packages\setuptools\command\easy_install.py", line
1015, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "C:\Python34\lib\site-packages\setuptools\command\easy_install.py", line
1000, in run_setup
    run_setup(setup_script, args)
  File "C:\Python34\lib\site-packages\setuptools\sandbox.py", line 50, in run_se
tup
    lambda: execfile(
  File "C:\Python34\lib\site-packages\setuptools\sandbox.py", line 100, in run
    return func()
  File "C:\Python34\lib\site-packages\setuptools\sandbox.py", line 52, in <lambd
a>
    {'__file__':setup_script, '__name__':'__main__'}
  File "C:\Python34\lib\site-packages\setuptools\compat.py", line 78, in execfil
e
    exec(compile(source, fn, 'exec'), globs, locs)
  File "setup.py", line 22
    print "Unit tests have failed!"
                                  ^
SyntaxError: Missing parentheses in call to 'print'

C:\omf-0.1\omf-0.1>
dpinney commented 9 years ago

Mmm, I think you have Python 3. We only support 2.7.x.

dpinney commented 9 years ago

Install walkthrough is here: https://github.com/dpinney/omf/wiki/Developer-Installation-Instructions

dpinney commented 9 years ago

Let me know if you'd still like help and we can jump on a screen sharing session.