| 
					
	
	 
		Dear all,
 
				I'm an italian student and I'm new in QuantLib and Python environment. Anyway I'm working on my final thesis and I'm using IPython in Anaconda Environment. I discovered QuantLib some days ago and I would link to install it on my Mac OSX 10.11.5 El Capitan. I intalled XCode and relative tools and MacPorts. I completed the installation of QuantLib and I'm trying to complete the installation of QuantLib(Swig)-Python. Unfortunately I always get this error message: $ python setup.py build python: can't open file 'setup.py': [Errno 2] No such file or directory $ cd QuantLib-SWIG-1.7./configure -bash: cd: QuantLib-SWIG-1.7./configure: No such file or directory I followed all explained steps but I still have some problems and I don't know how to fix it at all ![]() Thank you all in advance and I'm sorry for my lack of experience in this kind of things.. Stefania  | 
			
| 
					
	
	 Hello,     are you using a release from https://sourceforge.net/projects/quantlib/files/, or did you check out the sources from GitHub? Luigi On Tue, May 31, 2016 at 10:39 AM StefIT <[hidden email]> wrote: Dear all, ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users  | 
			
| 
					
	
	 
		Hi Luigi,
 
				thank you for your answer. I downloaded QuantLib Swig from https://sourceforge.net/projects/quantlib/files/ selecting "other languages". thank you  | 
			
| 
					
	
	 Ok. Once you extract the release, setup.py would be in the QuantLib-SWIG-1.7/Python folder, so you have to cd into that folder before running `python setup.py build`: $ cd QuantLib-SWIG-1.7/Python $ python setup.py build $ sudo python setup.py install The same goes for running ./configure instead; what you posted should be two different commands, not one: $ cd QuantLib-SWIG-1.7 $ ./configure $ make -C Python $ sudo make -C Python install Either way should build the module. Luigi On Tue, May 31, 2016 at 12:10 PM StefIT <[hidden email]> wrote: Hi Luigi, ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users  | 
			
| 
					
	
	 
		As I said I'm completely new in this sector (I've never worked in Terminale) but your help is essential.
 
				Thank you Luigi, I'm going to try right know. Best regards, Stefania  | 
			
| 
					
	
	 
		Ok I applied steps that you suggested. I think it works.  
				The I tried to import QuantLib as ql in IPython , I get this error message: ImportError: dlopen(//anaconda/lib/python2.7/site-packages/QuantLib/_QuantLib.so, 2): Symbol not found: __ZN8QuantLib10DateParser14parseFormattedERKSsS2_
  Referenced from: //anaconda/lib/python2.7/site-packages/QuantLib/_QuantLib.so
  Expected in: dynamic lookupI apologize to bother you, but I really would be able to solve the problem. Thank you in advance, Stefania  
  | 
			
| 
					
	
	 You'll need to find out where you installed the QuantLib C++ library, libQuantLib.so . On Linux systems, it would be in /usr/local/lib; there's a chance that the location is the same on your Mac, too.  Once you have found the library, you need to add its location to the dynamic linker path DYLD_LIBRARY_PATH; see for instance <http://superuser.com/questions/282450/where-do-i-set-dyld-library-path-on-mac-os-x-and-is-it-a-good-idea>. Luigi On Tue, May 31, 2016 at 2:49 PM StefIT <[hidden email]> wrote: Ok I applied steps that you suggested. I think it works. ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users  | 
			
| 
					
	
	 
		Unfortunately I’m only able to find a file named _QuantLib.so in anaconda/lib/python2.7/site-packages/QuantLib. 
				I tried to search the C++ library but spotlight does not return anything. I cannot figure it out what I did wrong.  I opened opt/local/lib but there’s no libQuantLib.so file 
 
  | 
			
| 
					
	 
				In reply to this post by Luigi Ballabio
			 
	
		Sorry if I bother you again. 
				I found a found called libQuantLib.la then the extension is different but this is the only file which refers to libQuantLib. Is it a problem?  
	
	
	
	
  | 
			
| 
					
	 
				In reply to this post by Luigi Ballabio
			 
	Sent from my BlackBerry 10 smartphone.                                                                                                                                                                                   
 You'll need to find out where you installed the QuantLib C++ library, libQuantLib.so . On Linux systems, it would be in /usr/local/lib; there's a chance that the location is the same on your Mac, too.  Once you have found the library, you need to add its location to the dynamic linker path DYLD_LIBRARY_PATH; see for instance <http://superuser.com/questions/282450/where-do-i-set-dyld-library-path-on-mac-os-x-and-is-it-a-good-idea>. Luigi On Tue, May 31, 2016 at 2:49 PM StefIT <[hidden email]> wrote: Ok I applied steps that you suggested. I think it works. ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users  | 
			|||
| 
					
	
	 libQuantLib.la is ok, but it's just a stub referring to the actual library file which should be in the same place. How did you build QuantLib? Luigi On Tue, May 31, 2016 at 8:31 PM <[hidden email]> wrote: 
 ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users  | 
			|||
| Free forum by Nabble | Edit this page | 
	
	
		