Install python-igraph with the anaconda distribution (windows) - python

I have problems to install python-igraph on the anaconda distribution of python.
If I write pip install python-igraph (with the admin privileges) in the anaconda command, the installation doesn't work.

You can download a wheel installer from http://www.lfd.uci.edu/~gohlke/pythonlibs/#python-igraph and then install that wheel in your environment via
conda install pip
pip install *.whl
See this stackoverflow answer for ways to convert a *.exe into a wheel which can be installed as above: Can I install Python windows packages into virtualenvs?

Check the documentation on their site: http://igraph.org/python/
It says that you need to download the .msi installer, pip does not work under windows. That is probably because you need a C compiler and windows does not supply one by default.

Related

problem with install pySFML pip install pySFML windows python 3.9, 3.7

I try to install
(env_py) PS D:\github\env_py\Scripts> pip install pySFML
After that I have:
ERROR: Could not find a version that satisfies the requirement pySFML (from versions: none)
ERROR: No matching distribution found for pySFML
I am using python 3.9 and 3.7 on windows
And there is the same problem
THANKS!
The package name seems to be sfml, not pySFML.
Try
pip install sfml
pip install pySFML doesnot work anymore. The best way is to download the wheel from the below link and install it through wheel file
https://www.lfd.uci.edu/~gohlke/pythonlibs/#pysfml
To install the wheel file just go to the directory where you have downloaded the file and then just do
pip install xyz.wheel
Another way, on linux
sudo aptitude install python3-sfml
It is work
I can
import sfml
but on windows I still can not install
https://www.sfml-dev.org/download/bindings.php
Extract the archive, and copy the files to your installation of Python. If you don't know where it's located, by default it should be "C:\Python26" on Windows or "/usr/lib/python2.6" on Linux.
Once the files are properly installed, you're ready to use PySFML.amd following command
python setup.py build

Change path of pip and pip3

I want to create a user path to install packages installed by pip or pip3 for python 3.7.2, for that, I noticed that C:\Users\VVK\AppData\Roaming\Python\Python37\site-packages by py -m site --user-site and,
I wish to update it by C:\Users\VVK\AppData\Roaming\Python37\Scripts, How is this possible?
I am using Microsoft Windows 10 64-bit.
Python37\site-packages is used to install libraries while Python37\Scripts is used to install programs. The latter should not be used for package installation. Packages when installed should install their programs (executable scripts) into Python37\Scripts themselves.

Could not find wheel packages using pip command on CentOS?

If I am running pip install scipy on Ubuntu, pip finds whl package and installs it but for centos, it tries to download the source and compile and install it explicitly. I have observed this with lots of packages while installing on centos I would like to know is there anything I can do on centos so pip can safely find packages and install them. At the same time I would like to get those whl packages on centos

Pycharm install package error

I'm trying to install the wxPython package using Pycharm's Project Interpreter on my mac. I have been able to install other packages in the past, but with this package I get an error:
Any ideas? I've checked, and I have both read and write permissions to both the ./pip and ./pip/http directories, and pip is up to date.
Try using homebrew instead.
Once brew is installed, just type 'brew install wxpython' in your terminal to install wxPython.

install Pyaudio - whl

I tried to install PyAudio on Windows 7 64bit.
Installing it with pip throws dependency errors which end up in the question how to satisfy those.
So i tried to install it with wheel, the suggestion was to just use pip install:
D:\Programming\Kivy>dir
...
27.03.2015 08:11 113.556 PyAudio.whl
D:\Programming\Kivy>pip install PyAudio.whl
Downloading/unpacking PyAudio.whl
Could not find any downloads that satisfy the requirement PyAudio.whl
No distributions at all found for PyAudio.whl
Storing complete log in C:\Users\WindowsPro\AppData\Roaming\pip\pip.log
Any suggestion how to install pyaudio?
What version of pip do you have? Show the output pip -V. It might be necessary to have a current pip version 6 to install the whl. If this is not the case do pip install --upgrade pip (it might be necessary to start the console with admin rights).
Did you download the library from http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio? I just installed this version with pip and it works.
As an alternative you can download the installer exe from http://people.csail.mit.edu/hubert/pyaudio/#downloads and install it like a regular program.
If you cant donwload it by pip install pyaudio you can download it from here.
When you found PyAudio, find the version of your Python (ex. 3.7.2 32bit).
DOWNLOAD THE RIGHT VERSION. Once you found the .whl of your python version, download it. Install it by opening cmd, going to the folder that you save it and write pip install "pyaudio_whl_file.whl"
And that's it

Categories

Resources