Skip to content
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

macos Version 10.11.6 #25

Closed
Elena2506 opened this issue Nov 9, 2018 · 9 comments
Closed

macos Version 10.11.6 #25

Elena2506 opened this issue Nov 9, 2018 · 9 comments

Comments

@Elena2506
Copy link

Elena2506 commented Nov 9, 2018

Hi, I cannot make pyrevolve works in macos version 10.11.6 Thanks!

(devito) Elenas-iMac:pyrevolve-1.0.1 elena$ python setup.py install
running install
running bdist_egg
running egg_info
writing pyrevolve.egg-info/PKG-INFO
writing dependency_links to pyrevolve.egg-info/dependency_links.txt
writing top-level names to pyrevolve.egg-info/top_level.txt
reading manifest file 'pyrevolve.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pyrevolve.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.7-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib.macosx-10.7-x86_64-3.6
creating build/lib.macosx-10.7-x86_64-3.6/pyrevolve
copying pyrevolve/__init__.py -> build/lib.macosx-10.7-x86_64-3.6/pyrevolve
copying pyrevolve/_version.py -> build/lib.macosx-10.7-x86_64-3.6/pyrevolve
copying pyrevolve/pyrevolve.py -> build/lib.macosx-10.7-x86_64-3.6/pyrevolve
UPDATING build/lib.macosx-10.7-x86_64-3.6/pyrevolve/_version.py
set build/lib.macosx-10.7-x86_64-3.6/pyrevolve/_version.py to '1.0.1'
running build_ext
building 'pyrevolve.crevolve' extension
creating build/temp.macosx-10.7-x86_64-3.6
creating build/temp.macosx-10.7-x86_64-3.6/pyrevolve
creating build/temp.macosx-10.7-x86_64-3.6/src
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/elena/anaconda2/envs/devito/include -arch x86_64 -I/Users/elena/anaconda2/envs/devito/include -arch x86_64 -I./pyrevolve -I. -Ipyrevolve -I/Users/elena/anaconda2/envs/devito/include/python3.6m -c pyrevolve/crevolve.cpp -o build/temp.macosx-10.7-x86_64-3.6/pyrevolve/crevolve.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
In file included from pyrevolve/../include/revolve_c.h:6:0,
                 from pyrevolve/crevolve.cpp:645:
pyrevolve/../include/revolve.h: In destructor ‘Revolve::~Revolve()’:
pyrevolve/../include/revolve.h:441:22: warning: deleting object of polymorphic class type ‘Schedule’ which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
  ~Revolve() { delete f, delete checkpoint; }
                      ^
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/elena/anaconda2/envs/devito/include -arch x86_64 -I/Users/elena/anaconda2/envs/devito/include -arch x86_64 -I./pyrevolve -I. -Ipyrevolve -I/Users/elena/anaconda2/envs/devito/include/python3.6m -c src/revolve_c.cpp -o build/temp.macosx-10.7-x86_64-3.6/src/revolve_c.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
In file included from src/../include/revolve_c.h:6:0,
                 from src/revolve_c.cpp:1:
src/../include/revolve.h: In destructor ‘Revolve::~Revolve()’:
src/../include/revolve.h:441:22: warning: deleting object of polymorphic class type ‘Schedule’ which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
  ~Revolve() { delete f, delete checkpoint; }
                      ^
/var/folders/wb/bt4160ms6sl4zpcl2dqg406m0000gn/T//ccA7X8km.s:3:11: warning: section "__textcoal_nt" is deprecated
        .section __TEXT,__textcoal_nt,coalesced,pure_instructions
                 ^      ~~~~~~~~~~~~~
/var/folders/wb/bt4160ms6sl4zpcl2dqg406m0000gn/T//ccA7X8km.s:3:11: note: change section name to "__text"
        .section __TEXT,__textcoal_nt,coalesced,pure_instructions
                 ^      ~~~~~~~~~~~~~
/var/folders/wb/bt4160ms6sl4zpcl2dqg406m0000gn/T//ccA7X8km.s:972:11: warning: section "__const_coal" is deprecated
        .section __DATA,__const_coal,coalesced
                 ^      ~~~~~~~~~~~~
/var/folders/wb/bt4160ms6sl4zpcl2dqg406m0000gn/T//ccA7X8km.s:972:11: note: change section name to "__const"
        .section __DATA,__const_coal,coalesced
                 ^      ~~~~~~~~~~~~
/var/folders/wb/bt4160ms6sl4zpcl2dqg406m0000gn/T//ccA7X8km.s:979:11: warning: section "__const_coal" is deprecated
        .section __TEXT,__const_coal,coalesced
                 ^      ~~~~~~~~~~~~
