Python Forum
Not able to install package caldwellpy and requirement txt file
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not able to install package caldwellpy and requirement txt file
#1
Hi,

I have tried to install the packages on Pycharm python and not able to do it.

For pip install caldwellpy or pip3 install caldwellpy

In Command prompt:

PS C:\Users\Samta\PycharmProjects\functional-automation> pip install caldwellpy
Collecting caldwellpy
Downloading caldwellpy-1.6.3.tar.gz (3.3 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting Django==1.4.5 (from caldwellpy)
Downloading Django-1.4.5.tar.gz (7.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.7/7.7 MB 2.5 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting coverage==3.6 (from caldwellpy)
Downloading coverage-3.6.tar.gz (232 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 232.1/232.1 kB 2.8 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting mock==1.0.1 (from caldwellpy)
Downloading mock-1.0.1.zip (861 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 861.9/861.9 kB 3.2 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting nose==1.3.0 (from caldwellpy)
Downloading nose-1.3.0.tar.gz (404 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 404.9/404.9 kB 3.2 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: requests in c:\users\samta\appdata\local\programs\python\python312\lib\site-packages (from caldwellpy) (2.31.0)
Collecting wsgiref==0.1.2 (from caldwellpy)
Downloading wsgiref-0.1.2.zip (37 kB)
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
╰─> [23 lines of output]
Traceback (most recent call last):
File "C:\Users\Samta\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
main()
File "C:\Users\Samta\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Samta\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Samta\AppData\Local\Temp\pip-build-env-9nbzouub\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Samta\AppData\Local\Temp\pip-build-env-9nbzouub\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "C:\Users\Samta\AppData\Local\Temp\pip-build-env-9nbzouub\overlay\Lib\site-packages\setuptools\build_meta.py", line 480, in run_setup
super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
File "C:\Users\Samta\AppData\Local\Temp\pip-build-env-9nbzouub\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
exec(code, locals())
File "<string>", line 5, in <module>
File "C:\Users\Samta\AppData\Local\Temp\pip-install-31dv48pt\wsgiref_b13e12e8400e4eaa9ce297b6f4825a54\ez_setup\__init__.py", line 170
print "Setuptools version",version,"or greater has been installed."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
[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.











Second command
pip3 install -r requirements.txt



Foe Requirement txt:
PS C:\Users\Samta\PycharmProjects\functional-automation> pip install -r requirements.txt
Collecting adal==1.2.2 (from -r requirements.txt (line 1))
Using cached adal-1.2.2-py2.py3-none-any.whl (53 kB)
Collecting asn1crypto==1.3.0 (from -r requirements.txt (line 2))
Using cached asn1crypto-1.3.0-py2.py3-none-any.whl (103 kB)
Collecting atomicwrites==1.3.0 (from -r requirements.txt (line 3))
Using cached atomicwrites-1.3.0-py2.py3-none-any.whl (5.9 kB)
Collecting attrs==19.3.0 (from -r requirements.txt (line 4))
Using cached attrs-19.3.0-py2.py3-none-any.whl (39 kB)
Collecting azure-common==1.1.27 (from -r requirements.txt (line 5))
Using cached azure_common-1.1.27-py2.py3-none-any.whl (12 kB)
Collecting azure-core==1.15.0 (from -r requirements.txt (line 6))
Using cached azure_core-1.15.0-py2.py3-none-any.whl (138 kB)
Collecting azure-identity==1.6.0 (from -r requirements.txt (line 7))
Using cached azure_identity-1.6.0-py2.py3-none-any.whl (108 kB)
Collecting azure-iothub-provisioningserviceclient==1.2.0 (from -r requirements.txt (line 8))
Using cached azure_iothub_provisioningserviceclient-1.2.0-py2.py3-none-any.whl (58 kB)
Collecting azure-keyvault==4.0.0 (from -r requirements.txt (line 9))
Using cached azure_keyvault-4.0.0-py2.py3-none-any.whl (4.1 kB)
Collecting azure-keyvault-keys==4.0.0 (from -r requirements.txt (line 10))
Using cached azure_keyvault_keys-4.0.0-py2.py3-none-any.whl (185 kB)
Collecting azure-keyvault-secrets==4.0.0 (from -r requirements.txt (line 11))
Using cached azure_keyvault_secrets-4.0.0-py2.py3-none-any.whl (156 kB)
Collecting azure-mgmt-core==1.2.2 (from -r requirements.txt (line 12))
Using cached azure_mgmt_core-1.2.2-py2.py3-none-any.whl (21 kB)
Collecting azure-mgmt-datafactory==1.1.0 (from -r requirements.txt (line 13))
Using cached azure_mgmt_datafactory-1.1.0-py2.py3-none-any.whl (477 kB)
Collecting azure-mgmt-resource==18.0.0 (from -r requirements.txt (line 14))
Using cached azure_mgmt_resource-18.0.0-py2.py3-none-any.whl (2.2 MB)
Collecting azure-nspkg==3.0.2 (from -r requirements.txt (line 15))
Using cached azure_nspkg-3.0.2-py3-none-any.whl (1.5 kB)
Collecting azure-storage-blob==12.1.0 (from -r requirements.txt (line 16))
Using cached azure_storage_blob-12.1.0-py2.py3-none-any.whl (272 kB)
Collecting certifi==2019.11.28 (from -r requirements.txt (line 17))
Using cached certifi-2019.11.28-py2.py3-none-any.whl (156 kB)
Collecting cffi==1.13.2 (from -r requirements.txt (line 18))
Using cached cffi-1.13.2.tar.gz (460 kB)
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
╰─> [35 lines of output]
Traceback (most recent call last):
File "C:\Users\Samta\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
main()
File "C:\Users\Samta\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Samta\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
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.
PS C:\Users\Samta\PycharmProjects\functional-automation> pip3 install -r requirements.txt
Collecting adal==1.2.2 (from -r requirements.txt (line 1))
Using cached adal-1.2.2-py2.py3-none-any.whl (53 kB)
Collecting asn1crypto==1.3.0 (from -r requirements.txt (line 2))
Using cached asn1crypto-1.3.0-py2.py3-none-any.whl (103 kB)
Collecting atomicwrites==1.3.0 (from -r requirements.txt (line 3))
Using cached atomicwrites-1.3.0-py2.py3-none-any.whl (5.9 kB)
Collecting attrs==19.3.0 (from -r requirements.txt (line 4))
Using cached attrs-19.3.0-py2.py3-none-any.whl (39 kB)
Collecting azure-common==1.1.27 (from -r requirements.txt (line 5))
Using cached azure_common-1.1.27-py2.py3-none-any.whl (12 kB)
Collecting azure-core==1.15.0 (from -r requirements.txt (line 6))
Using cached azure_core-1.15.0-py2.py3-none-any.whl (138 kB)
Collecting azure-identity==1.6.0 (from -r requirements.txt (line 7))
Using cached azure_identity-1.6.0-py2.py3-none-any.whl (108 kB)
Collecting azure-iothub-provisioningserviceclient==1.2.0 (from -r requirements.txt (line 8))
Using cached azure_iothub_provisioningserviceclient-1.2.0-py2.py3-none-any.whl (58 kB)
Collecting azure-keyvault==4.0.0 (from -r requirements.txt (line 9))
Using cached azure_keyvault-4.0.0-py2.py3-none-any.whl (4.1 kB)
Collecting azure-keyvault-keys==4.0.0 (from -r requirements.txt (line 10))
Using cached azure_keyvault_keys-4.0.0-py2.py3-none-any.whl (185 kB)
Collecting azure-keyvault-secrets==4.0.0 (from -r requirements.txt (line 11))
Using cached azure_keyvault_secrets-4.0.0-py2.py3-none-any.whl (156 kB)
Collecting azure-mgmt-core==1.2.2 (from -r requirements.txt (line 12))
Using cached azure_mgmt_core-1.2.2-py2.py3-none-any.whl (21 kB)
Collecting azure-mgmt-datafactory==1.1.0 (from -r requirements.txt (line 13))
Using cached azure_mgmt_datafactory-1.1.0-py2.py3-none-any.whl (477 kB)
Collecting azure-mgmt-resource==18.0.0 (from -r requirements.txt (line 14))
Using cached azure_mgmt_resource-18.0.0-py2.py3-none-any.whl (2.2 MB)
Collecting azure-nspkg==3.0.2 (from -r requirements.txt (line 15))
Using cached azure_nspkg-3.0.2-py3-none-any.whl (1.5 kB)
Collecting azure-storage-blob==12.1.0 (from -r requirements.txt (line 16))
Using cached azure_storage_blob-12.1.0-py2.py3-none-any.whl (272 kB)
Collecting certifi==2019.11.28 (from -r requirements.txt (line 17))
Using cached certifi-2019.11.28-py2.py3-none-any.whl (156 kB)
Collecting cffi==1.13.2 (from -r requirements.txt (line 18))
Using cached cffi-1.13.2.tar.gz (460 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

Attached Files

Thumbnail(s)
           
Reply
#2
Why are you double posting?
see your other thread for reply.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  problem install somewhere package akbarza 1 495 Dec-27-2023, 01:25 PM
Last Post: Gribouillis
  Installed pip install openpyxl, Requirement already satisfied, but, still have error jonah88888 3 6,685 Sep-24-2021, 02:11 AM
Last Post: jonah88888
  Package cannot be loaded into PBS queue file emersonpl 1 1,840 Sep-09-2021, 08:06 PM
Last Post: emersonpl
  How do I locate setup.py in my computer, or install the file? JaneTan 1 1,747 Aug-26-2021, 08:37 AM
Last Post: snippsat
  Could not find a version that satisfies the requirement tester_V 5 19,008 Jul-25-2021, 12:17 AM
Last Post: snippsat
  Problem: Restart kernel onPydev console when trying to install a python package poppy2020 1 7,724 Nov-25-2020, 06:13 PM
Last Post: Larz60+
  invalid syntax when trying install package Omer_ 1 2,390 Jul-28-2020, 03:51 PM
Last Post: buran
  What package to install to PyCharm... REGEX or RE? charlesauspicks 4 6,166 May-23-2020, 02:36 PM
Last Post: charlesauspicks
  can we write command output to new csv file using Panda package? PythonBeginner_2020 3 2,395 Mar-13-2020, 12:38 PM
Last Post: ndc85430
  install pacman package without password DKRoots 2 2,072 Sep-22-2019, 07:53 PM
Last Post: DKRoots

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020