question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

unable to install on Win 7

See original GitHub issue

whether using python setup.py install or pip install glove-python commands from Anaconda prompt, any installation attempt ends in failure with the error 2 below

c:\Anaconda>pip install glove-python
Collecting glove-python
  Downloading glove_python-0.1.0.tar.gz (263kB)
    100% |################################| 266kB 744kB/s
Requirement already satisfied (use --upgrade to upgrade): numpy in c:\anaconda\l
ib\site-packages (from glove-python)
Requirement already satisfied (use --upgrade to upgrade): scipy in c:\anaconda\l
ib\site-packages (from glove-python)
Building wheels for collected packages: glove-python
  Running setup.py bdist_wheel for glove-python ... error
  Complete output from command c:\anaconda\python.exe -u -c "import setuptools,
tokenize;__file__='c:\\users\\captain\\appdata\\local\\temp\\pip-build-jiom9g\\g
love-python\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).re
ad().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d c:\users\captain\
appdata\local\temp\tmpbo71fdpip-wheel- --python-tag cp27:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-2.7
  creating build\lib.win-amd64-2.7\glove
  copying glove\corpus.py -> build\lib.win-amd64-2.7\glove
  copying glove\glove.py -> build\lib.win-amd64-2.7\glove
  copying glove\__init__.py -> build\lib.win-amd64-2.7\glove
  running build_ext

  building 'glove.glove_cython' extension
  error: [Error 2] The system cannot find the file specified

Issue Analytics

  • State:open
  • Created 8 years ago
  • Comments:33 (2 by maintainers)

github_iconTop GitHub Comments

15reactions
rahul4tripathi2commented, Aug 29, 2017

How to install glove-python in windows

  1. git clone https://github.com/maciejkula/glove-python.git

  2. goto cloned directory location and open setup.py and remove ‘stdc++’ from libraries=[] paramerter after removing it will look like below

    Extension(“glove.corpus_cython”, [glove_corpus], language=‘C++’, libraries=[], extra_link_args=compile_args, extra_compile_args=compile_args)]

  3. conda install cython

  4. open cmd from that location where setup.py is stored and run below command python setup.py install

  5. Verify glove

5reactions
huan086commented, Aug 7, 2016

I removed stdc++ from setup.py and it compiled and worked

        Extension("glove.corpus_cython", [glove_corpus],
                  language='C++',
                  libraries=[],
                  extra_link_args=compile_args,
                  extra_compile_args=compile_args)]
Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't install anything on Windows 7 - Microsoft Community
Can't install anything on Windows 7. Hello, for a few weeks now I've been having issues with installing programs. It will download them...
Read more >
Fix “Windows is unable to install to the selected location” in ...
First, insert the Windows 7 install DVD and boot up to the setup screen. Now go to the point where you have to...
Read more >
[SOLVED] - can't install windows 7.... - Tom's Hardware Forum
wim from a installation usb/dvd to a hdd/sdd so that the installation will be done on the target system,no slipstreaming and no nothing....
Read more >
Garmin Express Fails to Install or Update on a Windows ...
8. End any Microsoft Installer Processes in Task Manager · If prompted to allow Task Manager to make changes to your computer, click...
Read more >
Windows 7: Why am I not able to install any software although ...
How to install Windows (7) : · Restart your computer with the Windows 7 DVD in your optical drive, or with the properly...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found