/var/folders/wb/bt4160ms6sl4zpcl2dqg406m0000gn/T//ccA7X8km.s:979:11: note: change section name to "__const"
        .section __TEXT,__const_coal,coalesced
                 ^      ~~~~~~~~~~~~
/var/folders/wb/bt4160ms6sl4zpcl2dqg406m0000gn/T//ccA7X8km.s:984:11: warning: section "__const_coal" is deprecated
        .section __DATA,__const_coal,coalesced
                 ^      ~~~~~~~~~~~~
/var/folders/wb/bt4160ms6sl4zpcl2dqg406m0000gn/T//ccA7X8km.s:984:11: note: change section name to "__const"
        .section __DATA,__const_coal,coalesced
                 ^      ~~~~~~~~~~~~
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/elena/anaconda2/envs/devito/include -arch x86_64 -I/Users/elena/anaconda2/envs/devito/include -arch x86_64 -I./pyrevolve -I. -Ipyrevolve -I/Users/elena/anaconda2/envs/devito/include/python3.6m -c src/revolve.cpp -o build/temp.macosx-10.7-x86_64-3.6/src/revolve.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
In file included from src/revolve.cpp:23:0:
src/../include/revolve.h: In destructor ‘Revolve::~Revolve()’:
src/../include/revolve.h:441:22: warning: deleting object of polymorphic class type ‘Schedule’ which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
  ~Revolve() { delete f, delete checkpoint; }
                      ^
src/revolve.cpp: In member function ‘ACTION::action Revolve::revolve(int*, int*, int*, int, int*)’:
src/revolve.cpp:1247:12: warning: deleting object of polymorphic class type ‘Schedule’ which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
     delete f;
            ^
src/revolve.cpp:1254:12: warning: deleting object of polymorphic class type ‘Schedule’ which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
     delete f;
            ^
src/revolve.cpp: In member function ‘ACTION::action Revolve::revolve()’:
src/revolve.cpp:1273:12: warning: deleting object of polymorphic class type ‘Schedule’ which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
     delete f;
            ^
src/revolve.cpp:1280:12: warning: deleting object of polymorphic class type ‘Schedule’ which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
     delete f;
            ^
src/revolve.cpp: In member function ‘void Revolve::turn(int)’:
src/revolve.cpp:1304:12: warning: deleting object of polymorphic class type ‘Schedule’ which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
     delete f;
            ^
src/revolve.cpp:1306:12: warning: deleting object of polymorphic class type ‘Online’ which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
     delete g;
            ^
src/revolve.cpp: In member function ‘int Revolve::get_r(int, int)’:
src/revolve.cpp:1400:20: warning: unused variable ‘num’ [-Wunused-variable]
   int reps, range, num;
                    ^
src/revolve.cpp: In member function ‘int Revolve::get_r()’:
src/revolve.cpp:1431:20: warning: unused variable ‘num’ [-Wunused-variable]
   int reps, range, num;
                    ^
src/revolve.cpp: In member function ‘virtual ACTION::action Moin::revolve()’:
src/revolve.cpp:824:20: warning: ‘index’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       check = index;
                    ^
/var/folders/wb/bt4160ms6sl4zpcl2dqg406m0000gn/T//ccpBjWbX.s:3:11: warning: section "__textcoal_nt" is deprecated
        .section __TEXT,__textcoal_nt,coalesced,pure_instructions
                 ^      ~~~~~~~~~~~~~
/var/folders/wb/bt4160ms6sl4zpcl2dqg406m0000gn/T//ccpBjWbX.s:3:11: note: change section name to "__text"
        .section __TEXT,__textcoal_nt,coalesced,pure_instructions
                 ^      ~~~~~~~~~~~~~
/var/folders/wb/bt4160ms6sl4zpcl2dqg406m0000gn/T//ccpBjWbX.s:19573:11: warning: section "__textcoal_nt" is deprecated
        .section __TEXT,__textcoal_nt,coalesced,pure_instructions
                 ^      ~~~~~~~~~~~~~
/var/folders/wb/bt4160ms6sl4zpcl2dqg406m0000gn/T//ccpBjWbX.s:19573:11: note: change section name to "__text"
        .section __TEXT,__textcoal_nt,coalesced,pure_instructions
                 ^      ~~~~~~~~~~~~~
/var/folders/wb/bt4160ms6sl4zpcl2dqg406m0000gn/T//ccpBjWbX.s:33133:11: warning: section "__textcoal_nt" is deprecated
        .section __TEXT,__textcoal_nt,coalesced,pure_instructions
                 ^      ~~~~~~~~~~~~~
