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

Cant install on windows #943

Open
mc17336 opened this issue Jul 3, 2021 · 6 comments
Open

Cant install on windows #943

mc17336 opened this issue Jul 3, 2021 · 6 comments

Comments

@mc17336
Copy link

mc17336 commented Jul 3, 2021

Hi,

I tried installing using the read me, using python -m pip install -i https://test.pypi.org/simple/ htm.core but got the following error:
ERROR: Could not find a version that satisfies the requirement htm.core (from versions: none)
ERROR: No matching distribution found for htm.core

I then tried building from the setup.py doc but get the following error:
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1420, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified

I've installed requirements using the requirements.txt file and also ensured I have cmake installed. Can anyone help please?

Thanks, M

@dkeeney
Copy link

dkeeney commented Jul 3, 2021

The pip install only works with python 3.7 and maybe 3.8. So you will need to build from sources. See ReadMe.

Would anyone like to take over the generation of the PyPi files?

@HMaker
Copy link

HMaker commented Jul 3, 2021

@dkeeney why it's hosted on test pypi and not on main pypi repo?

@dkeeney
Copy link

dkeeney commented Jul 3, 2021

@dkeeney why it's hosted on test pypi and not on main pypi repo?

Because we never really finished transitioning from a proof-of-concept trial to full production into PyPi. So, with the exception of the few combinations of Python versions and OS versions that we exported, I suggest that everyone build from sources.

Having said that, I realize that having a complete set of PyPi modules would certainly be useful for the Python developers out there because they would not be required to have a C++ compiler installed. What we need is someone willing to take on the project of doing all of the builds or setting up a build stream that can build them.

@ctrl-z-9000-times
Copy link
Collaborator

ctrl-z-9000-times commented Jul 4, 2021

I can take a look into publishing htm-core on pypi, not now but later this week.
I've published other packages on pypi before, so I'm familiar with the process.
I think it should be possible to set up github to automatically do a lot of the work. (https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/)
Also, IIRC Breznak did the last release so he might know something about the process?
EDIT: I see now that Breznak started writing a release script: https://github.com/htm-community/htm.core/blob/master/.github/workflows/release.yml

@ctrl-z-9000-times
Copy link
Collaborator

ctrl-z-9000-times commented Jul 19, 2021

Update: I don't think I will be getting around to fixing this anytime soon, so if someone else wants to drive this issue it's all yours.

Status:

  • Blocked by: REST API missing file #950
  • Would be nice to have: Move from "test.pypi.org" to the real pypi.org #952
  • Another issue: We think that Matt (rest in peace) created the pypi account. Someone should talk to everyone at Numenta to see if they inherited the password. Otherwise we will need to make a new pypi account. PyPi accounts are free, but we will need to decide how to manage the credentials for any new account.

@dkeeney
Copy link

dkeeney commented Jul 19, 2021

@ctrl-z-9000-times Thanks for doing as much as you did.
I cannot work on this right now but perhaps latter.

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

4 participants