installing Brain Scaffold Builder with broken rtree dependency - python

I have recently installed NEST on my MAC. I have to install the Brain Scaffold Builder. I followed the instructions and wrote bsb==3.6.0b6 and I received the following error message
Using cached bsb-3.6.0b6-py3-none-any.whl (189 kB)
ERROR: Could not find a version that satisfies the requirement rtree-linux==0.9.4 (from bsb)
ERROR: No matching distribution found for rtree-linux==0.9.4
Could you please help me to fix it?
Thank you very much in advance for your help.

The rtree package did not come packaged with wheels before version 0.9.6 (see PR#163) and the BSB instead published it's own version of the wheels under the name rtree-linux as it only contained Linux wheels and later Windows wheels. Mac wheels had never been available up until PR#163 a month ago or so.
You can resolve this issue by either cloning the repository and adapting setup.py to install rtree>=0.9.7 or by asking the maintainer (disclaimer: me) to do so; I have done so and you should be able to install the BSB with version 3.6.1 (pip install bsb) as of now on Mac without special efforts and it will use the rtree==0.9.7 Mac wheels.

Related

'pip install pyeto' gives version and distribution error

I'm trying to install a package called pyeto. Their website (https://pyeto.readthedocs.io/en/latest/) does not mention any problems regarding the installation and I can't find any installation related problems of other users. I'm doubting what solution I should look for (I would appreciate it to not have to reinstall python). I'm running python version 3.6.8 and the errors are presented below.
If you have an idea on how to solve this issue please let me know. I'm not an expert on how python runs in the background and how packages are installed through pip. Thanks in advance! B.
ERROR: Could not find a version that satisfies the requirement pyeto (from versions: none)
ERROR: No matching distribution found for pyeto
EDIT: pip --version
pip 20.2.2 from c:\users\user\anaconda3\lib\site-packages\pip (python 3.6)
The author hasn't put it on pypi, so pip is treating it as an unknown package.
See https://github.com/woodcrafty/PyETo/issues/3
Check on the website on what version it is supported.

Can't install PyAudio from PyPI wheel files

I want to make a speech recognition program using SpeechRecognition, which needs PyAudio to work.
I tried installing it with pip, but it says that portaudio.h is missing. So I went on PyPI and downloaded a .whl file from there (https://pypi.org/project/PyAudio/#files). But no matter what file with what version or what platform I download, pip just keeps saying that the wheel is not supported.
First try:
ERROR: PyAudio-0.2.11-cp36-cp36m-win_amd64.whl is not a supported wheel on this platform.
Second try:
ERROR: PyAudio-0.2.11-cp36-cp36m-win32.whl is not a supported wheel on this platform.
Third try:
ERROR: PyAudio-0.2.11-cp35-cp35m-win32.whl is not a supported wheel on this platform.
There's also someone else who posted about the same problem (PyAudio Wheel is Unsupported?), but didn't get any answers, that's why I posted my own.
PS. I checked my architecture, it's a Win32.
There are some wheels built by a third party here:
https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio
I finally found a solution. I used a tool named pipwin, it's like pip but the difference is that it installs all the necessary dependencies. It can easily be installed so :
pip install pipwin
And then :
pipwin install pyaudio

pypi package published but can't download

I have here a package on pypi that was published by command line, but no-one can download it (except on the laptop I packaged it up on):
pip install webdriver_chauffeur
Collecting webdriver_chauffeur
Could not find a version that satisfies the requirement webdriver_chauffeur (from versions: )
No matching distribution found for webdriver_chauffeur
pip install webdriver-chauffeur
Collecting webdriver-chauffeur
Could not find a version that satisfies the requirement webdriver-chauffeur (from versions: )
No matching distribution found for webdriver-chauffeur
It is here https://pypi.python.org/pypi?%3Aaction=pkg_edit&name=webdriver_chauffeur
Pretty sure I followed this one https://axiacore.com/blog/basic-steps-publish-python-package/
Why is this package not installable?
I maintain a package on pypi and just hit this issue. I resolved it by hitting "update release" on the pypi version page of my package. If this problem persists you might consider letting the package maintainer know about the workaround.
I know it's an old thread, but I ran into a similar issue and this thread popped up on Google.
I faced the same error message. The problem was, that I set a Python version constraint of >=3.9. because that's the version I develop in. However, the environment where I tried to run pip install <...> was using Python 3.7. By relaxing the constraint in setup.py (or pyproject.toml in my case) the issue was resolved.
Dozens of people have the same issue, it seems pypi isn't stable and you should run your own pip server to use your packages

Error when using pip install: "Could not find a version that satisfies the requirement <package-name>"

I'm trying to install django-trumbowyg https://github.com/sandino/django-trumbowyg to my app
When I did pip install django-trumbowyg, it returned this error:
Could not find a version that satisfies the requirement django-trumbowyg (from versions: )
No matching distribution found for django-trumbowyg
Does anyone know what this means? And how I can fix it?
As https://pypi.python.org/pypi/django-trumbowyg#downloads shows, there's only a binary package for Python2 at PyPI.
So, you have to install the package directly from the official sources as pointed out by Rishav in the meantime.
Then ask the developer to upload a source package to PyPI and/or build the wheel as universal.
You may also get this error if your company firewall doesnt allow any package from external source. you might need to add a proxy in that case.
for example: pip install django-trumbowyg --proxy=proxy.companydomain.com:

Can't figure out how to install Python package decoder.py

Python n00b here trying to install decoder.py via pip.
I see it exists when I search for it
$ pip search decoder.py
decoder.py (1.5XB) - Cross-platform Python module for decoding compressed audio files
But i can't seem to install it.
$ pip install decoder.py
Collecting decoder.py
Could not find a version that satisfies the requirement decoder.py (from versions: )
No matching distribution found for decoder.py
$ pip install decoder.py==1.5XB
Collecting decoder.py==1.5XB
Could not find a version that satisfies the requirement decoder.py==1.5XB (from versions: )
No matching distribution found for decoder.py==1.5XB
Any ideas?
This package doesn't provide any downloadable source code on PyPI.
You can download it from http://www.brailleweb.com/cgi-bin/python.py (this link was provided by authors on pypi, proceed with caution).
Author of decoder.py here. :D
I am sorry for inconvenience. pip was able to grab decoder.py from brailleweb.com before. It was unable to install it though because I didn't provide a setup script. I didn't do it primarily because people might like to choose which external decoders they would like to use and perhaps don't want to install them into their's Python site-packages directory on Windows.
So I settled for manual installation instead. You aren't first who complained about it and that's why next version will have the setup script at least.
The new version is coming out soon. I am sorry to say development is slower than I anticipated but new version will be ready sooner or later. :D
Cheers!

Categories