/var/folders/wb/bt4160ms6sl4zpcl2dqg406m0000gn/T//ccpBjWbX.s:33133:11: note: change section name to "__text"
        .section __TEXT,__textcoal_nt,coalesced,pure_instructions
                 ^      ~~~~~~~~~~~~~
/var/folders/wb/bt4160ms6sl4zpcl2dqg406m0000gn/T//ccpBjWbX.s:38355:11: warning: section "__const_coal" is deprecated
        .section __DATA,__const_coal,coalesced
                 ^      ~~~~~~~~~~~~
/var/folders/wb/bt4160ms6sl4zpcl2dqg406m0000gn/T//ccpBjWbX.s:38355:11: note: change section name to "__const"
        .section __DATA,__const_coal,coalesced
                 ^      ~~~~~~~~~~~~
/var/folders/wb/bt4160ms6sl4zpcl2dqg406m0000gn/T//ccpBjWbX.s:38362:11: warning: section "__const_coal" is deprecated
        .section __TEXT,__const_coal,coalesced
                 ^      ~~~~~~~~~~~~
/var/folders/wb/bt4160ms6sl4zpcl2dqg406m0000gn/T//ccpBjWbX.s:38362:11: note: change section name to "__const"
        .section __TEXT,__const_coal,coalesced
                 ^      ~~~~~~~~~~~~
/var/folders/wb/bt4160ms6sl4zpcl2dqg406m0000gn/T//ccpBjWbX.s:38367:11: warning: section "__const_coal" is deprecated
        .section __DATA,__const_coal,coalesced
                 ^      ~~~~~~~~~~~~
/var/folders/wb/bt4160ms6sl4zpcl2dqg406m0000gn/T//ccpBjWbX.s:38367:11: note: change section name to "__const"
        .section __DATA,__const_coal,coalesced
                 ^      ~~~~~~~~~~~~
/var/folders/wb/bt4160ms6sl4zpcl2dqg406m0000gn/T//ccpBjWbX.s:38375:11: warning: section "__const_coal" is deprecated
        .section __TEXT,__const_coal,coalesced
                 ^      ~~~~~~~~~~~~
/var/folders/wb/bt4160ms6sl4zpcl2dqg406m0000gn/T//ccpBjWbX.s:38375:11: note: change section name to "__const"
        .section __TEXT,__const_coal,coalesced
                 ^      ~~~~~~~~~~~~
/var/folders/wb/bt4160ms6sl4zpcl2dqg406m0000gn/T//ccpBjWbX.s:38435:11: warning: section "__const_coal" is deprecated
        .section __DATA,__const_coal,coalesced
                 ^      ~~~~~~~~~~~~
/var/folders/wb/bt4160ms6sl4zpcl2dqg406m0000gn/T//ccpBjWbX.s:38435:11: note: change section name to "__const"
        .section __DATA,__const_coal,coalesced
                 ^      ~~~~~~~~~~~~
