

- #RE INSTALL IPYTHON HOW TO#
- #RE INSTALL IPYTHON MAC OS#
- #RE INSTALL IPYTHON INSTALL#
- #RE INSTALL IPYTHON WINDOWS#
If you find problem with this, you might want to try using an older version of the dependency packages, beginning with lowering your python version to 3.7.x.

However, it does not seem like this error affects Qiskit Metal’s functionality.
#RE INSTALL IPYTHON MAC OS#
WARNING: Layer-backing can not be explicitly controlled on 10.14 when built against the 10.14 SDK … you are likely running a MAC OS version that has trouble with the libraries.īased on information that is available online, this problem does not appear to have a solution. Q: Why am I seeing a critical error from qt about not controlling layer-backing?Ī: If you are seeing: CRITICAL : …. Then re-install the qiskit-metal package with pip, for example, if you are using the github local installation flow run the following:
#RE INSTALL IPYTHON INSTALL#
Q: Why am I not able to start Jupyter Lab in the new environment?Ī: Based on: this, install Jupyter lab by If the methods above do not work, consider utilizing an older version of python (and related dependencies) It was found that the problem resolves if PySide2 is installed manually thorugh conda, with: conda install pyside2. This error intermittently shows in conda environments. Based on this source You might be able to resolve this error by installing the dependency with sudo apt-get install libxcb-xinerama0įor windows. Q: Why are “xcb” or “windows” found but not loaded?Ī: it has been observed for pip installation on fresh conda environments that this error might show up: Could not load the Qt platform plugin "xcb" in "" even though it was found.įor xcb.

Search “settings” and click Open Workspace Settings (JSON)).
#RE INSTALL IPYTHON HOW TO#
(See how to open command palette here here).

Then open the applicable settings.json in your VS Code. Example: "PATH": "/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" If the error occurs, please add your PATH to VSCode’s settings as follows.Ĭopy the resulting output. If not, they can be installed with: xcode-select -installĪ: qutip may have issues finding your path if using VSCode, resulting in a KeyError: 'physicalcpu'. The Command Line Tools package for XCode should be already installed. Q: Why do I have an invalid active developer path on MacOs?Ī: If you are seeing: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at /Library/Developer/CommandLineTools/usr/bin/xcrun you may be missing the Command Line Tools. Meanwhile, you can use the shapely package from conda by installing it as conda install shapely before installing qiskit-metal, which installs the missing file as a dependency. that should be fixed with a more recent shapely package. Q: Why is my installation complaining about missing ``geos_c.dll``?Ī: Based on: this issue, this is a known bug with the shapely package <1.8. (replace this line with the one you executed before the error)
#RE INSTALL IPYTHON WINDOWS#
This is the result of a known limitation of the PyPI Windows wheels for gdal and fiona.Ĭonda has valid gdal and fiona packages. you are probably a Windows user, trying to install qiskit-metal thorugh pip on a brand new environment. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable. Q: Why is the pip installation asking to install geopandas? Or why is it asking for a path to gdal-config?Ī: If you have been directed here from a Qiskit Metal warning, or you are seeing: A GDAL API version must be specified. You can completely prevent the ModuleNotFoundError by installing jupyter or jupyterlab inside the environment, instead of using a pre-existing installation. If jupyter notebook/lab is still unable to find qiskit_metal, you might need to re-install qiskit_metal after installing ipykernel. You can now restart jupyter notebook/lab and switch to the newly created kernel using the menu Kernel>Change Kernel.
