I am running Archlinux, I to install QSTK on my machine, unsuccessfully.
I did every steps described in script Ubuntu.sh, adaptating them for arch. First I was using python3; but then I saw that Validation.py specified to used python2.7.
So I use pip to re-install dependencies on python 2.7.
However I have the same issue with both python 2.7 and python 3 when trying to finalize the installation of QSTK on archlinux. I have installed all dependencies. When running "sudo python setup.py install". it ends with the error:
ValueError: bad marshal data (unknown type code)
here the complete TraceBack
copying QSTK.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO zip_safe flag not set; analyzing archive contents... QSTK.qstkutil.DataAccess: module references __file__ QSTK.qstkutil.qsdateutil: module references __file__ Traceback (most recent call last): File "setup.py", line 39, in <module> 'Topic :: Utilities', File "/usr/lib/python2.7/distutils/core.py", line 151, in setup dist.run_commands() File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/install.py", line 76, in run File "/usr/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/install.py", line 96, in do_egg_install File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/bdist_egg.py", line 222, in run File "/usr/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/bdist_egg.py", line 261, in zip_safe File "/usr/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/bdist_egg.py", line 393, in analyze_egg File "/usr/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/bdist_egg.py", line 420, in scan_module ValueError: bad marshal data (unknown type code)
I fixed this by setting "zip_safe=False" to bypass the error in setup.py. Another error occured: none of the depedencies I had installed previously was found. I comment the depedencies in setpu.py because I did download and installed them.
But when running Validation.py, it failed with an error in code in:
import QSTK.qstkutil.tsutil as tsu
import QSTK.qstkutil.qsdateutil as du
import QSTK.qstkutil.DataAccess as da
Hi,
I am running Archlinux, I to install QSTK on my machine, unsuccessfully.
I did every steps described in script Ubuntu.sh, adaptating them for arch. First I was using python3; but then I saw that Validation.py specified to used python2.7.
So I use pip to re-install dependencies on python 2.7.
However I have the same issue with both python 2.7 and python 3 when trying to finalize the installation of QSTK on archlinux. I have installed all dependencies. When running "sudo python setup.py install". it ends with the error: ValueError: bad marshal data (unknown type code)
here the complete TraceBack
copying QSTK.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO zip_safe flag not set; analyzing archive contents... QSTK.qstkutil.DataAccess: module references __file__ QSTK.qstkutil.qsdateutil: module references __file__ Traceback (most recent call last): File "setup.py", line 39, in <module> 'Topic :: Utilities', File "/usr/lib/python2.7/distutils/core.py", line 151, in setup dist.run_commands() File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/install.py", line 76, in run File "/usr/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/install.py", line 96, in do_egg_install File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/bdist_egg.py", line 222, in run File "/usr/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/bdist_egg.py", line 261, in zip_safe File "/usr/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/bdist_egg.py", line 393, in analyze_egg File "/usr/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/bdist_egg.py", line 420, in scan_module ValueError: bad marshal data (unknown type code)
I fixed this by setting "zip_safe=False" to bypass the error in setup.py. Another error occured: none of the depedencies I had installed previously was found. I comment the depedencies in setpu.py because I did download and installed them.But when running Validation.py, it failed with an error in code in: