How to install MEEP using conda for python 3.12 to work with gdsfactory #2872
Replies: 2 comments
-
Open a terminal and activate the environment you want to update.
If you're working with conda then the pip commands only works through ipython (at least it works for me) and that's because I use my conda environment as the python interpreter for my IDE (I use spyder). |
Beta Was this translation helpful? Give feedback.
-
Perfect!! Thanks for the save! |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have a linux subsystem for Windows. and im trying to install MEEP in order to work with gdsfactory. I currently have
gdsfactory
with Python 3.12 which works. When i followed the steps to download MEEP using Conda, it creates a virtual env thats Python 3.8. I need MEEP to be installed on Python 3.12. How do i do that?Below are the steps i followed to install MEEP
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh bash miniconda.sh -b -p miniconda3 export PATH=miniconda3/bin:$PATH ~/miniconda3/bin/conda init bash conda create -n meep -c conda-forge pymeep pymeep-extras source activate meep
This launches a virtual env thats Python 3.8, which gives many errors with gdsfactory. Also, whatever i try to do to reinstll gdsfactory using
pip
doesnt get reflected .Thanks
Beta Was this translation helpful? Give feedback.
All reactions