Installation issue

Asked by Sheikh Farah Tabira

Hello,

since maddm is not compatible with python3, I tried to run madgraph with python2.7 and it tells me that I need the six module so when I try to install that, this is what I keep seeing,

MG5_aMC_v2_9_7 % pip install six --user
Collecting six
  Could not fetch URL https://pypi.python.org/simple/six/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661) - skipping
  Could not find a version that satisfies the requirement six (from versions: )
No matching distribution found for six

I also tried this,

"in case of problem with pip, you can download the file at https://pypi.org/project/six/ . It has a single python file that you just need to put inside a directory of your $PYTHONPATH environment variable."

This issue however doesn't arise with python3.10 because I am guessing six comes installed with it. Could you please help me overcome it? Thank you in advance!

Question information

Language:
English Edit question
Status:
Answered
For:
MadDM Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Daniele Massaro (dmassaro) said :
#1

Hi Sheikh Farah Tabira,

the only help I can give you is to show my current setup.
I'm using Python v2.7.18 and six v1.15.0, you can try with these versions. Check that pip is correctly updated.
Another thing you could try is to use Anaconda to manage different python versions and dependencies https://docs.anaconda.com/ (which is also what I use).

I don't know if it could help in your case, but when installing packages it is better to write the command as:
python2.7 -m pip install -U six
and use python2.7 to run MadDM.

Cheers.
--
Daniele

Can you help with this problem?

Provide an answer of your own, or ask Sheikh Farah Tabira for more information if necessary.

To post a message you must log in.