I am trying to install "CMake" with command
pip3 install CMake.
Its gives an error for a module "skbuild"
from skbuild import setup, ModuleNotFoundError: No module named 'skbuild'
But but when tried to install skbuild with command
pip3 install skbuild
it gives error
"Could not find a version that satisfies the requirement skbuild (from versions: ) No matching distribution found for skbuild".
I am not able to solve this error. Please help. I trying the implementation it on Window 10. Using Python 3.7.0. I tried couple of versions of pip3 (10.0.1, 9.0.3, 9.0.2, 9.0.1). Nothing is working.
Try pip install scikit-build. For me, pip install cmake works properly afterwards.
this worked for me while installation of this github repo https://github.com/ultralytics/yolov3
# For pip
pip install scikit-build
# For pip3
pip3 install scikit-build
There are pre-compiled binaries available on THIS page for Windows as MSI packages and ZIP files. You can find the one for the OS you are using.
If you want to proceed with your current approach then can you can probably refer THIS LINK
Related
I need the python-magic package for a Django project. However, I found out that since I am using python3, I need the python3-magic package, which I can either get using pip3 or using apt-get.
I am a macOS user, so I don't have an apt-get, and I cannot install the package using pip3. It gives me the following error when I type: pip3 install python3-magic.
ERROR: Could not find a version that satisfies the requirement python3-magic (from versions: none)
ERROR: No matching distribution found for python3-magic
Is there any way I can get this package for my Django project? No matter what I do, the package appears uninstalled on my VS Code.
If you install this through pip3, the name of the package is python-magicĀ [PyPi], not python3-magic, so:
pip3 install python-magic
If you use apt-get, you can work with python3-magic and python-magic. These are not links to a Python package, but in essence intallations scripts that will work with pip3 and pip respectively. See for example the files of the python3-magic packageĀ [ubuntu-packages].
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
This is my first time trying to install a repo not in PyPI. I'm not sure if I'm having a general issue or a specific issue with the package.
Repo:
https://github.com/jeslago/epftoolbox
Instructions are:
git clone https://github.com/jeslago/epftoolbox.git
cd epftoolbox
Then, simply install the library using pip:
pip install .
I've tried several approaches.
I tried adding the repo in Pycharm, as "https://github.com/jeslago/epftoolbox.git/" in the settings.
I tried using pip install from a local version of the repo
python -m pip install C:\Users\user\epftoolbox\
I tried installing in anaconda
git clone https://github.com/jeslago/epftoolbox.git
cd epftoolbox
pip install .
I get this error
Successfully built epftoolbox termcolor
ERROR: tensorflow 2.3.0 has requirement scipy==1.4.1, but you'll have scipy 1.5.2 which is incompatible.
But it finishes with "Successfully installed epftoolbox-1.0"
The issue is that I can do "import epftoolbox"
Fine. But if I try and run a script with "from epftoolbox.data import read_data"
I get the error
ModuleNotFoundError: No module named 'epftoolbox.data'
So I take it that the package didn't actually install?
I'm not sure what to try next?
I've python 3.8.5 installed 64 bit.
I've get the same issue in pycharm and idle.
Probably you need to install specific version of scipy to work with this library, try to uninstall current version and then install the correct version with this commands:
python -m uninstall scipy
python -m install -Iv scipy==1.4.1
I am getting the following error when using import cv2:
ModuleNotFoundError: No module named 'cv2'
My version of Python is 3.6 64 bit. I have downloaded the whl file to install it via pip manually, and have also installed it with pip install opencv-python however I still get ModuleNotFoundError.
pip outputs Requirement already satisfied: opencv-python in c:\...\python36\site-packages
Help would be much appreciated.
Your download must have been corrupted. It happened to me too. Simply uninstall the package and use
sudo apt-get install python open-cv
Use pip install -U opencv-python
I have installed pip and setuptools installed on my Mac with pip. While I am installing Ipython with commands: sudo install ipython,Errors following:Link. I have tried these commands: sudo -H pip install ipython --ignore-installed setuptools-1.1.6
,it also came out errors: Could not find a version that satisfies the requirement setuptools-1.1.6 (from versions: ) No matching distribution found for setuptools-1.1.6.
I have googled similar problems,but haven't solved it. Thanks for help.
I recommend using virtualenv. You can install it and then inside the project folder run virtualenv .. This will create a few new folders. Now you can run ./bin/pip install ipython which will install ipython only on that folder. Can you do that and let us know if it worked? You can run all python apps using ./bin/python app.py or by adding #!bin/python.