dhhagan / py-opc

Python wrapper for the Alphasense OPC-N2 built around py-spidev
MIT License
30 stars 26 forks source link

Problems installing py-opc #43

Closed beleme closed 7 years ago

beleme commented 7 years ago

I have a problem because when i write the comand pip install py-opc I get this error

error: could not create úsr/local/lib/python2.7/dist-packages/opc´: Permission denied

how can I solve it?

dhhagan commented 7 years ago

@beleme Sounds like you are having a permissions problem. Try sudo pip install py-opc

beleme commented 7 years ago

thanks!! @dhhagan

problem solved why I have that type of problem ? how can I solve it so that it does not happen again?

dhhagan commented 7 years ago

@beleme It has to do with how you've set your permissions. Google will provide a much better answer than I can..