g++ -bundle -undefined dynamic_lookup -L/Users/elena/anaconda2/envs/devito/lib -arch x86_64 -L/Users/elena/anaconda2/envs/devito/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/pyrevolve/crevolve.o build/temp.macosx-10.7-x86_64-3.6/src/revolve_c.o build/temp.macosx-10.7-x86_64-3.6/src/revolve.o -o build/lib.macosx-10.7-x86_64-3.6/pyrevolve/crevolve.cpython-36m-darwin.so
creating build/bdist.macosx-10.7-x86_64
creating build/bdist.macosx-10.7-x86_64/egg
creating build/bdist.macosx-10.7-x86_64/egg/pyrevolve
copying build/lib.macosx-10.7-x86_64-3.6/pyrevolve/__init__.py -> build/bdist.macosx-10.7-x86_64/egg/pyrevolve
copying build/lib.macosx-10.7-x86_64-3.6/pyrevolve/_version.py -> build/bdist.macosx-10.7-x86_64/egg/pyrevolve
copying build/lib.macosx-10.7-x86_64-3.6/pyrevolve/crevolve.cpython-36m-darwin.so -> build/bdist.macosx-10.7-x86_64/egg/pyrevolve
copying build/lib.macosx-10.7-x86_64-3.6/pyrevolve/pyrevolve.py -> build/bdist.macosx-10.7-x86_64/egg/pyrevolve
byte-compiling build/bdist.macosx-10.7-x86_64/egg/pyrevolve/__init__.py to __init__.cpython-36.pyc
byte-compiling build/bdist.macosx-10.7-x86_64/egg/pyrevolve/_version.py to _version.cpython-36.pyc
byte-compiling build/bdist.macosx-10.7-x86_64/egg/pyrevolve/pyrevolve.py to pyrevolve.cpython-36.pyc
creating stub loader for pyrevolve/crevolve.cpython-36m-darwin.so
byte-compiling build/bdist.macosx-10.7-x86_64/egg/pyrevolve/crevolve.py to crevolve.cpython-36.pyc
creating build/bdist.macosx-10.7-x86_64/egg/EGG-INFO
copying pyrevolve.egg-info/PKG-INFO -> build/bdist.macosx-10.7-x86_64/egg/EGG-INFO
copying pyrevolve.egg-info/SOURCES.txt -> build/bdist.macosx-10.7-x86_64/egg/EGG-INFO
copying pyrevolve.egg-info/dependency_links.txt -> build/bdist.macosx-10.7-x86_64/egg/EGG-INFO
copying pyrevolve.egg-info/top_level.txt -> build/bdist.macosx-10.7-x86_64/egg/EGG-INFO
writing build/bdist.macosx-10.7-x86_64/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
pyrevolve.__pycache__.crevolve.cpython-36: module references __file__
creating dist
creating 'dist/pyrevolve-1.0.1-py3.6-macosx-10.7-x86_64.egg' and adding 'build/bdist.macosx-10.7-x86_64/egg' to it
removing 'build/bdist.macosx-10.7-x86_64/egg' (and everything under it)
Processing pyrevolve-1.0.1-py3.6-macosx-10.7-x86_64.egg
creating /Users/elena/anaconda2/envs/devito/lib/python3.6/site-packages/pyrevolve-1.0.1-py3.6-macosx-10.7-x86_64.egg
Extracting pyrevolve-1.0.1-py3.6-macosx-10.7-x86_64.egg to /Users/elena/anaconda2/envs/devito/lib/python3.6/site-packages
Adding pyrevolve 1.0.1 to easy-install.pth file

Installed /Users/elena/anaconda2/envs/devito/lib/python3.6/site-packages/pyrevolve-1.0.1-py3.6-macosx-10.7-x86_64.egg
Processing dependencies for pyrevolve==1.0.1
Finished processing dependencies for pyrevolve==1.0.1
(devito) Elenas-iMac:pyrevolve-1.0.1 elena$ python -c "import pyrevolve"
Traceback (most recent call last):
  File "/Users/elena/install/pyrevolve-1.0.1/pyrevolve/pyrevolve.py", line 2, in <module>
    import pyrevolve.crevolve as cr
ImportError: dlopen(/Users/elena/install/pyrevolve-1.0.1/pyrevolve/crevolve.cpython-36m-darwin.so, 2): Symbol not found: __ZNKSt5ctypeIcE13_M_widen_initEv
  Referenced from: /Users/elena/install/pyrevolve-1.0.1/pyrevolve/crevolve.cpython-36m-darwin.so
  Expected in: /usr/lib/libstdc++.6.dylib
 in /Users/elena/install/pyrevolve-1.0.1/pyrevolve/crevolve.cpython-36m-darwin.so

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/elena/install/pyrevolve-1.0.1/pyrevolve/__init__.py", line 3, in <module>
    from pyrevolve.pyrevolve import * # noqa
  File "/Users/elena/install/pyrevolve-1.0.1/pyrevolve/pyrevolve.py", line 4, in <module>
    import crevolve as cr
ModuleNotFoundError: No module named 'crevolve'

@jhueckelheim
Copy link

jhueckelheim commented Nov 9, 2018 via email

@Elena2506
Copy link
Author

Elena2506 commented Nov 9, 2018 via email

@jhueckelheim
Copy link

jhueckelheim commented Nov 9, 2018 via email

@Elena2506
Copy link
Author

Elena2506 commented Nov 9, 2018 via email

@jhueckelheim
Copy link

jhueckelheim commented Nov 9, 2018 via email

@Elena2506
Copy link
Author

Elena2506 commented Nov 10, 2018 via email

@navjotk
Copy link
Member

navjotk commented Nov 12, 2018

Hi @Elena2506 . Isolation between the different environments is an important part of what conda offers.

Under normal circumstances, installing something in one environment should not affect things in another environment.

@navjotk
Copy link
Member

navjotk commented Feb 27, 2019

@Elena2506 If this issue was solved for you, I would like to close it here

@Elena2506
Copy link
Author

Elena2506 commented Feb 27, 2019 via email

@navjotk navjotk closed this as completed Feb 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants