Error when installing setup.py
Pante9 opened this issue · comments
Hi @Pante9 - it looks like a syntax error from the f"string"
in the last line there.
Can you try upgrading the python in your conda environment to 3.7? Try running:
conda activate pysim5g
conda install python=3.7
Then try again.
If that fixes it, we should change the README instructions, which use 3.5.
Hi @Pante9 - it looks like a syntax error from the
f"string"
in the last line there.Can you try upgrading the python in your conda environment to 3.7? Try running:
conda activate pysim5g conda install python=3.7
Then try again.
If that fixes it, we should change the README instructions, which use 3.5.
Thanks for your time @tomalrussell
I tried with python 3.7 and got the following error this time
Okay - the end of the error message there should be some help - are you running from a ZIP download of the code?
Two different things you could try:
- clone the repository using
git clone https://github.com/edwardoughton/pysim5g.git
on the command line or use an application like GitHub Desktop, and then runpython setup.py develop
from that folder. - run
pip install git+https://github.com/edwardoughton/pysim5g.git#egg=pysim5g
to install the package directly from GitHub - this should work if you just want to run scripts using pysim5g, but is not so good if you want to make changes to the source code
Yes, I downloaded the code as a zip file and extracted it to a folder into the used path.
After cloning successfully the repository,
I got the same error about 'console scripts'.
Same thing when running pip install git+https://github.com/edwardoughton/pysim5g.git#egg=pysim5g