hyperskill / hs-test-python

A framework that simplifies testing educational projects for Hyperskill.
15 stars 10 forks source link

this can't be located as a package for pycharm #8

Closed lNyx closed 4 years ago

lNyx commented 4 years ago

when openning a python Hyperskill project in pycharm it says the hs-test-python dependency isn't satisfied. any attempts to install the package prove futile. rendering running any further tests impossible. image

aaaaaa2493 commented 4 years ago

Hi! Looks like anaconda cannot download packages located on GitHub. You can try to install the library using an absolute path pip install https://github.com/hyperskill/hs-test-python/archive/release.tar.gz. Make sure that it is installed in the virtual environment that is created for this PyCharm project.

Another way is to use regular python, it is proved to work in Python 3.7 and 3.8. You can choose an interpreter when downloading the project from the Hyperksill. This way, this library will be installed automatically.

lNyx commented 4 years ago

when i tried opening the project with regular python 3.7 interpreter before, it couldn't install the package either. but the manual installation worked, thanks!