Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cobrapy
#1
Hello Everyone,

I am attempting to install cobra 0.6.1 using pip in python 3.4(32-bit).
I am not able to find the 32-bit cobra 0.6.1 installation file.

Could someone provide me a link to the installation file ?

I would be grateful for any help you can offer.

Thanks
Reply
#2
To install the latest version (0.8.1) simply type pip install cobra , if you want all optional packages as well, type pip install cobra[all] . You can find additional information and links on their PyPi page cobrapy.

If, for some reason, you absolutely need to have to the old version, you might contact the developers and see if they have an old copy.  You could also take the new version, remove any new features and reintroduce any bugs that were fixed.
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply
#3
Thanks a lot for your help.
pip install cobra[all] shows an error.
Error:
Command "python setup.py egg_info" failed with error code 1 in C:\Users\DEEPA\AppData\Local\Temp\pip-build-4rm1wkub\pymatbridge\

To be more specific on my problem,I am trying to install sbmlutils package which requires cobrapy 0.6.1
using pip install sbmlutils gives an error.

Error:
Collecting cobra>=0.6.1 (from sbmlutils)
Could not find a version that satisfies the requirement cobra>=0.6.1 (from sbmlutils) (from versions: 0.2.0, 0.2.1, 0.3.0b1, 0.3.0b2, 0.3.0b3, 0.3.0b4, 0.3.0, 0.3.1, 0.3.2, 0.4.0a1, 0.4.0a2, 0.4.0a3, 0.4.0a4, 0.4.0b1, 0.4.0b2, 0.4.0b3, 0.4.0b4, 0.4.0b6, 0.4.0b7, 0.4.0, 0.4.1, 0.4.2b1, 0.4.2b2, 0.5.0b2, 0.5.1b1, 0.5.1b1.post14, 0.5.1b2, 0.5.1b3, 0.5.2b3, 0.5.2, 0.5.3, 0.5.3.post3, 0.5.4, 0.5.6b1, 0.5.6b2, 0.5.6, 0.5.7, 0.5.8, 0.5.9b1, 0.5.9, 0.5.10, 0.5.11)
No matching distribution found for cobra>=0.6.1 (from sbmlutils)
Reply
#4
Test in virtual environment with cobra all(which is about 20 packages).
You should use pip version 9.0.1
(cobra) E:\1py_div\cobra
λ pip -V
pip 9.0.1 from e:\1py_div\cobra\lib\site-packages (python 3.6)
Need to first install pip install pyzmq
From Gohlke Scipy wheel.
The run:
Reply


Forum Jump:

User Panel Messages

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