-
Notifications
You must be signed in to change notification settings - Fork 74
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
setup.py install cryptic error when cmake is missing #436
Comments
python setup.py install --user --force This is how i try to install (pretty basic) from the root directory of the folder |
We don't currently support Anaconda although other people in the blog have been able to get it to work. |
Thank you both for looking into this! |
Hello,
I'm sorry the title is misleading.
I'm trying to do a pip install .
This is not on anaconda .
It is for Python 3.7
…On Thu, 2 May, 2019, 20:26 breznak, ***@***.***> wrote:
Closed #436 <#436>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#436 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AL67N7AYHIGNYEVWSUMM2VDPTL6JFANCNFSM4HJ4TVMQ>
.
|
pip install nupic.cpp is not supported yet, python setup.py install is. |
I navigate to the directory where setup.py is located. python setup.py install |
python setup.py install --user --force This is how i try to install (pretty basic) from the root directory of the folder |
ok, that seems correct.
|
It should say nupic-cpp is successfully installed. But I get the following error. python setup.py install **setup.py: Calling C:\Users\I0000847\Documents\Time series Anomaly detection pack ****Traceback (most recent call last): File "C:\ProgramData\Anaconda3\lib\runpy.py", line 263, in run_path
FileNotFoundError: [WinError 2] The system cannot find the file specified**** |
can you verify the file exists actually? |
Yes it does. |
Still the same issue |
no, that is the 1st one, setup.py, the other is in bindings\py\packaging\ |
Yes that exists |
Can you test with #449 please? or wait once it's merged to master. |
JUst tested with #449 .... C:\Users\I0000847\Documents\ts_ad_packages\nupic.cpp-master_new\nupic.cpp-master
setup.py: Calling C:\Users\I0000847\Documents\ts_ad_packages\nupic.cpp-master_ne Traceback (most recent call last): File "C:\ProgramData\Anaconda3\lib\runpy.py", line 263, in run_path
FileNotFoundError: [WinError 2] The system cannot find the file specified |
seems setup.py (even the one in packaging/) is running.
|
Nope cmake is not installed |
PY_VER : -DBINDING_BUILD=Python3 |
well, if you see README, cmake is a requirement! |
@dkeeney to avoid problems like this, can we check in setup.py that the cmake binary exists and give a clearer error message if not? |
Sounds like a reasonable thing to do. |
We do (maybe) support anaconda python and cmake is a part of pip dependencies. |
Traceback (most recent call last):
File "setup.py", line 57, in
File "C:\ProgramData\Anaconda3\lib\runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "C:\ProgramData\Anaconda3\lib\runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "C:\ProgramData\Anaconda3\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\I0000847\Documents\Time series Anomaly detection packages\nupic
.cpp-master\bindings\py\packaging\setup.py", line 226, in
getExtensionFiles(platform)
File "C:\Users\I0000847\Documents\Time series Anomaly detection packages\nupic
.cpp-master\bindings\py\packaging\setup.py", line 182, in getExtensionFiles
generateExtensions()
File "C:\Users\I0000847\Documents\Time series Anomaly detection packages\nupic
.cpp-master\bindings\py\packaging\setup.py", line 211, in generateExtensions
subprocess.check_call(["cmake", PY_VER, REPO_DIR])
File "C:\ProgramData\Anaconda3\lib\subprocess.py", line 286, in check_call
retcode = call(*popenargs, **kwargs)
File "C:\ProgramData\Anaconda3\lib\subprocess.py", line 267, in call
with Popen(*popenargs, **kwargs) as p:
File "C:\ProgramData\Anaconda3\lib\subprocess.py", line 707, in init
restore_signals, start_new_session)
File "C:\ProgramData\Anaconda3\lib\subprocess.py", line 990, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified
The text was updated successfully, but these errors were encountered: