-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error while running requirements.txt SRGAN project (Chapter 5) #205
Comments
Hi, you need to use Python 2.7 or 3.4. |
I installed python 3.4 and I inserted the commands from chapter 5 of the
book but it did not work
…On Wed, Jun 28, 2023 at 8:36 AM Kailash Ahirwar ***@***.***> wrote:
Hi, you need to use Python 2.7 or 3.4.
—
Reply to this email directly, view it on GitHub
<#205 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BATKK4WMSYGKKI5372WRQWLXNPNH7ANCNFSM6AAAAAAZRPP37Q>
.
You are receiving this because you authored the thread.Message ID:
<PacktPublishing/Generative-Adversarial-Networks-Projects/issues/205/1610918938
@github.com>
|
I am also facing similar problem, can you please recheck all packages version and update on in requirement.txt in all chapters? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have experienced an error while installing requirements file to setup environment for chapter 5 project in book "generative adversarial networks projects"
Here is the error:
(venv) C:\Users\ASUS\JUPYTER Homeworks\T3\ebooks_codes\ebook GAN codes\Generative-Adversarial-Networks-Projects-master\Chapter05>pip install -r requirements.txt
Collecting absl-py==0.6.1 (from -r requirements.txt (line 1))
Using cached absl-py-0.6.1.tar.gz (94 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\ASUS\AppData\Local\Temp\pip-install-7c7aj7k3\absl-py_00960106c6154cedbbbc364bb2a6225c\setup.py", line 34, in
raise RuntimeError('Python version 2.7 or 3.4+ is required.')
RuntimeError: Python version 2.7 or 3.4+ is required.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
this error is corresponding to absl-py package. Some of other packages also were not installed (absl-py==0.6.1
keras-contrib==2.0.8
Keras-Preprocessing==1.0.5
matplotlib==3.0.2
kiwisolver==1.0.1
Keras-Applications==1.0.6
numpy==1.15.4
opencv-python==3.4.5.20
Shapely==1.6.4.post2
six==1.12.0
tensorboard==1.12.2
)
would you please explain what I should do?
Your fast answer is highly appreciated.
Best regards
The text was updated successfully, but these errors were encountered: