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

Pip installation does not work #11

Open
VinQbator opened this issue Feb 6, 2019 · 7 comments
Open

Pip installation does not work #11

VinQbator opened this issue Feb 6, 2019 · 7 comments

Comments

@VinQbator
Copy link

ingvar@ingvar-ubuntu:~$ pip3 search holdem
holdem (1.0.0)        - OpenAI Gym No-Limit Texas Holdem Environment.
SONNYGAMES (1.3)      - ROYALE HOLDEM  POKER LIVE
dante-pot-odds (0.1)  - Library to calculate pot odds in holdem
`ngvar@ingvar-ubuntu:~$ sudo pip3 install holdem
Collecting holdem
  Could not find a version that satisfies the requirement holdem (from versions: )
No matching distribution found for holdem
ingvar@ingvar-ubuntu:~$

That's what I'm getting

@bdach
Copy link
Contributor

bdach commented Feb 7, 2019

I once had a similar error with another package, and it was a bitness issue (was running pip through an x86 instance python.exe, and there were no x86 packages available). Honestly I'm not very familiar with pip deployment, and this library should be bitness-agnostic, so the only thing I can think of is upgrading python to >=3.6.

Since you've also reported #12, does that mean you've managed to fix it?

@VinQbator
Copy link
Author

I installed from git.

ingvar@ingvar-ubuntu:~$ python3 --version
Python 3.6.7

@bdach
Copy link
Contributor

bdach commented Feb 7, 2019

Okay, so I investigated a little bit, and it seems like it's always been broken, which is weird since I somehow installed it in the past? It might have been that I used it through my fork after making some changes. pip -v helpfully reports

  Analyzing links from page https://pypi.org/simple/holdem/
    Skipping link https://files.pythonhosted.org/packages/00/83/07fc57676e1e398cf436b3bb0da70509515cde9b334ff5f3868df8844a10/holdem-1.0.0-py3.6.egg#sha256=f01ff881aa2aae83f3ae55db93aaf77662d3ce278c8299806a6bf8fd8ea0df09 (from https://pypi.org/simple/holdem/); unsupported archive format: .egg

It looks like pip just doesn't fundamentally support .egg files, so I guess a migration to wheel or some other distribution method will have to happen when the next release happens. Which is probably not going to be until the outstanding bugs are fixed at least...

@BigBadBurrow
Copy link

I remember that I had a problem too, so downloaded it locally and install with pip from the local download.

@RaffaeleAns
Copy link

Hi! I can't install Holdem library with pip. this is the error:
ERROR: Could not find a version that satisfies the requirement holdem (from versions: none)
ERROR: No matching distribution found for holdem

i tried installating locally with pip install /Users/*****/Downloads/holdem-1.0.0-py3.6.egg

but i have several exceptions and the following error:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8c in position 10: invalid start byte

could you please help me?

@snapo
Copy link

snapo commented Aug 25, 2019

It may help others... i installed it in python 3.7 via jupyter notebook and virtualenv like this:

!{sys.executable} -m pip install "https://github.com/wenkesj/holdem/archive/master.zip"

You could also use a branch instead of master.... to test things...

unaeat pushed a commit to unaeat/holdem that referenced this issue Aug 24, 2020
@Xixo99
Copy link

Xixo99 commented May 3, 2022

I install Holdem successfully!
I use the command :"pip install "https://github.com/wenkesj/holdem/archive/master.zip"

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

6 participants