imrahil / OctoPrint-NavbarTemp

Plugin for OctoPrint - displays temperatures on navbar
GNU Affero General Public License v3.0
44 stars 50 forks source link

Could not install on OctoPi #3

Closed Helisinus closed 9 years ago

Helisinus commented 9 years ago

Hi , i don't know if my problem is a Issue because i am new on this. I Use Octopi Version: 1.2.0-dev-705-ga34cbc5 (devel branch). If i try to install the Plugin with: pip install https://github.com/imrahil/OctoPrint-NavbarTemp/archive/master.zip

i get this output: Downloading/unpacking https://github.com/imrahil/OctoPrint-NavbarTemp/archive/master.zip Downloading master.zip Running setup.py egg_info for package from https://github.com/imrahil/OctoPrint-NavbarTemp/archive/master.zip

Downloading/unpacking OctoPrint (from OctoPrint-NavbarTemp==0.3) Could not find any downloads that satisfy the requirement OctoPrint (from OctoPrint-NavbarTemp==0.3) No distributions at all found for OctoPrint (from OctoPrint-NavbarTemp==0.3)

After this, nothing is installed. So what have i to do to install the plugin.

Joerg

imrahil commented 9 years ago

Try this:

source ~/oprint/bin/activate

and then: pip install ...

arekm commented 9 years ago

Doing pip install --upgrade https://github.com/imrahil/OctoPrint-NavbarTemp/archive/master.zip has similar problem. Fortunately there is a workaround:

pip uninstall OctoPrint-NavbarTemp
pip install https://github.com/imrahil/OctoPrint-NavbarTemp/archive/master.zip
imrahil commented 9 years ago
~/oprint/bin/pip install --ignore-installed --force-reinstall --no-deps https://github.com/imrahil/OctoPrint-NavbarTemp/archive/master.zip

added info to readme file

arekm commented 9 years ago

If some files will be gone or renamed in future version then old versions will stay using that command, right? Uninstall & install looks cleaner to me.

imrahil commented 9 years ago

output from shell:

Downloading/unpacking https://github.com/imrahil/OctoPrint-NavbarTemp/archive/master.zip
  Downloading master.zip (unknown size): 25Kb downloaded
  Running setup.py egg_info for package from https://github.com/imrahil/OctoPrint-NavbarTemp/archive/master.zip

Installing collected packages: OctoPrint-NavbarTemp
  Found existing installation: OctoPrint-NavbarTemp 0.4
    Uninstalling OctoPrint-NavbarTemp:
      Successfully uninstalled OctoPrint-NavbarTemp
  Running setup.py install for OctoPrint-NavbarTemp

Successfully installed OctoPrint-NavbarTemp
Cleaning up...

as you can see there is uninstall & install

arekm commented 9 years ago

Thanks, new feature works fine here.