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

setup via requirements.txt #23

Closed
izipris opened this issue Apr 13, 2020 · 9 comments
Closed

setup via requirements.txt #23

izipris opened this issue Apr 13, 2020 · 9 comments
Labels

Comments

@izipris
Copy link

izipris commented Apr 13, 2020

Hi,

Is there some known issue related to installing testrail-api via requirements.txt ?
I have a requirements.txt file, executed by pip3 install -r requirements.txt which includes a few packages, and in addition: testrail_api==1.5.0
All the packages are collected and installed, except of this one. I'm getting the following error:

 Could not find a version that satisfies the requirement testrail_api==1.5.0 (from -r requirements.txt (line 10)) (from versions: )
No matching distribution found for testrail_api==1.5.0 (from -r requirements.txt (line 10))

Already tried all the variations of testrail_api, testrail-api, 1.5, 1.5.0, etc.
Any ideas?

Thanks!

@tolstislon
Copy link
Owner

Does it work? pip3 install testrail-api==1.5.0

@izipris
Copy link
Author

izipris commented Apr 13, 2020

No :(
Getting the following error:

Collecting testrail-api==1.5.0
  Could not find a version that satisfies the requirement testrail-api==1.5.0 (from versions: )
No matching distribution found for testrail-api==1.5.0

@tolstislon
Copy link
Owner

You are using?

  • Download packages from pypi
  • cpython >= 3.6

I checked now. No problem

@tolstislon
Copy link
Owner

Try pip3 install testrail-api
If good. What version is installed?

@izipris
Copy link
Author

izipris commented Apr 13, 2020

Many thanks for your help.
pip3 install testrail-api is failed also, same error. I'm trying to install other packages such as: numpy, urllib3, unittest-xml-reporting, etc., and there is no problem with them.

@tolstislon
Copy link
Owner

I can not understand the reason

Try pip3 install git+https://github.com/tolstislon/testrail-api.git

@izipris
Copy link
Author

izipris commented Apr 20, 2020

The issue was that on my machine the Python version was 3.5.2 (thought it had 3.6). When I tried it on machine with same specifications and 3.6 it worked properly.
Thanks.

@tolstislon
Copy link
Owner

new version 1.6.0 supports python 3.5

@izipris
Copy link
Author

izipris commented Apr 20, 2020

you're the best, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants