Installation issue on CentOS
See original GitHub issueHi, I’m attempting to install this on CentOS but running into the attached error - any thoughts?
Cheers Oli
user@c112384:~/software/OmegaFold$ pip install -r requirements.txt
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/usr/lib/python2.7/site-packages/pip/commands/install.py", line 257, in run
with self._build_session(options) as session:
File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 69, in _build_session
if options.cache_dir else None
File "/usr/lib64/python2.7/posixpath.py", line 77, in join
elif path == '' or path.endswith('/'):
AttributeError: 'int' object has no attribute 'endswith'
Traceback (most recent call last):
File "/usr/bin/pip", line 9, in <module>
load_entry_point('pip==8.1.2', 'console_scripts', 'pip')()
File "/usr/lib/python2.7/site-packages/pip/__init__.py", line 220, in main
return command.main(cmd_args)
File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 251, in main
timeout=min(5, options.timeout)) as session:
File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 69, in _build_session
if options.cache_dir else None
File "/usr/lib64/python2.7/posixpath.py", line 77, in join
elif path == '' or path.endswith('/'):
AttributeError: 'int' object has no attribute 'endswith'
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Troubleshooting Installation on 64-bit AMD, Intel, and ARM ...
To do this, either select Troubleshooting > Install CentOS in basic graphics mode in the boot menu, or edit the installation program's boot...
Read more >CentOS 8 installation: Error setting up base repository
CentOS 8 installation: Error setting up base repository ... To fix the issue, first go to “Network & Host Name” section, enable the...
Read more >Error Installing CentOS 7 - Exchange Times
Restart the server. At the menu choose Troubleshooting Choose Rescue a CentOS system. You will be asked to make a selection, type in...
Read more >CentOS 7 Installation Failed - Unix & Linux Stack Exchange
I experienced this issue when netbooting the install over PXE. I solved the problem by removing ksdevice=eth0 ...
Read more >Installation Errors on CentOS 7 #27 - statgen/libStatGen - GitHub
I ran into a number of issues installing libStatGen version 1.0.14 on a CentOS 7 machine. I have the following prerequisite packaged ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just try the old way, use
python main.py INPUT_FILE.fasta OUTPUT_DIRECTORY
, theomegafold INPUT_FILE.fasta OUTPUT_DIRECTORY
only works if youpython setup.py install
first or use thepip install git+
command, sorry for the confusion, we are going to update that ASAP.Thanks Rui - I have python 3 available on the system, but 2.75 is the default system python. Now that I realize the cause of the error, running as
python3.8 -m pip install -r requirements.txt
allows installation to proceed successfully. Thanks!