Code Monkey home page Code Monkey logo

Comments (8)

rotemweiss57 avatar rotemweiss57 commented on July 26, 2024 5

Please follow these instructions:

  1. create a new conda env: 'conda create -n py311 python=3.11'
  2. run: 'conda activate py311'
  3. clone the repo: git clone https://github.com/assafelovic/gpt-researcher.git
  4. go to directory: cd gpt-researcher
  5. run: 'pip install -r requirements.txt'
  6. run: 'conda install -c conda-forge weasyprint'
  7. run: 'export OPENAI_API_KEY={Your API Key here}'
  8. run: 'uvicorn main:app --reload'

Please update me if that worked for you!

from gpt-researcher.

rotemweiss57 avatar rotemweiss57 commented on July 26, 2024 1

Thank you for the logs! This is a known issue, we are working on it. In the meanwhile, please try to install python 3.11 using homebrew. after that, redo the process using pip3 and also run 'pip3 install weasyprint'. please update us if it solved it!

hope it helps

from gpt-researcher.

assafelovic avatar assafelovic commented on July 26, 2024

@goggledefogger can you update if the solution works for you?

from gpt-researcher.

ifuchs avatar ifuchs commented on July 26, 2024

pango problem reported above persists. Haven't gotten this to work.

from gpt-researcher.

isichan0501 avatar isichan0501 commented on July 26, 2024

Please follow these instructions:

  1. create a new conda env: 'conda create -n py311 python=3.11'
  2. run: 'conda activate py311'
  3. clone the repo: git clone https://github.com/assafelovic/gpt-researcher.git
  4. go to directory: cd gpt-researcher
  5. run: 'pip install -r requirements.txt'
  6. run: 'conda install -c conda-forge weasyprint'
  7. run: 'export OPENAI_API_KEY={Your API Key here}'
  8. run: 'uvicorn main:app --reload'

Please update me if that worked for you!

Thanks. I ran this on centos7 (amazonlinux2) and it ran fine, still can't run it on windows.

from gpt-researcher.

nathanael avatar nathanael commented on July 26, 2024

Worked like a charm for me. Same exact problem.

Please follow these instructions:

  1. create a new conda env: 'conda create -n py311 python=3.11'
  2. run: 'conda activate py311'
  3. clone the repo: git clone https://github.com/assafelovic/gpt-researcher.git
  4. go to directory: cd gpt-researcher
  5. run: 'pip install -r requirements.txt'
  6. run: 'conda install -c conda-forge weasyprint'
  7. run: 'export OPENAI_API_KEY={Your API Key here}'
  8. run: 'uvicorn main:app --reload'

Please update me if that worked for you!

from gpt-researcher.

ifuchs avatar ifuchs commented on July 26, 2024

Followed the "recipe" above and got this error:

OSError: cannot load library 'gobject-2.0-0': dlopen(gobject-2.0-0, 0x0002): tried: 'gobject-2.0-0' (no such file), '/System/Volumes/Preboot/Cryptexes/OSgobject-2.0-0' (no such file), '/opt/anaconda3/envs/py311/bin/../lib/gobject-2.0-0' (no such file), '/usr/lib/gobject-2.0-0' (no such file, not in dyld cache), 'gobject-2.0-0' (no such file), '/usr/local/lib/gobject-2.0-0' (no such file), '/usr/lib/gobject-2.0-0' (no such file, not in dyld cache). Additionally, ctypes.util.find_library() did not manage to locate a library called 'gobject-2.0-0'

from gpt-researcher.

izxle avatar izxle commented on July 26, 2024

Please follow these instructions:

  1. create a new conda env: 'conda create -n py311 python=3.11'
  2. run: 'conda activate py311'
  3. clone the repo: git clone https://github.com/assafelovic/gpt-researcher.git
  4. go to directory: cd gpt-researcher
  5. run: 'pip install -r requirements.txt'
  6. run: 'conda install -c conda-forge weasyprint'
  7. run: 'export OPENAI_API_KEY={Your API Key here}'
  8. run: 'uvicorn main:app --reload'

Please update me if that worked for you!

This resolved the pongo problem, but I now get another error:

[...]
  File ".../miniconda3/envs/py311/lib/python3.11/subprocess.py", line 1950, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome'

With docker there is no problem.

from gpt-researcher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.