unable to install openmesh - python

I am having difficulties installing openmesh. (https://pypi.org/project/openmesh/)
(https://justpaste.it/2lwdi) Attached is the log of command prompt when I tried to execute command
pip install openmesh
I tried conda but same error. I installed Cmake. No change. (I am using Spyder 4.1 on a Windows 10 Machine)

I tried lots of things. Nothing worked.
Then I uninstalled current Anaconda distribution and installed this 3 year older one.
Anaconda3-5.3.1-Windows-x86_64.exe
from https://repo.anaconda.com/archive/
This worked.

Related

Tried to install a google-colab module. Now Anaconda Navigator will not launch, even after uninstalling, reinstalling, updating, resetting etc

I'm using Anaconda 3.8.5 on Windows 7.
The problem: I was trying to install a Google Colab module locally, because I wanted to run this notebook on a local runtime, and it needed a module called "google-colab" (evidently this is a lost cause, as the module is not open source). I attempted to install it using conda install -c conda-forge google-colab, which I found here.
It appeared to install something successfully, although the notebook on colab still didn't work. After installing, Anaconda Navigator refused to launch. A command prompt popped up and disappeared instantly, and nothing else happened. I uninstalled, I reinstalled. I followed this procedure. Nothing changed at all.
When I installed Anaconda on a virtual machine with a fresh install of Windows 7 and attempted that same janky install, the exact same thing happened. Any idea how I can get Anaconda navigator back? Anaconda command prompt still works. Thank you!

Trouble setting up spyder 4.2.1 on macOS BIGsur

i hope this question somehow fits in here.
Short: Can't install Spyder 4.2.1 using anaconda. However, I can install stand alone Spyder 4.2.1 but then i don't know how to install packages as the terminal/pip won't find the python from the stand alone Spyder.
long: Spyder 4.2.1 seems to be the first version that is supported on BIGsur. However, when I installed anaconda, it came with Spyder 4.1.5. I tried conda -update Spyder in the terminal and I got Spyder 4.2.0. This version is still super laggy and has high typing latency in the editor.
Trying the same again shows latest version already installed. Same for trying: conda -update anaconda.
Spyder4.2.1 was only released a few days ago. Is it possible it takes a while until anaconda supports it? If so, how long would it take (days, weeks or months?). My google searches had no results regarding this.
Since 4.2.0 the Spyder developers recommend the stand alone installers, which I understand as using Spyder without anaconda. I installed Spyder 4.2.1 and the typing in the editor was indeed super smooth. But now i couldn't properly install packages like pandas.
I also noticed that when i run spyder from anaconda the first line in the console indicates python 3.8 but when i run the stand alone spyder4.2.1 it says python 3.9.
The terminal only "recognizes" the 3.8 version. At least I can run Python3.8 in the Terminal but trying to run Python3.9 gives zsh: command not found error. (when it comes to install packages, developers recommend conda again. But this only updates the built in Spyder packages not the stand alone Spyder...
I realized the Python3.9 version is located in the spyder.app-file. I am super new to macOS and was quiet surprised when i found out, that what i thought was a launching icon was also a directory. Anyway using pip -install seems to only install packages for the python3.8 version.
With --target I tried to install the package into the spyder.app directory. Now I'm afraid it installs the wrong version of pandas. In the terminal it said it installed pandas 0.24 which is quiet outdated. I have also Python 2.7 installed and I feel like the pandas version i got matches python2.7.
So i tried to install the python3.9 version (using: python3.9 -m pip install), but since the terminal doesn't recognize this version it says command does not exist.
The message from Spyder after "import pandas" is around 100 lines, i copied the red highlighted ones:
ModuleNotFoundError: No module named 'pandas._libs.tslibs.base'
KeyError: 'pandas._libs.tslibs.conversion'
KeyError: 'pandas._libs.missing'
KeyError: 'pandas._libs.hashtable'
KeyError: 'pandas._libs.interval'
Has anyone installed Spyder 4.2.1 using anaconda or knows how to install packages for the stand alone version?
My current solution is to change spyders4.2.1 python environment to the python I installed seperately. Now I can install packages with pip install.

Using pip in the standalone Spyder on MacOS

As the Anaconda Distribution of Spyder has some typing latency issues on macOS Big Sur, I've gone ahead and downloaded the standalone distribution. However, when trying to install packages with pip I get the error message:
pip install numpy
/Applications/Spyder.app/Contents/MacOS/python: No module named pip
Note: you may need to restart the kernel to use updated packages.
(I know that NumPy is already installed - this just serves as an example). I have Anaconda installed, and there pip works fine. How do I install it for the specific Standalone Distribution?
I solved this problem using the Command Prompt and typing pip install -U spyder. If you don't have the "standalone version" of Python, just install it to have access to this command.
After that, you can simply open Spyder typing in the Command Prompt spyder.

python3 pip fails to install jupyter on windows 10

I want to install jupyter on Win 10. I have been using python on linux, but this is my first time on Win 10.
when I execute python -m pip install jupyter on administrator, I got errors like this:
The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.
This package cannot be safely installed by EasyInstall, and may not
support alternate installation locations even if you run its setup
script by hand. Please inform the package's author and the EasyInstall
maintainers to find out if a fix or workaround is available.
any idea?
I have been able to get around this error by installing Anaconda, uninstalling Python 3.8.0 and installing Python 3.7.5 instead.
The Jupyter installation then ran successfully when I executed pip install jupyter with Git Bash in my C:\ drive using pip 19.2.3 (the default with Python 3.7.5).
For those who encounter this and need to use Python 3.8+, make sure to update you setuptools to version 42.0.0 (or later).
Install a version earlier than python 3.8 and the installation will work. Use CMD.
I had the same problem, I am using 64-bit windows 10 but downloaded the 32-bit python installer because it is the default that appears on the 'downloads' page on the python.org site. Uninstalled python 3.8.1, downloaded the 64-bit installer instead, and then ran 'pip install jupyterlab' using the pip version 19.2.3 that got installed with the 64-bit python instead of upgrading to pip version 19.3.1. So if you are running a 64-bit version of windows, make sure you download the 64-bit python installer!

Python crashes when trying to start Anaconda navigator

I just installed the Anaconda package (64 bit, python 2.7) on my Windows 10.
Python itself works fine. The programmed code gets executed fine.
However, when I try to run the Anaconda Navigator or try to run conda command in the windows prompt python crashes.
A windows error pops up, telling me "Python has stopped working".
Does anyone have an idea how I can fix this? I tried to reinstall the Anaconda package, but it didn't work.
Generally uninstalling Anaconda might break the newer installations.
Try this, it help me solve similar issues with missing Anaconda Navigator and broken anaconda installations after an uninstallation.
Hope it helps you. :)
EDIT
The version of new packages should be the same with the base Miniconda.
For Python2 do conda install anaconda=5.3.1=py27_0 anaconda-navigator=1.9.6=py27_0.
The important thing to specify the Python 2.7 build.
You can search more information about packages with the conda show <package> command for versions and builds.

Categories

Resources