diff --git a/environment.yml b/environment.yml
index 10f72ed59e16880c4a4fe09e813ae174251f76b1..d7febd68ef3c169a0a227768be7e6fcf1f35c225 100644
--- a/environment.yml
+++ b/environment.yml
@@ -3,15 +3,15 @@ channels:
   - pypi
   - defaults
 dependencies:
+  - autopep8=1.5.*
+  - jupyter=1.0.*
   - pip=22.1.*
   - python=3.9.*
-  - jupyter=1.0.*
-  - autopep8=1.5.*
   - pip:
     - ipython==8.4.*
+    - jupyter-contrib-nbextensions==0.5.*
     - matplotlib==3.5.*
     - numpy==1.22.*
     - scipy==1.8.*
     - torch==1.11.*
     - torchvision==0.12.*
-    - jupyter-contrib-nbextensions==0.5.*