-
-
Notifications
You must be signed in to change notification settings - Fork 500
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Anyleaf ph, install dependencies #863
Comments
Try this:
Ref: ethereum/eth-abi#131 |
I tried and it returns this message written in red: WARNING:Skipping typing as it is not installed. |
I don't have /home/pi/Mycodo/env/lib/python3.7/site-packages/typing.py, so I can't replicate your issue. I'm not sure how you got that package in your environment, considering it's a built-in package since Python 3.5, but that's what's causing your problem. |
Try deleting and rebuilding your virtual environment:
|
I tried with the commands but failed to fix. I reinstalled mycodo on the raspberry (zero), tried to add only anyleaf ph as input and nothing else. Thank you so much for this software and for your help! [2020-10-08 15:27:57] Dependency installation beginning. Installing: python3-numpy,python3-scipy,anyleaf,adafruit_extended_bus [2020-10-08 15:27:59] [2020-10-08 15:29:20] End install of python3-numpy [2020-10-08 15:29:21] [2020-10-08 15:31:24] End install of python3-scipy [2020-10-08 15:31:27] [2020-10-08 15:41:01] End install of anyleaf [2020-10-08 15:41:02] [2020-10-08 15:44:02] End install of adafruit_extended_bus [2020-10-08 15:44:03] [2020-10-08 15:44:08] #### All Dependencies have been installed. |
I don't see your previous error, do you? I only see read timeouts, which could mean an issue with your internet connection or server you're trying to connect to. |
Now the error is another. I tried to connect to a different network and tried again to install the two missing dependencies but without success. Sorry for the few details I can give you but I use google translate and I wouldn't want to write wrong! [2020-10-08 17:03:11] Dependency installation beginning. Installing: anyleaf,adafruit_extended_bus [2020-10-08 17:03:13] [2020-10-08 17:11:46] End install of anyleaf [2020-10-08 17:11:47] [2020-10-08 17:15:39] End install of adafruit_extended_bus [2020-10-08 17:15:41] [2020-10-08 17:15:46] #### All Dependencies have been installed. |
I'm encountering the same error trying to install dependency Fresh 8.8.6 install on an unmodified RasPi 3B+ running the Raspbian LITE image from 8-20-20. My dependency install fails at: `[2020-10-11 21:14:52] #### Installing/updating adafruit-circuitpython-sgp30 (pip-pypi) [2020-10-11 21:16:00] End install of adafruit_sgp30 [2020-10-11 21:16:00] [2020-10-11 21:16:01] #### All Dependencies have been installed.` ...pip module I attempted to roll Any ideas would be much appreciated - it appears to be a string-parsing issue, but without digging into the sourcecode for pip I'm not sure how best to proceed. Thank you! AKA |
I tried to install raspbian desktop instead of rapsbian lite on raspberry 4 and the dependencies install correctly. I hope this information can be useful in some way ...... thanks again for Mycodo !!!! 2020-10-12 11:49:10] Dependency installation beginning. Installing: python3-scipy,anyleaf,adafruit_extended_bus [2020-10-12 11:49:10] [2020-10-12 11:49:37] End install of python3-scipy [2020-10-12 11:49:37] [2020-10-12 11:50:27] End install of anyleaf [2020-10-12 11:50:27] [2020-10-12 11:50:31] End install of adafruit_extended_bus [2020-10-12 11:50:31] [2020-10-12 11:50:32] #### All Dependencies have been installed. |
I'm glad this worked out, and that's useful information about the Raspbian distro. I'm suspicious this is caused by the Lite version of Raspian missing some system dependencies that Scipy relies on. (And perhaps these are installable using apt, to prevent the need to install a new OS). |
Thanks for sharing the solution! Using the non-LITE Raspian distro fixed this issue for me as well. |
All of my Raspbian installs are Lite, but they don't suffer from this issue, so it's likely something introduced recently. If I get some time, I'll install the latest Lite version and experiment to discover any conflicts/dependencies that aren't accounted for. |
I've been trying to track down this issue, but haven't made any conclusions yet. However, I have found that I can install Adafruit_Extended_Bus to the Mycodo virtual env when I run |
I had the same issue when trying to install Adafruit_Extended_Bus for the MCP4728 in #893. I was able to get it to work after installing pyusb as a user. |
I'm closer to finding the issue, but in the meantime, I found a fix for the several sensors that have pyusb as a dependency. I found that the latest version (1.1.0) won't install as root, but the next lower version (1.0.2) will. Since Adafruit_Extended_Bus needs >= 1.0.0, specifying version pyusb==1.0.2 in the dependency line seems to work. The install will fail with this command: sudo ~/Mycodo/env/bin/pip3 install Adafruit_Extended_Bus The install will succeed with these commands: sudo ~/Mycodo/env/bin/pip3 install pyusb==1.0.2
sudo ~/Mycodo/env/bin/pip3 install Adafruit_Extended_Bus |
Alright, I might put this issue to bed. I'm not really getting anywhere with getting 1.1.0 installed. However, I did find apt has the package python3-usb, which I think might be what's installed by default on the Desktop but not the Lite version of the Raspberry Pi OS. If so, that may explain why this issue doesn't present itself on the Desktop version, as it installs pyusb 1.0.2. |
…te stepper motor output module, add Message and New Line options to Custom Outputs
The latest release of pyusb (1.1.1, Jan 20, 2021) seems to have fixed the install issue. |
Thank you very much Kyle! |
Describe the problem/bug
Try to install the following dependencies : "anyleaf "and "adafruit_extended_bus"
Versions:
Hi, first of all I want to thank you for this wonderful software!
I tried to install dependencies for "anyleaf ph" with no success in a raspberry ZERO W and 4B.
Below I send the report
Thank you for your help!
The text was updated successfully, but these errors were encountered: