I am trying to install Mathics under Mac Os X Mavericks. The installation instructions states to install 3 libraries in advance (besides python): python-dev, libsqlite3-dev, and libgmp3-dev. I used Homebrew to install python but I can't find the other libraries. I found an article here on SE on how to find the headers but I do not know what to do to continue the installation. Running python initialize.py as stated in the instructions I get an error
/usr/local/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'initialize.py': [Errno 2] No such file or directory
So, what are the replacements for the libraries in Homebrew?
Disclaimer: I'm the current Mathics maintainer.
Sorry, the instructions on the website are out of date. Instead, try
python setup.py initialize
The instructions on the wiki are up to date. (I haven't got access to the Mathics website so I can't fix them there).
Apologies again for the outdated documentation.
Related
I am trying to install pycurl module in Thonny virtual environment but without any luck..
Whatever I try, I am getting the same error message:
Please specify --curl-dir=/path/to/built/libcurl
I have previously installed this module on my Raspberry PI linux and did not have any issues whatsoever. Seems like a lot of people are having issues installing it on Windows Machine and there is still no clear solution to this.
According to the official pycurl website:
http://pycurl.io/docs/latest/install.html#windows
I should be able to install pycurl by using pip install pycurl. That is not the case unfortunately.
Also, they provide a link that is not working:
Clicking on the link returns "Forbidden".
Hoping to get some clarification. Thanks in advance.
If you want to install the current version, you need to build it from source.
You may be able to find a binary of a previous version to install through pypi.
I am new to Python, trying to learn it by doing a tutorial based on "Dive into Python" book.
I am already in chapter about SOAP and I encountered some problems, when I tried to install all required libraries to use SOAP.
The tutorial says I need 3 libraries:
PyXML, fpconst, SOAPpy
I've installed fpconst succesfully.
However I can't install two others. I read on some forum that to install SOAPpy I need to have PyXML already installed, so maybe the problem is only in the first library.
I followed instructions in README, but I'm getting some error and I don't really know what is wrong and how can solve it. See screen for details. My version of Python is 2.7.2+ and I am trying to install PyXML version 0.8.4.
Full size
The errors states that such file or directory does not exist.
I am using Ubuntu 11.10.
PS: Ah! I forgot to mention that. I downloaded PyXML from this source :
http://sourceforge.net/projects/pyxml/
And it it written here that it is out of date and one shouldn't use it. So what is an alternative to PyXML?
If you are using Ubuntu, why not just install these with your package manager?
sudo apt-get install python-lxml python-fpconst python-soappy
The package manager should be your preferred way to install any software in a Linux distro - it will make your life a lot easier, and ensure you keep things up-to-date and can easily uninstall them.
Failing that, you could also use PyPi - the Python Package Index.
pip install lxml
pip install fpconst
pip install soappy
my question is too many on Google but I still cannot find the real answer.
First, I run rails server : error missing libv8
I try bundle install and notice that cannot install libv8 library because missing Python.
But I have installed Python before at put it into Path. For example: D:\...:\Python\ : notice that not Python\bin because python doesn't have bin folder.
I have read some tutorial on internet, has tried to install DevKit too, but no result.
Please help me. Thanks :)
Besides the DevKit you need Python to be installed and included in your path.
There are several Python installers for windows on the Python Dowload Page.
My first attempt with Python 3.2.3 failed, because it is not supported by libv8.
My second attempt with 2.7 succeeded!
I am having problems with installing libxml with python 2.7 . I searched various answers in SO they told to install from prebuild binaries fro here
http://pypi.python.org/pypi/lxml/2.2.2
But i am not able to find on that page how to install pre build binaries . can anyone please help me with this.
Also i don't have svn installed
You can find it, and lots of up to date binaries here.
Credit to YOU
easy_install lxml
http://packages.python.org/distribute/easy_install.html
I am trying to install python bindings for the enchant library (pyenchant), according to the readme, it should be as simple as running python setup.py install
But when I try that, I get this error:
OSError: [Errno 2] No such file or directory: './tools/pyenchant-bdist-osx-sources/build/lib'
Can someone tell me what to do? I have tried google, but with no luck.
PS: I have this same question on serverfault, as I thought that was the most appropriate place for it, but with little help there, I am now trying here.
You need to install the enchant library first. On the download page pyenchant indicates that it is a prerequisite if you are building from source. (There are pre-build binaries listed for python 2.5 and 2.6 as well.)
I just installed enchant via homebrew on OS X 10.7 and then pyenchant installed without a problem.
If you decide to use homebrew for installing enchant, note that I had to brew install pkg-config separate as the recipe doesn't seem to install it as a dependancy (and fails as a result).
I believe you'll need to install
the Apple Developer Tools (XCode)
for your Mac OS X version.
If you haven't done so...
cheers
James