0

I want to install a library that will allow me to use units of measure (for example: Lumen, etc.). I installed a package on the computer (through the cmd), the package I see in the environment settings work at Visual Studio but I can not import it into the project and use it. I added a screenshot to illustrate.

enter image description here

1
  • 4
    Your package installation seems to have failed according to the error messages in the bottom left corner of your screen shot.
    – Xvolks
    May 20, 2019 at 13:37

1 Answer 1

0

As indicated in your own screenshot (in the lower left), your installation of python-units seems to have failed:

ERROR: Could not find a version that satisfies the requirement python-units==0.1.2 (from version: none)

Furthermore:

ERROR: No matching distribution found for python-units==0.1.2

Noting that you appear to be using Python 3.7 (again, from your screenshot) and checking the file download page for python-units on PyPI, we can see that only Python 2.x is supported (as indicated in the only available .whl filename):

python_units-0.1.2-py2-none-any.whl

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .