-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing Failure #86
Comments
Hi @guoqiangu thanks for reporting this issue. Can you please provide some details about your operating system and version of Python (looks like 3.6?), and we will try to reproduce the issue. |
I was able to reproduce this issue. The latest version of the @guoqiangu can you please pull the latest update to the |
Hi, GopiGugan, Thanks a lot! I will have a try and see . |
hi,I have pull the latest update to the setup.py script and run sudo python3 setup.py install again but still not working |
Can you please share the error message you are getting?
|
hi, here is the full message when I install: /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires' byte-compiling build/bdist.linux-x86_64/egg/openrdp/bootscan.py to bootscan.pyc byte-compiling build/bdist.linux-x86_64/egg/openrdp/chimaera.py to chimaera.pyc byte-compiling build/bdist.linux-x86_64/egg/openrdp/common.py to common.pyc byte-compiling build/bdist.linux-x86_64/egg/openrdp/geneconv.py to geneconv.pyc byte-compiling build/bdist.linux-x86_64/egg/openrdp/preprocessing.py to preprocessing.pyc byte-compiling build/bdist.linux-x86_64/egg/openrdp/siscan.py to siscan.pyc byte-compiling build/bdist.linux-x86_64/egg/openrdp/threeseq.py to threeseq.pyc File "/usr/lib/python2.7/site-packages/OpenRDP-0.1.0-py2.7.egg/openrdp/bootscan.py", line 178 File "/usr/lib/python2.7/site-packages/OpenRDP-0.1.0-py2.7.egg/openrdp/chimaera.py", line 217 File "/usr/lib/python2.7/site-packages/OpenRDP-0.1.0-py2.7.egg/openrdp/common.py", line 24 File "/usr/lib/python2.7/site-packages/OpenRDP-0.1.0-py2.7.egg/openrdp/maxchi.py", line 201 File "/usr/lib/python2.7/site-packages/OpenRDP-0.1.0-py2.7.egg/openrdp/rdp.py", line 182 File "/usr/lib/python2.7/site-packages/OpenRDP-0.1.0-py2.7.egg/openrdp/siscan.py", line 219 OpenRDP 0.1.0 is already the active version in easy-install.pth Installed /usr/lib/python2.7/site-packages/OpenRDP-0.1.0-py2.7.egg |
I am using Conda, and my python version is 3.12 |
Looks like the installation script is calling Python 2.7 though. Are you sure your conda environment is active? |
superuser may be defaulting to system Python (which may be 2.7) instead of your local (user-level) binaries |
So should I install as a local user? |
I try to install a local user and it look like this
!!
!! |
I'm getting a similar error using Python 3.12 in a conda environment. However, I was able to successfully run |
ok,I will try Python 3.11. and see
获取Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Gopi Gugan ***@***.***>
Sent: Thursday, April 18, 2024 1:37:04 AM
To: PoonLab/OpenRDP ***@***.***>
Cc: GU Guoqian ***@***.***>; Mention ***@***.***>
Subject: [Ext] Re: [PoonLab/OpenRDP] Installing Failure (Issue #86)
CAUTION: External email. Do not reply, click on links or open attachments unless you recognize the sender and know the content is safe.
!! self.initialize_options() error: [Errno 17] File exists: '/home/GGQ_Virome/anaconda3/envs/openrdp/bin/python3.12'
I'm getting a similar error using Python 3.12 in a conda environment. However, I was able to successfully run python3 setup.py install --user in a conda environment with Python 3.11
―
Reply to this email directly, view it on GitHub<#86 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A6VJR5YRY7UUM2W3E3SWJVTY52XMBAVCNFSM6AAAAABGFJW7PSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRRHA2DSMRUGE>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I try but still,I even try python 3.8 |
Can you please share the error message? |
running install
!!
!! |
Looks like a write permission issue - probably |
sure,but how can I fine this directory? |
Before we dig into that issue, can you make sure you are using the current version of OpenRDP ( |
hi, I redownload followed git clone https://github.com/PoonLab/OpenRDP and install as python3 setup.py install --user. And it seem installed well. but after that I try to run openrdp but it showed this : Traceback (most recent call last): |
Hi, I have fixed the problem when I install the dependencies as you showed. I guess it is because the different version of h5py |
Ok thanks for reporting that in. Is it okay to close this issue? |
Sure. Thanks for your help |
Hi PoonLab, I have met some problems when installing OpenRDP. I am trying to install OpenRDP following the command line : sudo python3 setup.py install
But it showed as beloved:
warning: no files found matching 'AUTHORS'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'docs_api/_build'
warning: no previously-included files found matching 'h5py/config.pxi'
warning: no previously-included files found matching 'h5py/defs.pxd'
warning: no previously-included files found matching 'h5py/defs.pyx'
warning: no previously-included files found matching 'h5py/_hdf5.pxd'
warning: no previously-included files matching '.DS_Store' found under directory ''
warning: no previously-included files found matching 'ci'
warning: no previously-included files found matching 'other'
warning: no previously-included files found matching '.github'
warning: no previously-included files matching '' found under directory 'ci'
warning: no previously-included files matching '' found under directory 'other'
warning: no previously-included files matching '' found under directory '.github'
warning: no previously-included files found matching '.yml'
warning: no previously-included files found matching '.yaml'
warning: no previously-included files matching 'pycache' found under directory ''
warning: no previously-included files matching '.py[co]' found under directory ''
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.coverage_dir'
warning: no previously-included files matching '' found under directory '.coverage_dir'
warning: no previously-included files found matching '.mailmap'
warning: no previously-included files found matching 'github_deploy_key_h5py_h5py.enc'
warning: no previously-included files found matching 'rever.xsh'
no previously-included directories found matching 'news'
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/setuptools/sandbox.py", line 154, in save_modules
yield saved
File "/usr/lib/python3.6/site-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python3.6/site-packages/setuptools/sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "/usr/lib/python3.6/site-packages/setuptools/sandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-h5_bpmin/h5py-3.11.0/setup.py", line 75, in
File "/usr/lib/python3.6/site-packages/setuptools/init.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/lib64/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib64/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib64/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 172, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "/usr/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 158, in call_command
self.run_command(cmdname)
File "/usr/lib64/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/lib/python3.6/site-packages/setuptools/command/install_lib.py", line 11, in run
self.build()
File "/usr/lib64/python3.6/distutils/command/install_lib.py", line 107, in build
self.run_command('build_ext')
File "/usr/lib64/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/tmp/easy_install-h5_bpmin/h5py-3.11.0/setup_build.py", line 128, in run
ModuleNotFoundError: No module named 'Cython'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "setup.py", line 28, in
zip_safe=False
File "/usr/lib/python3.6/site-packages/setuptools/init.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/lib64/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib64/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib64/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/lib/python3.6/site-packages/setuptools/command/install.py", line 67, in run
self.do_egg_install()
File "/usr/lib/python3.6/site-packages/setuptools/command/install.py", line 117, in do_egg_install
cmd.run()
File "/usr/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 411, in run
self.easy_install(spec, not self.no_deps)
File "/usr/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 659, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "/usr/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 706, in install_item
self.process_distribution(spec, dist, deps)
File "/usr/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 751, in process_distribution
[requirement], self.local_index, self.easy_install
File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 770, in resolve
replace_conflicting=replace_conflicting
File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 1053, in best_match
return self.obtain(req, installer)
File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 1065, in obtain
return installer(requirement)
File "/usr/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 678, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 704, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/usr/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 889, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/usr/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 1157, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/usr/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 1143, in run_setup
run_setup(setup_script, args)
File "/usr/lib/python3.6/site-packages/setuptools/sandbox.py", line 253, in run_setup
raise
File "/usr/lib64/python3.6/contextlib.py", line 99, in exit
self.gen.throw(type, value, traceback)
File "/usr/lib/python3.6/site-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib64/python3.6/contextlib.py", line 99, in exit
self.gen.throw(type, value, traceback)
File "/usr/lib/python3.6/site-packages/setuptools/sandbox.py", line 166, in save_modules
saved_exc.resume()
File "/usr/lib/python3.6/site-packages/setuptools/sandbox.py", line 141, in resume
six.reraise(type, exc, self._tb)
File "/usr/lib/python3.6/site-packages/setuptools/_vendor/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/usr/lib/python3.6/site-packages/setuptools/sandbox.py", line 154, in save_modules
yield saved
File "/usr/lib/python3.6/site-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python3.6/site-packages/setuptools/sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "/usr/lib/python3.6/site-packages/setuptools/sandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-h5_bpmin/h5py-3.11.0/setup.py", line 75, in
File "/usr/lib/python3.6/site-packages/setuptools/init.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/lib64/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib64/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib64/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 172, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "/usr/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 158, in call_command
self.run_command(cmdname)
File "/usr/lib64/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/lib/python3.6/site-packages/setuptools/command/install_lib.py", line 11, in run
self.build()
File "/usr/lib64/python3.6/distutils/command/install_lib.py", line 107, in build
self.run_command('build_ext')
File "/usr/lib64/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/tmp/easy_install-h5_bpmin/h5py-3.11.0/setup_build.py", line 128, in run
ModuleNotFoundError: No module named 'Cython'
Could you help me to fix it ?
Looking forward to your reply !
Many Thanks
The text was updated successfully, but these errors were encountered: