Giter VIP home page Giter VIP logo

Comments (3)

rjp23 avatar rjp23 commented on July 19, 2024 1

Those are the entire error message:

(awesome-panel) Robs-MBP:awesome-panel rob$ conda install --file requirements_local.txt
CondaValueError: could not parse '-r ./requirements.txt' in: requirements_local.txt

It seems there might be multiple problems with getting this working on a mac.

It installs an old version of nodejs which doesn't work. There's some issue with nodejs/conda on macs (as per https://stackoverflow.com/questions/62325068/cannot-install-latest-nodejs-using-conda-on-mac). I used the mamba method there to force a new version.

conda also fails to install pytorch as it doesn't find a compatible version. Doing that via pip install seems to install it but the app.py fails to run

2021-12-19 17:38:25,325 Error running application handler <bokeh.application.handlers.script.ScriptHandler object at 0x7ffce021e610>: module 'torch.jit' has no attribute 'unused'
File 'inception.py', line 195, in Inception3:
@torch.jit.unused Traceback (most recent call last):
  File "/Users/rob/miniconda3/envs/awesome-panel/lib/python3.7/site-packages/bokeh/application/handlers/code_runner.py", line 231, in run
    exec(self._code, module.__dict__)
  File "/Users/rob/Work/awesome-panel/app.py", line 20, in <module>
    from application.pages import APP_ROUTES  # pylint: disable=unused-import
  File "/Users/rob/Work/awesome-panel/application/pages/__init__.py", line 29, in <module>
    from application.pages.detr import detr
  File "/Users/rob/Work/awesome-panel/application/pages/detr/detr.py", line 35, in <module>
    from application.pages.detr.model import (
  File "/Users/rob/Work/awesome-panel/application/pages/detr/model.py", line 7, in <module>
    import torchvision.transforms as T
  File "/Users/rob/miniconda3/envs/awesome-panel/lib/python3.7/site-packages/torchvision/__init__.py", line 6, in <module>
    from torchvision import models
  File "/Users/rob/miniconda3/envs/awesome-panel/lib/python3.7/site-packages/torchvision/models/__init__.py", line 5, in <module>
    from .inception import *
  File "/Users/rob/miniconda3/envs/awesome-panel/lib/python3.7/site-packages/torchvision/models/inception.py", line 63, in <module>
    class Inception3(nn.Module):
  File "/Users/rob/miniconda3/envs/awesome-panel/lib/python3.7/site-packages/torchvision/models/inception.py", line 195, in Inception3
    @torch.jit.unused
AttributeError: module 'torch.jit' has no attribute 'unused'

Sorry that's a list of problems for you! I'll likely just try this on our Linux HPC instead of trying on a mac.

from awesome-panel.

MarcSkovMadsen avatar MarcSkovMadsen commented on July 19, 2024

What error messages do you see?

from awesome-panel.

rjp23 avatar rjp23 commented on July 19, 2024

I finally tried this on our linux HPC and I get the same error

conda install --file requirements_local.txt
CondaValueError: could not parse '-r ./requirements.txt' in: requirements_local.txt

Is there something wrong with the syntax in your requirements files?

from awesome-panel.

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.