How to install a python package(PyXLL) correctly that is enclosed in a .zip file (that includes a bunch of different file formats)?

StackOverflow https://stackoverflow.com/questions/10348486

문제

I downloaded a .zip file to install the python PyXLL package, using sudo apt-get install PyXLL or sudo pip install PyXLL doesn't work. Normally when you double click on a downloaded .zip that contains something to install in ubuntu it autoinstalls. But now it just opens the zip file that includes a bunch of different file formats. How do I install PyXLL correctly?

도움이 되었습니까?

해결책

PyXXL does not provide a setup.py or a .deb in the ubuntu repositories. The best thing you can do is to add the .py in you PYTHONPATH so that it can be found by import. If you want everyone to be able to use the code a good path to add it is in /usr/local/lib/python2.7/dist-packages but first take a look at the file system hierarchy standard to decide where to place it.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top