Open dege13 opened 1 year ago
After manually fixing the above, I also found that the requirements.txt also has two Pillow versions: Pillow==9.2.0 Pillow==10.0.0
After fixing that manually, I got this error: ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11 ERROR: Could not find a version that satisfies the requirement ray==2.2.0 (from versions: 2.6.0, 2.6.1) ERROR: No matching distribution found for ray==2.2.0
I manually installed the latest ray and got 2.6.1. Manually updated my requirements.txt to this version and trying again.
Next problem, lol. Now the install of skimage fails. It says Please install the scikit-image
package (instead of skimage
)
Full details of error:
Collecting skimage==0.0 (from -r requirements.txt (line 25))
Using cached skimage-0.0.tar.gz (757 bytes)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [3 lines of output]
*** Please install the `scikit-image` package (instead of `skimage`) ***
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
I'm trying changing to scikit-image next. I hope none of these updates and module changes break any code.
New error.
ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11 ERROR: Could not find a version that satisfies the requirement tensorflow==2.11.0 (from versions: 2.12.0rc0, 2.12.0rc1, 2.12.0, 2.12.1, 2.13.0rc0, 2.13.0rc1, 2.13.0rc2, 2.13.0) ERROR: No matching distribution found for tensorflow==2.11.0
The latest seems to be tensorflow 2.13.0. Trying that now.
Updated to tensorflow==2.13.0 tensorflow_intel==2.13.0
Next problem...
Building wheels for collected packages: numpy
Building wheel for numpy (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for numpy (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [213 lines of output]
setup.py:71: RuntimeWarning: NumPy 1.23.1 may not yet support Python 3.11.
warnings.warn(
Running from numpy source directory.
setup.py:86: DeprecationWarning:
`numpy.distutils` is deprecated since NumPy 1.23.0, as a result
of the deprecation of `distutils` itself. It will be removed for
Python >= 3.12. For older Python versions it will remain present.
It is recommended to use `setuptools < 60.0` for those Python versions.
For more details, see:
https://numpy.org/devdocs/reference/distutils_status_migration.html
import numpy.distutils.command.sdist
Processing numpy/random\_bounded_integers.pxd.in
Processing numpy/random\bit_generator.pyx
....removed because it is so long....
INFO: building library "npymath" sources
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for numpy
Building wheel for grapheme (setup.py) ... done
Created wheel for grapheme: filename=grapheme-0.6.0-py3-none-any.whl size=210117 sha256=0fcf15c1a6f87c3a041651cb24c00848ed572aba308c46868620ea0d40984cbc
Stored in directory: c:\users\dege1\appdata\local\pip\cache\wheels\ee\3b\0b\1b865800e916d671a24028d884698674138632a83fdfad4926
Building wheel for audioread (setup.py) ... done
Created wheel for audioread: filename=audioread-3.0.0-py3-none-any.whl size=23735 sha256=19c4f7f243bc353282b4b8d0c6bee7abda2e7405329fe9041b289de87c01dfcb
Stored in directory: c:\users\dege1\appdata\local\pip\cache\wheels\34\6d\02\40eff8045c8287806e7d83333301c1c7bab6109045424e8558
Building wheel for docopt (setup.py) ... done
Created wheel for docopt: filename=docopt-0.6.2-py2.py3-none-any.whl size=13775 sha256=848344148cfeafabf9f4f1bdd03e7ec8dd2deb7157366b76eeb795a268ad21ad
Stored in directory: c:\users\dege1\appdata\local\pip\cache\wheels\1a\b0\8c\4b75c4116c31f83c8f9f047231251e13cc74481cca4a78a9ce
Building wheel for future (setup.py) ... done
Created wheel for future: filename=future-0.18.3-py3-none-any.whl size=492053 sha256=345e13434976e5ed1a469df523b6f6739ad384656ad5b1da732667c3a9809c07
Stored in directory: c:\users\dege1\appdata\local\pip\cache\wheels\da\19\ca\9d8c44cd311a955509d7e13da3f0bea42400c469ef825b580b
Successfully built imutils internetarchive moviepy grapheme audioread docopt future
Failed to build numpy
ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
Still the same error if I try getting the latest numpy with 'pip install numpy'
I used the link provided in the error (https://visualstudio.microsoft.com/visual-cpp-build-tools/) to install Microsoft C++ Build Tools. Trying again once that is complete.
It finally all worked! I don't want to overwrite the requirements.txt with mine until I am sure I didn't break anything by updating modules. Feel free to test it yourself, Moe.
requirements.txt
alive_progress==2.4.1
discord.py==2.1.0
facebook_sdk==3.1.0
ffmpeg_python==0.2.0
imutils==0.5.4
internetarchive==3.2.0
librosa==0.10.0.post2
Mastodon.py==1.8.0
moviepy==1.0.3
nltk==3.8.1
noisereduce==2.0.1
numpy==1.23.1
openai==0.27.6
opencv_python_headless==4.7.0.72
Pillow==10.0.0
protobuf==4.23.3
pydub==0.25.1
pyenchant==3.2.2
pyspellchecker==0.7.2
pytesseract==0.3.10
PyTumblr==0.1.0
pytz==2022.2.1
ray==2.6.1
Requests==2.31.0
scikit_image==0.21.0
SpeechRecognition==3.8.1
tensorflow==2.13.0
tensorflow_intel==2.13.0
torch==2.0.1
torchvision==0.15.2
tqdm==4.65.0
transformers==4.29.2
tweepy==4.10.1
webcolors==1.13
These are at the bottom of the requirements.txt and they cause an error when running "pip install -r requirements.txt" ~pencv_python==4.6.0.66 ~pencv_python==4.7.0.72
The error prevents all other requirements from being installed. I suspect these are left over from some software changes you made on your system, but figured I would point it out in case "opencv_python_headless==4.7.0.72" alone is not enough, and because removing them will fix the error message when updating requirements.