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

Installation doc is incorrect #128

Open
RolfBly opened this issue Sep 5, 2017 · 1 comment
Open

Installation doc is incorrect #128

RolfBly opened this issue Sep 5, 2017 · 1 comment

Comments

@RolfBly
Copy link

RolfBly commented Sep 5, 2017

As mentioned in issue 122, the installation guideline is off. The following command is wrong:

pip install <egg file> 

where <egg file> is found in .\dist (or ./dist). The command produces this error:

Collecting b2handle-1.1.1-py2.7.egg
  Could not find a version that satisfies the requirement b2handle-1.1.1-py2.7.egg (from versions: )
No matching distribution found for b2handle-1.1.1-py2.7.egg

Instead, one should run:

python setup.py install

To verify installation, run pip freeze. In my case, this produces something like this:

b2handle==1.1.1
certifi==2017.7.27.1
chardet==3.0.4
datetime==4.2
future==0.16.0
idna==2.6
pytz==2017.2
requests==2.18.4
urllib3==1.22
zope.interface==4.4.2

Starting a Python prompt and doing import b2handle completes without error. I'm putting this here hoping it will saves some people time.

@cookie33
Copy link

cookie33 commented Sep 6, 2017

As a system admin I even do it an other way on a rpm based system:

python setup.py bdist_rpm
{zypper|yum} install ./b2handle-<version>.noarch.rpm

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

2 participants