You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating our OT-2 robot's software from v7.1.0 to v7.2.2, installing a Python package (from outside Python's standard library) using pip doesn't work. The installed packages do exist in Python's site-packages directory, yet importing them inside the Python interpreter results a Module Not Found error.
Please note that this problem goes away when downgrading the software to v7.1.0.
Steps to reproduce
Note: the following problem can be reproduced by installing any PyPi package. The packages are installed following this Opentrons tutorial.
after a successful package installation, restart the robot.
login again into the robot over SSH (repeat Step 1)
doing, for example:
python3
>>> import openpyxl
Current behavior
Doing, for example, this:
python3
>>> import openpyxl
outputs: Module Not Found Error
or simply attempting to uninstall the same package, with no further steps in between (as shown in the screenshot below):
pip3 uninstall openpyxl
outputs: WARNING: Skipping openpyxl as it is not installed.
We have tried to install packages from PyPi into Python virtual environemts (venv), but the problem persists.
Problem Screenshot
The installed packages do exist in Python's system directory
Navigating to Python's site-packages directory, after package installation, shows that the packages exist within the Python directory. Doing in the robots terminal, for example:
which python3
outputs: /usr/bin/python3
Now navigating to /usr/bin/python3/.../site-packages shows that the installed package (and its submodules) exists, as shown in these screenshots:
Expected behavior
Before upgrading the software, which we had to do because of other problem, we used to install our Python packages from within our Jupyter notebooks by doing:
!pipinstallopenpyxl
then import openpyxl in next cells with no issues. Now, doing the same results Module Not Found errors
Operating system
Windows
System and robot setup or anything else?
Opentrons software version: v7.2.2
The robot is connected to the PC via Ethernet
Note: the PYTHONPATH environment variable seems to be empty. We were not able to set it otherwise
The text was updated successfully, but these errors were encountered:
Overview
After updating our OT-2 robot's software from v7.1.0 to v7.2.2, installing a Python package (from outside Python's standard library) using
pip
doesn't work. The installed packages do exist in Python's site-packages directory, yet importing them inside the Python interpreter results aModule Not Found
error.Please note that this problem goes away when downgrading the software to v7.1.0.
Steps to reproduce
Note: the following problem can be reproduced by installing any PyPi package. The packages are installed following this Opentrons tutorial.
After completing the initial SSH-setup:
Current behavior
Doing, for example, this:
outputs:
Module Not Found Error
or simply attempting to uninstall the same package, with no further steps in between (as shown in the screenshot below):
outputs:
WARNING: Skipping openpyxl as it is not installed
.We have tried to install packages from PyPi into Python virtual environemts (venv), but the problem persists.
Problem Screenshot
The installed packages do exist in Python's system directory
Navigating to Python's site-packages directory, after package installation, shows that the packages exist within the Python directory. Doing in the robots terminal, for example:
outputs:
/usr/bin/python3
Now navigating to
/usr/bin/python3/.../site-packages
shows that the installed package (and its submodules) exists, as shown in these screenshots:Expected behavior
Before upgrading the software, which we had to do because of other problem, we used to install our Python packages from within our Jupyter notebooks by doing:
then import
openpyxl
in next cells with no issues. Now, doing the same resultsModule Not Found
errorsOperating system
Windows
System and robot setup or anything else?
PYTHONPATH
environment variable seems to be empty. We were not able to set it otherwiseThe text was updated successfully, but these errors were encountered: