I've searched around for awhile, and tried http://nltk.org/install.html#source-installation-for-32-bit-or-64-bit-windows and the registry changes from other sites (ex. http://www.comoke.com/index.php/2010/11/pyyaml-on-windows-7-64-bit-python-nltk-pyyaml-python-required-not-found-in-registry/ --although modified to use my winpython folder).
(it does seem to indicate that I have nltk installed, but winpython doesn't seem to come with nltk, and "import nltk" doesn't work)
my output from running the command "pip install pyyaml nltk" is below:
C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\Scripts>pip install pyyaml nltk
Downloading/unpacking pyyaml
Running setup.py egg_info for package pyyaml
skipping 'ext\_yaml.c' Cython extension (up-to-date)
Requirement already satisfied (use --upgrade to upgrade): nltk in c:\winpython-6
4bit-2.7.5.1\python-2.7.5.amd64\lib\site-packages
Installing collected packages: pyyaml
Running setup.py install for pyyaml
checking if libyaml is compilable
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:\users\thisis~1\appdata\local\temp\pip-build-thisisawittyusername\
pyyaml\setup.py", line 344, in <module>
--> the rest is trimmed
Any thoughts?
edit--here is the entire error:
C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\Scripts>pip install pyyaml nltk
Downloading/unpacking pyyaml
Running setup.py egg_info for package pyyaml
skipping 'ext\_yaml.c' Cython extension (up-to-date)
Requirement already satisfied (use --upgrade to upgrade): nltk in c:\winpython-6
4bit-2.7.5.1\python-2.7.5.amd64\lib\site-packages
Installing collected packages: pyyaml
Running setup.py install for pyyaml
checking if libyaml is compilable
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:\users\thisis~1\appdata\local\temp\pip-build-thisisawittyusername\
pyyaml\setup.py", line 344, in <module>
'test': test,
File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\distutils\core.py"
, line 152, in setup
dist.run_commands()
File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\distutils\dist.py"
, line 953, in run_commands
self.run_command(cmd)
File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\distutils\dist.py"
, line 972, in run_command
cmd_obj.run()
File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\site-packages\setu
ptools\command\install.py", line 53, in run
return _install.run(self)
File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\distutils\command\
install.py", line 563, in run
self.run_command('build')
File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\distutils\cmd.py",
line 326, in run_command
self.distribution.run_command(command)
File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\distutils\dist.py"
, line 972, in run_command
cmd_obj.run()
File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\distutils\command\
build.py", line 127, in run
self.run_command(cmd_name)
File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\distutils\cmd.py",
line 326, in run_command
self.distribution.run_command(command)
File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\distutils\dist.py"
, line 972, in run_command
cmd_obj.run()
File "c:\users\thisis~1\appdata\local\temp\pip-build-thisisawittyusername\
pyyaml\setup.py", line 171, in run
_build_ext.run(self)
File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\site-packages\Cyth
on\Distutils\build_ext.py", line 163, in run
_build_ext.build_ext.run(self)
File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\distutils\command\
build_ext.py", line 339, in run
self.build_extensions()
File "c:\users\thisis~1\appdata\local\temp\pip-build-thisisawittyusername\
pyyaml\setup.py", line 213, in build_extensions
with_ext = self.check_extension_availability(ext)
File "c:\users\thisis~1\appdata\local\temp\pip-build-thisisawittyusername\
pyyaml\setup.py", line 239, in check_extension_availability
depends=ext.depends)
File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\distutils\msvc9com
piler.py", line 473, in compile
self.initialize()
File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\distutils\msvc9com
piler.py", line 383, in initialize
vc_env = query_vcvarsall(VERSION, plat_spec)
File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\distutils\msvc9com
piler.py", line 299, in query_vcvarsall
raise ValueError(str(list(result.keys())))
ValueError: [u'path']
Complete output from command C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\p
ython.exe -c "import setuptools;__file__='c:\\users\\thisis~1\\appdata\\local\\t
emp\\pip-build-thisisawittyusername\\pyyaml\\setup.py';exec(compile(open(__file_
_).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\t
hisis~1\appdata\local\temp\pip-taygji-record\install-record.txt --single-version
-externally-managed:
running install
running build
running build_py
running build_ext
checking if libyaml is compilable
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:\users\thisis~1\appdata\local\temp\pip-build-thisisawittyusername\pyya
ml\setup.py", line 344, in <module>
'test': test,
File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\distutils\core.py", li
ne 152, in setup
dist.run_commands()
File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\distutils\dist.py", li
ne 953, in run_commands
self.run_command(cmd)
File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\distutils\dist.py", li
ne 972, in run_command
cmd_obj.run()
File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\site-packages\setuptoo
ls\command\install.py", line 53, in run
return _install.run(self)
File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\distutils\command\inst
all.py", line 563, in run
self.run_command('build')
File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\distutils\cmd.py", lin
e 326, in run_command
self.distribution.run_command(command)
File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\distutils\dist.py", li
ne 972, in run_command
cmd_obj.run()
File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\distutils\command\buil
d.py", line 127, in run
self.run_command(cmd_name)
File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\distutils\cmd.py", lin
e 326, in run_command
self.distribution.run_command(command)
File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\distutils\dist.py", li
ne 972, in run_command
cmd_obj.run()
File "c:\users\thisis~1\appdata\local\temp\pip-build-thisisawittyusername\pyya
ml\setup.py", line 171, in run
_build_ext.run(self)
File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\site-packages\Cython\D
istutils\build_ext.py", line 163, in run
_build_ext.build_ext.run(self)
File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\distutils\command\buil
d_ext.py", line 339, in run
self.build_extensions()
File "c:\users\thisis~1\appdata\local\temp\pip-build-thisisawittyusername\pyya
ml\setup.py", line 213, in build_extensions
with_ext = self.check_extension_availability(ext)
File "c:\users\thisis~1\appdata\local\temp\pip-build-thisisawittyusername\pyya
ml\setup.py", line 239, in check_extension_availability
depends=ext.depends)
File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\distutils\msvc9compile
r.py", line 473, in compile
self.initialize()
File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\distutils\msvc9compile
r.py", line 383, in initialize
vc_env = query_vcvarsall(VERSION, plat_spec)
File "C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\lib\distutils\msvc9compile
r.py", line 299, in query_vcvarsall
raise ValueError(str(list(result.keys())))
ValueError: [u'path']
----------------------------------------
Command C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\python.exe -c "import setu
ptools;__file__='c:\\users\\thisis~1\\appdata\\local\\temp\\pip-build-thisisawit
tyusername\\pyyaml\\setup.py';exec(compile(open(__file__).read().replace('\r\n',
'\n'), __file__, 'exec'))" install --record c:\users\thisis~1\appdata\local\tem
p\pip-taygji-record\install-record.txt --single-version-externally-managed faile
d with error code 1 in c:\users\thisis~1\appdata\local\temp\pip-build-thisisawit
tyusername\pyyaml
Storing complete log in C:\Users\thisisawittyusername\pip\pip.log
update--re-registered winpython (using the its built in control pannel), installed the 32 bit version of pyyaml from the site, and then nltk, and it seems to be working(!)
Related
I am tring to install numpy with pip3, my environment:ubuntu(WSL), python3.8
pip3 install numpy
but I get this error
# pip3 install numpy
...
INFO: building library "npyrandom" sources
INFO: building extension "numpy.core._multiarray_tests" sources
INFO: building extension "numpy.core._multiarray_umath" sources
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-mx9wlqi4/numpy/setup.py", line 494, in <module>
setup_package()
File "/tmp/pip-build-mx9wlqi4/numpy/setup.py", line 486, in setup_package
setup(**metadata)
File "/tmp/pip-build-mx9wlqi4/numpy/numpy/distutils/core.py", line 169, in setup
return old_setup(**new_attr)
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 144, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-build-mx9wlqi4/numpy/numpy/distutils/command/install.py", line 60, in run
r = self.setuptools_run()
File "/tmp/pip-build-mx9wlqi4/numpy/numpy/distutils/command/install.py", line 34, in setuptools_run
return distutils_install.run(self)
File "/usr/lib/python3.8/distutils/command/install.py", line 589, in run
self.run_command('build')
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-build-mx9wlqi4/numpy/numpy/distutils/command/build.py", line 62, in run
old_build.run(self)
File "/usr/lib/python3.8/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-build-mx9wlqi4/numpy/numpy/distutils/command/build_src.py", line 144, in run
self.build_sources()
File "/tmp/pip-build-mx9wlqi4/numpy/numpy/distutils/command/build_src.py", line 161, in build_sources
self.build_extension_sources(ext)
File "/tmp/pip-build-mx9wlqi4/numpy/numpy/distutils/command/build_src.py", line 318, in build_extension_sources
sources = self.generate_sources(sources, ext)
File "/tmp/pip-build-mx9wlqi4/numpy/numpy/distutils/command/build_src.py", line 378, in generate_sources
source = func(extension, build_dir)
File "/tmp/pip-build-mx9wlqi4/numpy/numpy/core/setup.py", line 507, in generate_config_h
moredefs, ignored = cocache.check_types(config_cmd, ext, build_dir)
File "/tmp/pip-build-mx9wlqi4/numpy/numpy/core/setup.py", line 54, in check_types
out = check_types(*a, **kw)
File "/tmp/pip-build-mx9wlqi4/numpy/numpy/core/setup.py", line 351, in check_types
raise SystemError(
SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-mx9wlqi4/numpy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-7vewheak-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-mx9wlqi4/numpy/
I am try to install python-dev|python-devel
# sudo apt-get install python-dev
# sudo apt-get install python-devel
(python-devel installation occoured another error:E: Unable to locate package python-devel, and I ignore it)
Then I try again to install numpy, error is as the same.
I am trying to install the Python package "py_coda" from this github:
https://github.com/surhudm/py-coda
I am following the steps in the README.md but when I enter the following command:
python setup.py install
I receive the following error:
running install /home/osgrinds/mnt/c/Users/Owner/anaconda3/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( /home/osgrinds/mnt/c/Users/Owner/anaconda3/lib/python3.9/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( running bdist_egg running egg_info writing src/py_coda.egg-info/PKG-INFO Traceback (most recent call last): File "/mnt/c/Users/Owner/Desktop/Stage_2022/BH_M-sigma_compilation/py-coda/setup.py", line 5, in setup(name='py-coda', File "/home/osgrinds/mnt/c/Users/Owner/anaconda3/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 148, in setup return run_commands(dist) File "/home/osgrinds/mnt/c/Users/Owner/anaconda3/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 163, in run_commands dist.run_commands() File "/home/osgrinds/mnt/c/Users/Owner/anaconda3/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands self.run_command(cmd) File "/home/osgrinds/mnt/c/Users/Owner/anaconda3/lib/python3.9/site-packages/setuptools/dist.py", line 1214, in run_command super().run_command(command) File "/home/osgrinds/mnt/c/Users/Owner/anaconda3/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command cmd_obj.run() File "/home/osgrinds/mnt/c/Users/Owner/anaconda3/lib/python3.9/site-packages/setuptools/command/install.py", line 74, in run self.do_egg_install() File "/home/osgrinds/mnt/c/Users/Owner/anaconda3/lib/python3.9/site-packages/setuptools/command/install.py", line 123, in do_egg_install self.run_command('bdist_egg') File "/home/osgrinds/mnt/c/Users/Owner/anaconda3/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/home/osgrinds/mnt/c/Users/Owner/anaconda3/lib/python3.9/site-packages/setuptools/dist.py", line 1214, in run_command super().run_command(command) File "/home/osgrinds/mnt/c/Users/Owner/anaconda3/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command cmd_obj.run() File "/home/osgrinds/mnt/c/Users/Owner/anaconda3/lib/python3.9/site-packages/setuptools/command/bdist_egg.py", line 156, in run self.run_command("egg_info") File "/home/osgrinds/mnt/c/Users/Owner/anaconda3/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/home/osgrinds/mnt/c/Users/Owner/anaconda3/lib/python3.9/site-packages/setuptools/dist.py", line 1214, in run_command super().run_command(command) File "/home/osgrinds/mnt/c/Users/Owner/anaconda3/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command cmd_obj.run() File "/home/osgrinds/mnt/c/Users/Owner/anaconda3/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 291, in run writer(self, ep.name, os.path.join(self.egg_info, ep.name)) File "/home/osgrinds/mnt/c/Users/Owner/anaconda3/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 655, in write_pkg_info metadata.write_pkg_info(cmd.egg_info) File "/home/osgrinds/mnt/c/Users/Owner/anaconda3/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 1118, in write_pkg_info self.write_pkg_file(pkg_info) File "/home/osgrinds/mnt/c/Users/Owner/anaconda3/lib/python3.9/site-packages/setuptools/dist.py", line 193, in write_pkg_file license = rfc822_escape(self.get_license()) File "/home/osgrinds/mnt/c/Users/Owner/anaconda3/lib/python3.9/site-packages/setuptools/_distutils/util.py", line 494, in rfc822_escape lines = header.split('\n') AttributeError: 'list' object has no attribute 'split'
I'm not sure what is causing this or how to solve it.
You can try installing from the source(git) by
pip install git+https://github.com/surhudm/py-coda
-- Configuring incomplete, errors occurred!
See also "C:/Users/Jehad/AppData/Local/Temp/pip-build-uz9hgn/dlib/build/temp.win32-2.7/Release/CMakeFiles/CMakeOutput.log".
See also "C:/Users/Jehad/AppData/Local/Temp/pip-build-uz9hgn/dlib/build/temp.win32-2.7/Release/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:\users\jehad\appdata\local\temp\pip-build-uz9hgn\dlib\setup.py", line 238, in <module>
'Topic :: Software Development',
File "c:\python27\lib\distutils\core.py", line 151, in setup
dist.run_commands()
File "c:\python27\lib\distutils\dist.py", line 953, in run_commands
self.run_command(cmd)
File "c:\python27\lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "c:\python27\lib\site-packages\setuptools\command\install.py", line 61, in run
return orig.install.run(self)
File "c:\python27\lib\distutils\command\install.py", line 563, in run
self.run_command('build')
File "c:\python27\lib\distutils\cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "c:\python27\lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "c:\python27\lib\distutils\command\build.py", line 127, in run
self.run_command(cmd_name)
File "c:\python27\lib\distutils\cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "c:\python27\lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "c:\users\jehad\appdata\local\temp\pip-build-uz9hgn\dlib\setup.py", line 119, in run
self.build_extension(ext)
File "c:\users\jehad\appdata\local\temp\pip-build-uz9hgn\dlib\setup.py", line 153, in build_extension
subprocess.check_call(cmake_setup, cwd=build_folder)
File "c:\python27\lib\subprocess.py", line 186, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', 'c:\\users\\jehad\\appdata\\local\\temp\\pip-build-uz9hgn\\dlib\\tools\\python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=c:\\users\\jehad\\appdata\\local\\temp\\pip-build-uz9hgn\\dlib\\build\\lib.win32-2.7', '-DPYTHON_EXECUTABLE=c:\\python27\\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=c:\\users\\jehad\\appdata\\local\\temp\\pip-build-uz9hgn\\dlib\\build\\lib.win32-2.7']' returned non-zero exit status 1
----------------------------------------
Command "c:\python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\jehad\\appdata\\local\\temp\\pip-build-uz9hgn\\dlib\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record c:\users\jehad\appdata\local\temp\pip-xb26oy-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in c:\users\jehad\appdata\local\temp\pip-build-uz9hgn\dlib\
I have been trying to install dlib in my windows pc, but it showed it dint have cmake so after pip install cmake, it shows this error.
I am quite new to this, so like still trying to understand what this error means and how to fix it.
Install CMake using the installer from cmake.org. And make sure you tell the installer to put it into your path.
I get an error when running jedi:install-server which I don't know how to fix:
Running setup.py install for jediepcserver
Traceback (most recent call last):
File \"<string>\", line 1, in <module>
File \"/tmp/pip-MLAXK5-build/setup.py\", line 25, in <module>
**args
File \"/home/ehere/anaconda2/lib/python2.7/distutils/core.py\", line 151, in setup
dist.run_commands()
File \"/home/ehere/anaconda2/lib/python2.7/distutils/dist.py\", line 953, in run_commands
self.run_command(cmd)
File \"/home/ehere/anaconda2/lib/python2.7/distutils/dist.py\", line 972, in run_command
cmd_obj.run()
File \"/home/ehere/.emacs.d/.python-environments/default/lib/python2.7/site-packages/setuptools/command/install.py\", line 61, in run
return orig.install.run(self)
File \"/home/ehere/anaconda2/lib/python2.7/distutils/command/install.py\", line 575, in run
self.run_command(cmd_name)
File \"/home/ehere/anaconda2/lib/python2.7/distutils/cmd.py\", line 326, in run_command
self.distribution.run_command(command)
File \"/home/ehere/anaconda2/lib/python2.7/distutils/dist.py\", line 971, in run_command
cmd_obj.ensure_finalized()
File \"/home/ehere/anaconda2/lib/python2.7/distutils/cmd.py\", line 109, in ensure_finalized
self.finalize_options()
File \"/home/ehere/.emacs.d/.python-environments/default/lib/python2.7/site-packages/setuptools/command/install_lib.py\", line 16, in finalize_options
self.set_undefined_options('install',('install_layout','install_layout'))
File \"/home/ehere/anaconda2/lib/python2.7/distutils/cmd.py\", line 302, in set_undefined_options
getattr(src_cmd_obj, src_option))
File \"/home/ehere/anaconda2/lib/python2.7/distutils/cmd.py\", line 105, in __getattr__
raise AttributeError, attr
AttributeError: install_layout
Complete output from command /home/ehere/.emacs.d/.python-environments/default/bin/python2 -c \"import setuptools, tokenize;__file__='/tmp/pip-MLAXK5-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record /tmp/pip-uD7aIs-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/ehere/.emacs.d/.python-environments/default/include/site/python2.7:
running install
Strangly I can install jediepcserver manually using pip -U /path/to/jedi-core/, but somehow when running it from inside emacs it does not work. Anyone has a clue what is going on here?
ValueError: invalid version number '2.20.51.20100613'
I'm having problems installing pycrypto. Tried package manager: pip & easy_install, didn't work. Tried to manually install it via "python setup.py install", the same error like the above appears.
I've followed the instructions here and got stuck at installing pycrypto after installing "mingW" gcc, g++ and msys-base (MSYS shell environment)
Not really sure what to do now after several days of trying.
Here's the complete output of the error:
C:\Users\Denz\Desktop>pip install pycrypto
Downloading/unpacking pycrypto
Running setup.py egg_info for package pycrypto
Installing collected packages: pycrypto
Running setup.py install for pycrypto
Traceback (most recent call last):
File "", line 1, in ?
File "C:\Users\Denz\Desktop\build\pycrypto\setup.py", line 340, in ?
core.setup(**kw)
File "C:\Python24\lib\distutils\core.py", line 149, in setup
dist.run_commands()
File "C:\Python24\lib\distutils\dist.py", line 946, in run_commands
self.run_command(cmd)
File "C:\Python24\lib\distutils\dist.py", line 966, in run_command
cmd_obj.run()
File "c:\python24\lib\site-packages\distribute-0.6.14-py2.4.egg\setuptools
\command\install.py", line 53, in run
return _install.run(self)
File "C:\Python24\lib\distutils\command\install.py", line 506, in run
self.run_command('build')
File "C:\Python24\lib\distutils\cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "C:\Python24\lib\distutils\dist.py", line 966, in run_command
cmd_obj.run()
File "C:\Python24\lib\distutils\command\build.py", line 112, in run
self.run_command(cmd_name)
File "C:\Python24\lib\distutils\cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "C:\Python24\lib\distutils\dist.py", line 966, in run_command
cmd_obj.run()
File "C:\Python24\lib\distutils\command\build_ext.py", line 253, in run
force=self.force)
File "C:\Python24\lib\distutils\ccompiler.py", line 1177, in new_compiler
return klass (None, dry_run, force)
File "C:\Python24\lib\distutils\cygwinccompiler.py", line 292, in init
CygwinCCompiler.__init__ (self, verbose, dry_run, force)
File "C:\Python24\lib\distutils\cygwinccompiler.py", line 83, in __init__
self.gcc_version, self.ld_version, self.dllwrap_version = \
File "C:\Python24\lib\distutils\cygwinccompiler.py", line 424, in get_versions
ld_version = StrictVersion(result.group(1))
File "C:\Python24\lib\distutils\version.py", line 40, in __init__
self.parse(vstring)
File "C:\Python24\lib\distutils\version.py", line 107, in parse
raise ValueError, "invalid version number '%s'" % vstring
ValueError: invalid version number '2.20.51.20100613'
You can get working windows binaries on this page.